The only fix that worked for me was buying an ESP32 board, installing the ESPHome addon and forwarding the data to HA (a process that was actually easy enough, and cheap)…BLE support in HA itself seems completely broken.
I have the same issue and found this thread by googling it.
I’m on 0.101.3 and after awhile the sensor stops updating. If I search for nearby Bluetooth devices on my Pi, both of my sensors are immediately found, so it’s not a range problem.
Let’s hope someone finds a solution for this that doesn’t require buying additional hardware or using additional software.
Hi everybody. Great !
It’s OK for me also.
Thank you very much @JamieMe
System :
arch: armv7
channel: stable
hassos: 3.12
homeassistant: 0.106.5
hostname: hassio
logging: info
machine: raspberrypi3
supervisor: 209
supported_arch:
Is is a raspberry pi 4 (4gb) with the official buster image. Homeassistant is running with the official pi4 docker image.
CPU load… Puh how can I check this. htop told me “Load average: 0.33 0.37 0.35” and in the moment I checked it the system used 237mb of my 4GB ram. At the moment I run deconz in another docker container.
Thank you. I thought maybe you are collecting load stats. I’m curious about the effect of the period option on the load. Never mind, I’ll do my own experiment.
Here I published all the information about the test system. Today I switched the period from one minute to 10 - tomorrow / the day after tomorrow I will compare if there is a noticeable difference.
Had terrible trouble with mitemp_bt on rp3, lots of broken pipes.
After switching to running HA on a dell machine (that itself is running Ubuntu server), i decided to give mitemp another crack.
Got myself a Bluetooth adapter compatible with linux and a usb extension cable. Put mitemp back into my config yml and after 3 days, no broken pipes. Success!!
Adapter and xiaomi sensor are roughly 4 metres apart
Why I get this error: Invalid config for [sensor.mitemp_bt]: [rounding] is an invalid option for [sensor.mitemp_bt]. Check: sensor.mitemp_bt->rounding. (See ?, line ?).