/Switchbot

Switchbot node api(unofficial)

Primary LanguageJavaScript

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