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 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