Open DavesCodeMusings opened 2 months ago
Battery level is still available as a GATT characteristic, but as a beacon device, it's also in the advertisement's Manufacturer Data. Need to make that data available to Home Assistant via ESPHome.
This link can help: https://community.home-assistant.io/t/esp32-ble-tracker-how-to-log-look-at-bluetooth-advertising-data/693925/2
Better yet, send battery level in the BLE advertisement using the BLEHome format that Home Assistant already understands.
Battery level is still available as a GATT characteristic, but as a beacon device, it's also in the advertisement's Manufacturer Data. Need to make that data available to Home Assistant via ESPHome.
This link can help: https://community.home-assistant.io/t/esp32-ble-tracker-how-to-log-look-at-bluetooth-advertising-data/693925/2