All my BLE sensors from Xiaomi have been like that for ages. Running Hassio on RPi3B+ since the early 0.50’s.
I already accepted it, it might take 3-5 minutes for the BLE temperature/humidity sensors to update, MiFlora might take 10 minutes or so. Replacing the battery helped a little bit. Guessing it is an issue with the crappy BLE onboard.
Yeah… Mine was also flawless until the 0.97 update. Usually it will run for a few hours. But one time it actually stoped polling after just one update. @gurbina93. Problem is not that it takes time to update sensors… The miflora appears to stop polling. Probably the “Polling error [Errno 32] Broken pipe” makes the module stop.
Unfortunately i do not know how to fix it. My python skills are limited and Hassio/HA architecture knowledge I know even less.
If i could find the module I could at least have a look at it.
I just bought one of these and it doesn’t update for me either. I got the first set of values when I first set it up but now I just get unknown. Even when I restart. I’m on 0.97.2
I have the same problem.
Installed 3 xiaomi humidity and temperature sensors.
After update to V.097.2 have the Polling error [Errno 32] Broken pipe and all of them doesn’t report any value.
Downgrade to 0.96.5 with same results.
Downgrade to 0.96.0:
Disappear the error 32 but still appear a Polling error message and after some time appear this message:
Polling error Could not read data from Mi Temp sensor 4C:65:A8:XX:XX:XX
6:43 components/mitemp_bt/sensor.py (WARNING) - message first occured at 6:40 and shows up 4 times
Polling error Could not read data from Mi Temp sensor 4C:65:A8:XX:XX:XX
6:43 components/mitemp_bt/sensor.py (WARNING) - message first occured at 6:40 and shows up 5 times
But I pressed back connection button of xiaomi sensor to pair it again with “nothing” and begin to send values again.
After this upgraded version to 0.97.2 again and the “paired with nothing” sensor is still sending values.
There are any way to link BT sensors to HA like we do with phone app?
I think the problem is HA is just listening for this sensors.
The ESP way is cheaper, simpler and probably more reliable. Use ESP for different things like garage door opener. ESPhome is one of the reasons i went with home assistant, as I used them with other firmwares an wanted to test a simple way to program them.
How much power does it need, will any shitty ol’ microUSB charger of at least 500mA work?
Basically any old will do. Camera add-on requires a bit more horsepower (and more power), but I have a few on whatever USB wall-warts I had sitting around with no issue.
Is flashing always done by USB or WiFi, so no need for soldering or other such butterfinger-unfriendly methods?
Once you have ESPHome flashed you can update OTA.
Bonus: With ESPHome, MiFlora is as simple as writing a yaml file with:
Can I then use ESPHome to get the outputs from them, as well as a Mi Flora via Bluetooth? Or how about the HAT motion sensor and 2 completely different BT devices, like a Mi Flora and a Mijia temperature+humidity sensor?
You betcha. You can add multiple sensors, can build template sensors out of data those sensors provide, etc. There’s a whole world out there! I never caught on to ESPHome until recently but now I’m sold. Feel free to DM me.
I picked up the m5stickC yesterday hoping that it would fix my miflora and Bluetooth cracking issues.
I found that the range was very limited and it needed to be in the same room as the miflora devices. That’s OK because I can just get one per room. It might be a bit limiting for ble tracking, though.
Do you know if there’s any way to disable the screen? I’ve tried Google but there doesn’t seem to be any esphome-way of turning off the back light. Unfortunately at night it seems to shine with the ferociousness of a collapsed star.
Duct tape over the screen? As for the range, have you tried to see how it handles walls? I’d need one that can just cross a brick wall (so ~1m distance, but through a wall).