Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

homebridge-noolite-http-outlet

jenrus21ISC1.0.3

A homebridge plugin to control noolite outlets

homebridge-plugin, homekit, noolite, homebridge-http, homebridge-outlet

readme

homebridge-noolite-http-outlet

homebridge-noolite-http-outlet is a plugin for Homebridge.

Control your noolite-http-based outlet via Homebridge!

Installation

If you are new to Homebridge, please first read the Homebridge documentation. If you are running on a Raspberry, you will find a tutorial in the homebridge-punt Wiki.

Install homebridge:

sudo npm install -g homebridge

Install homebridge-noolite-http-outlet:

sudo npm install -g homebridge-noolite-http-outlet

Configuration

Add the accessory in config.json in your home directory inside .homebridge.

   {
      "accessory": "NooLite-HTTP-Outlet",
          "name": "Розетка",
          "on_url": "http://<your_ip>/api.htm?ch=<OutletChNumber>&cmd=2",
          "off_url": "http://<your_ip>/api.htm?ch=<OutletChNumber>&cmd=0",
          "status_url": "http://<your_ip>/api.htm?ch=<OutletChNumber>",
          "http_method": "PUT"
    }

You can omit http_method, it defaults to POST.

Note

OutletInUse is not supported by noolite power units so it is always 0

Feel free to contribute to make this a better plugin!