I just picked up a couple of ESP32 boards and Mi Thermometers to monitor some temperatures in my brewing system. I have been able to go through the process of programming the ESP32 board and used the settings from the ESPHome for the devices at this page.
I’ve actually tried all three permutations, but the same problem persists. I get the sensors programmed with the right info, but when the ESP32 board is looking for devices, it sees them, but will not use them. I’ve checked and double checked the MAC address. I’ve tried the pvvx and the ATC1441 custom firmware on 2 different thermometers. I have no trouble connecting to either of the devices using the Telink flasher. The devices are using hardware version 1.6 (08/2021). The lines below are pulled out of the ESP Home logs showing the devices being identified, but there are no lines afterwards showing it picked them up. The entities in HA show “Unknown” for the values.
I’m pretty sure the issue is within ESPHome based on the troubleshooting I’ve done, but not sure what to do next. Anyone have any thoughts?
[11:07:31][D][esp32_ble_tracker:719]: Found device A4:C1:38:32:11:7B RSSI=-82
[11:07:31][D][esp32_ble_tracker:740]: Address Type: PUBLIC
[11:07:31][D][esp32_ble_tracker:742]: Name: 'ATC_32117B'
[11:08:31][D][esp32_ble_tracker:719]: Found device A4:C1:38:72:E4:D1 RSSI=-89
[11:08:31][D][esp32_ble_tracker:740]: Address Type: PUBLIC
[11:08:31][D][esp32_ble_tracker:742]: Name: 'LYWSD03MMC'
I had actually placed the thermometer into a freezer set to 40deg. I was still reachable, but did not connect. I would expect the device to at least establish a connection and then afterwards if the temp doesn’t change, not to send data. My YAML for the device is here.
It was solved after getting a more recent firmware version from PVVX on his github page. After installing that and following the instructions I was able to quickly get 2 different thermometers to connect right away. That was back at the beginning of November. Sorry if that isn’t much help.