mirror of
https://github.com/esphome/esphome.git
synced 2026-09-23 21:14:03 +00:00
The OralB toothbrushes expose some of their information in their bluetooth advertisement data.
This data lets us see the state (idle, running), brush mode (daily clean, tongue, whitening, etc.), pressure and some other bits of data.
This component lets you expose that data with config as follows:
```
esp32_ble_tracker:
sensor:
- platform: oralb_brush
mac_address: 00:00:00:00:00:00
state:
name: "Toothbrush State"
```
Checkout https://github.com/zewelor/bt-mqtt-gateway/blob/master/workers/toothbrush_homeassistant.py and https://esphome.io/components/esp32_ble_tracker.html for more information.