I just added a couple Mi Flora plant sensors to Home Assistant - was VERY easy with the native bluetooth support added in the latest release! Well done, team!
The sensors do not include battery status though - I need to add the sensors to the Mi Flora app to se battery levelā¦
Any clue why that is? I have updated the firmware in the sensors.
Iām thinking of adding the Mi Flora to my collection of sensors now that they are natively supported in HA Bluetooth. Since you mentioned firmware updates, are you able to do that without a Xiaomi hub?
I used to use the bluetooth on the Pi the My HomeAssistant was running on, but have since moved my HomeAssistant to a more powerful machine, and moved my Bluetooth to an ESPHome Tracker, no Xiaomi Hub : ) Iām looking to explore the new Native Bluetooth in HomeAssitant.
Yes, I can do that from the supporting iOS app. And the sensors can be accessed from home assistant and the app at the same time (no need to remove/add them).
Itās really easy, actually: remove the plastic strip at the battery, wait a couple seconds, and the sensor shows up in home assistant automatically, and you just follow the UI. Then add the sensor to the app using the instructions provided, go to hardware, and search for firmware updatesā¦
I have manually added āplantā sensors in configuration.yaml based on the mi sensors and the data in the app, e.g. (the sensors referenced in the definition are the mi flora sensors, this one is a palm in our living room):
I got my sensor today, powered it up and it showed up in HA but with only two entities, illuminance and signal_strength. Do the others have to be manually added or do I need to wait a while for the BLE advertisements?
Added: Firmware was v3.2.4 and I updated it to 3.3.5 and now the other entities show up. Not sure if it was the elapsed time or the firmware update that did it!
I recently added my Miflora sensors via the (new) Xiaomi BLE integration. It used for work totally fine and I could see all data including the Battery status. But since recently the battery status on all my mifloras shows as unavailable. However all the other data is transmitted just fine.
I get this message in the battery entity
This entity is no longer being provided by the xiaomi_ble integration. If the entity is no longer in use, delete it in settings.
Not sure if this issue came with the 2023.5 update but it used to work before that.
There has been no update on any of the Sensors (most of them are on 3.3.5)
I just got my first MiFlora and noticed it isnāt showing battery status. Looks like this is potentially a current/new issue with the HA integration? Just wanting to confirm that I donāt need to update firmware on the device. I explicitly DIDNāT do so as I didnāt want a new firmware to cause any unexpected issues with the HA integration.
Ok good to know. However it has been 12h after my latest restart of HA and still no battery data. However there is 1 single sensor that does broadcast the battery. I have no clue why that one works and the other ones donāt. Same firmware on all of them.
Do you have āactiveā set to ātrueā in the bluetooth_proxy section of your config (as well as in the scan_parameters section) ? I use an esp32 proxy and have consistent battery readings from a dozen mi floras with the config below:
My new/additional sensors arrived and they all had the battery show up immediately after putting in the battery.
Iāve got a number of BT Proxies in addition to a BT dongle on my HA server. Admittedly, it just happens that all of my Mi Floras are directly above my HA server, so I assume theyāre being picked up by it and not proxies.
So do you have ESPHome on them or are you still running the Shelly firmware?