Re:Lighting controlled by a OralB Bluetooth toothbrush
by imduffy15 on Sunday May 03, 2020 @10:21AM
(#23059142)
Can help fill in some of the blanks for you. The toothbrush has bluetooth. Its bluetooth advertisement contains information about its operating state (running, idle, etc.), mode (brush, daily clean, etc.), pressure and some other things.
The ESP32 chip scans bluetooth, detectes these advertisements, parses them and extras the data. It then sends it over to home-assistant.io which can use the data to trigger actions on any other connected device.
[ Parent
| on HN ]
Re:Lighting controlled by a OralB Bluetooth toothbrush
by imduffy15 on Sunday May 03, 2020 @10:27AM
(#23059183)
Code can be seen on this commit https://github.com/imduffy15/esphome/commit/90c3cb62b37e9ce3... there are likely bugs :D
Re:Lighting controlled by a OralB Bluetooth toothbrush
by RyJones on Sunday May 03, 2020 @12:30PM
(#23060028)
We had some great demos of AllJoyn[0] at CES doing stuff like this. It would have been great, had it lived. As I recall, Philips had a smart toothbrush that gamified brushing for kids. We had it integrated with Xbox and a home grown smart mirror.