Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 304 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 304 Bytes

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