switchbot
v0.0.4
Published
switchbot controller (unofficeal) requires gatttool
Downloads
28
Readme
SwitchBot
SwitchBot api for Node.js (unofficial)
Usabe
const Switchbot = require('switchbot');
const switchbot = Switchbot('bluetooth address');
switchbot.turnOn();
switchbot.turnOff();
switchbot.press();
Depends
gatttool is required
License
Apache-2.0