This a module for the MagicMirror². It tries to discover a OralB Toothbrush and starts a timer while its connected.
- Enter module-directory:
cd ~/MagicMirror/modules - Clone repository :
git clone https://github.com/SvenSommer/MMM-OralB - Enter new directory:
cd ~/MagicMirror/modules/MMM-OralB - Install dependencies:
sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev - Install noble module:
npm install noble - Rebuild package to avoid version conflict:
sudo npm rebuild --runtime=electron --target=1.4.6 --disturl=https://atom.io/download/atom-shell --abi=50
Add module information to your ~/MagicMirror/config/config.js.
Here is an example of an entry in config.js:
{
module: 'MMM-OralB',
position: 'bottom_left',
},
- Michael Teeuw for creating the genius MagicMirror² project that made this module possible.