Mi Flora plant sensor

Hi guys,
I’m trying to set up irrigation with MI flora sensor and water drop pump that is connected to Xiaomi smart plug. I had to install clean Hassio for it to see the mi flora sensor and receive the data.
Could you please point me to the right direction, and example of code? I assume I need to create automation that looks at the moisture level every hour or so, and if its bellow a specific target turn on the plug for 20-30 seconds and then turn off again. Someone already did something similar, would really appreciate the help.

How do I get such a nice card in the overview?
I just added my Flora sensor to hass.io. I can see the sensor values in the states but there is nothing showing up in the overview.

First, you need to add the group to “overview”:

https://monosnap.com/direct/5cBAYuFL8I213zggzlSfQy7Ux7Cosv

Then, you need to add all sensor values you need to the card:

https://monosnap.com/direct/ZuKks7xDIl52ymKtiNINLyhGWOGaEz

Lastly, you can customize the icon:

https://monosnap.com/direct/2mPxRlqW79QVgwY5u3lzZASnnFb8Jd

Good luck!

1 Like

Hi Marce, you say you had to enable the bluetooth addon. Can I ask you how did you do it exaxtly? I am running HassOS on Odroid XU4, when scanning for BLE devices using bluetoothctl I can see the miflora device, I have the sensor configured in HA but it says the values cannot be read. Anyone else can help? Thanks, Pavel

Sorry @Jumperr. I can’t help, since it seems the addon no longer exists on current version, and I’m not using Mi Flora anymore. Hope you find a workaround!