Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 390 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 390 Bytes

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", "[email protected]", "Passw0rd!");
    await tapo.turnOn();
    await tapo.turnOff();
};

main();