Xiaomi Mi Plants Monitor Flower

guide
Tags: #<Tag:0x00007f203e54fb90>

#163

Try …
sudo apt-get install pi-bluetooth


#164

Installed.

But if i try to continue with sudo hciconfig hci0 up i still receive error: “Can’t get device info: No such device”.


#165

Check your file sudo nano /boot/config.txt for an entry like

dtoverlay=pi3-disable-bt
and make sure this line is commented out by adding a # at the beginning of the line. Its usually at the bottom of the file.


#166

I found this entry commented:

Uncomment this to enable the lirc-rpi module
dtoverlay=lirc-rpi


#167

OK, that about exhausted my knowledge of BT on the pi, I would probably reinstall at this point :frowning:

And mine is no better the plant monitors all return 0 :frowning:


#168

My git’s read me specifies how I did to get it working. If you’re reinstalling it might be worth a look:


#169

Thanks, I’ll give it a look :slight_smile:


#170

Hello,

To use the xiaomi plant with HA, is needed a bluetooth connection? There is no other option?

thanks


#171

You do need a BLE connection, there is no other option as far as I know as they are BLE devices.


#172

I’ll give it a look to. TY


#173

ok. I’ll try to reinstall it. TY for your support :slight_smile:


#174

Ok. Now it seems work.

Below what I’ve done as root:

apt-get update && apt-get -y upgrade
apt-get -y install build-essential checkinstall cython3 git htop libgcrypt11-dev libgnutls28-dev libudev-dev libyaml-dev python3-dev python3-pip python3-setuptools python3-sphinx vim python3-venv nmap
apt-get install --upgrade pi-bluetooth
apt-get install --upgrade bluez
apt-get install --upgrade bluez-firmware
apt-get install bluetooth bluez blueman
reboot

sudo bluetoothctl

in the [bluetooth]
agent on
default-agent


#175

For those of you wanting to use this sensor under Windows look at the following thread Running Home Assistant on windows


#176

I just received my flower sensor! Is there an updated working step-by-step guide that anyone can share or link to? Is the first post in the thread working?

//F


#177

What platform are you running on? Linux?


#178

Ohh, forgot to write that… i’m running The latest version of Hassbian on a Raspberry Pi


#179

ThIs is all you need: https://home-assistant.io/components/sensor.miflora/


#180

From yesterda, without any action, mi flora started working again!


#181

Mine to, very strange :smiley: but welcome back, I have no clue why they suddenly started working again.


#182

It’s magically magic! :joy: