I have several Xiaomi Mijia Devices deployed. Originally using a MQTT Bridge via ESPHome. Now I’m trying to migrate to ESPHome Bluetooth Proxy, but it drives me crazy:
My general idea was to remove the devices, deploy the ESPhome device and then add/redetect them. But this does not seem to work. After I removed any Entity/Bluetooth Device it is no longer rediscovered.
I already wandered through several file locations to scan for leftovers and eventually also deleted the bluetooth.remote_scanners file as well. But no success.
Anybody a hint what’s missing so that the Bluetooth devices and their entities are reappearing in HASS again? I’m feeling quite dumb and frustrated, because the logic behind this behaviour is not obvious to me.
#3: Enabling bluetooth support for Docker-hosted Homeassistant
Not sure if necessary, but eventually I also added direct native Bluetooth support in my Docker container: Bluetooth - Home Assistant
The reason some of the Mijia sensors out of reach appeared though was, because I had enabled the BTHome v1 protocol of the PVVX firmware in constrast to the ATC / PVVX Custom protocols. The BTHome v1 protocol is supported natively by Home Assistant Bluetooth Setup and hence also detected remotely.