Show battery status for Xiaomi BLE plant sensors

I’m having the same issue, 3 out of 6 devices provide battery status, the 3 others don’t.

Battery status of the plant sensor is not being send as passive data (opposite to the other data), so both active or passive scanning is not being used to get the battery data. Instead, xiaomi-ble gets the battery data by connecting to the device, and asks for the battery state (also known as reading characteristics). I think it does that once a day, not sure.

As we now have active connections, why not retrieve also the firmware version ?

2 Likes