node-tp-link-powerline
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

TP-Link Powerline

This is an API and can be used to interact with TP-Link powerline devices.

TP-Link PLC

import { TpPlc } from 'node-tp-link-powerline';

const tpPlc = new TpPlc();

tpPlc.on('found', (device) => {
    try {
        device.ping();

        // Ping Resolved
    } catch (error) {
        // Ping Rejected
    }
});

tpPlc.getDevices();

Readme

Keywords

none

Package Sidebar

Install

npm i node-tp-link-powerline

Weekly Downloads

0

Version

1.0.0

License

none

Unpacked Size

13.2 kB

Total Files

29

Last publish

Collaborators

  • epickris