1.1.1 • Published 2 years ago
tapojs v1.1.1
TapoJS
A NodeJS library for interfacing with Tapo smart products. Only on/off is supported as of now.
Installation
npm install tapojs
Usage
const Tapo = require('tapojs');
async function main(){
const tapo = await new Tapo().connect("192.168.X.XXX", "mail@example.com", "Passw0rd!");
await tapo.turnOn();
await tapo.turnOff();
};
main();