- Run
setup.bat
windows orsetup.sh
linux to scan your network for lights. - fill in the blanks in
/src/config.js.example
and rename it toconfig.js
. 2a. the programonoff.js
can help you fill in the light index section of the config. Just run `onoff [index] and it will blink the specified light until stopped. I'm working on a better setup utility but ssshhh its a secret - to invite the bot to your server, click here and fill in your client ID. I've already set the permissions integer for you.
- Whenever you want to run the bot, just run
node bot.js
orrun.bat/sh
.
special thanks to @kolllor33 and @jangxx for the MagicHome Node libraries!