SwitchBot api for Node.js (unofficial)
const Switchbot = require('switchbot');
const switchbot = Switchbot('bluetooth address');
switchbot.turnOn();
switchbot.turnOff();
switchbot.press();
gatttool is required
Apache-2.0
Switchbot node api(unofficial)
SwitchBot api for Node.js (unofficial)
const Switchbot = require('switchbot');
const switchbot = Switchbot('bluetooth address');
switchbot.turnOn();
switchbot.turnOff();
switchbot.press();
gatttool is required
Apache-2.0
Switchbot node api(unofficial)