5 ms·
Can help fill in some of the blanks for you. The toothbrush has bluetooth. Its bluetooth advertisement contains information about its operating state (running,
by imduffy15 6y ago
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.
- imduffy15 6y agoCode can be seen on this commit https://github.com/imduffy15/esphome/commit/90c3cb62b37e9ce308ed0c9d510f54ff95c2dfec https://github.com/imduffy15/esphome/commit/90c3cb62b37e9ce3... there are likely bugs :D
- RyJones 6y agoWe 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. [0]: https://github.com/alljoyn https://github.com/alljoyn