Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including homebridge-ippower with all npm packages installed. Try it out:

var homebridgeIppower = require("homebridge-ippower")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

homebridge-ippower v0.1.0

Homebridge platform plugin for the IP Power 9258 4 Outlet Controller

homebridge-ippower

Homebridge platform plugin for the IP Power 9258 4 Outlet Controller.

Installation

  1. Install homebridge: npm install -g homebridge
  2. Install this plugin: npm install -g homebridge-ippower
  3. Add accessories to your config.json for each port that should be made available to homebridge.

Configuration

Sample:

    "accessories": [
        {
            "accessory": "IPPower",
            "name" : "Workbench Light",
            "ipaddress": "10.0.1.120",
            "username": "admin",
            "password": "12345678",
            "outlet": 1
        },
        {
            "accessory": "IPPower",
            "name" : "Workbench Radio",
            "ipaddress": "10.0.1.120",
            "username": "admin",
            "password": "12345678",
            "outlet": 2
        }
    ]

Fields

  • accessory: must be IPPower
  • name: name of the accessory
  • ipaddress: IP of the IP Power device on your network
  • username: username for accessing web UI
  • password: password used for accessing web UI
  • outlet: Number (1-4) corresponding to the outlet on the back of the device

Device Support

This plugin has only been tested against a very old version of the IP Power firmware (circa 2007). It's likely newer firmware versions are incompatible. PRs would be very welcome to improve support for modern versions.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free