A NodeJS library for interfacing with Tapo smart products. Only on/off is supported as of now.
npm install tapojs
const Tapo = require('tapojs');
async function main(){
const tapo = await new Tapo().connect("192.168.X.XXX", "[email protected]", "Passw0rd!");
await tapo.turnOn();
await tapo.turnOff();
};
main();