@DendelX, yes, I’m able to connect esp32 w/o ble tracker to the bluecave, its stable for a long time.
issue. Btw: I’ve searched online and saw it happens w/other ASUS and Netgear models.
There should be a configuration switch, perhaps in the advance settings… checking
I have tried all settings that I can, but not all that I could because my home network is full of domotic devices and I can’t take some risks. If you found something would be fantastic, remember me please
I just received the circular Mijia temp sensor today and am running Hassio on a Raspberry Pi 3. I too had added the sensor settings in my configuration.yaml file and kept seeing “unavaliable” for the values. Also in the hassio logs it says “Polling Error.” I finally managed to get to the bottom of it after going around in circles for an hour!
I’m running Hassio 0.100.3
What you need to do is:
I conntected to the mijia via bluetooth from my Android phone and noted down the MAC address via the previously connected devices menu
Add the sensor to the configuration.yaml with the mac address from step 1
IMPORTANT Reboot your raspberry pi via Hassio > System > Reboot
The sensor should update with the correct temperature
The problem seems to be that when you “Restart Hass” via the configurator it doesn’t actually do anything. Looks like the reboot of the host gets it going.
On ESP32 NodeMCU using ESPHome, is there anyway to have BLE turned off (really turned off) and only turned on for sensor reading and then turned off again?
I solved executing this command:
hciconfig hci0 down
hciconfig hci0 up
The problem is the raspbian BT, when HA dont update de themp if execute this:
sudo hcitool lescan
return this error:
Disable scan failed: Input/output error
Thanks for the info marc, the key was to restart the raspberry and not just the home assistant container. After the full HW restart it started working (again).
So I got it worked last night using the HACS BLE integration rather than the built in hassio one.
Range is a huge issue. When the device was sitting literally beside the pi, the 60s interval was fine
When it was about 2m away this changed to intermittently updating every 2-4min
When it was about 10m away but one wall apart, 9min updates
Its now 8m apart but 2 walls away and I’m pretty sure it’s lost range because eTG last update was 19min ago…
If I could get this connected to the Miji lamp gateway which I bought ages ago then this would be fine, the range on it is way better