ippower9258

1.0.1 • Public • Published

IPPower9258

Library to control IPPower9258 devices

Example

var IPPower9258 = require('ippower9258');
var ipPower = new IPPower9258()
ipPower.config.ipAddress = '192.168.0.101';

/* power cycle outlet 0 with off duration of 5s */
ipPower.powerCycle(0,5)

/* turn on outlet 1 */
ipPower.state[1] = true

/* turn off outlet 3 */
ipPower.state[3]

License

This is free software; you can redistribute and/or modify it under the terms of the MIT Licence. See the LICENSE file for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i ippower9258

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • ryandev