switchbot

0.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i switchbot

Weekly Downloads

6

Version

0.0.4

License

Apache-2.0

Unpacked Size

2.8 kB

Total Files

5

Last publish

Collaborators

  • ukiuni