0.0.4 • Published 6 years ago
switchbot v0.0.4
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