homebridge-http-mhz

1.0.6 • Public • Published

Homebridge HTTP MHZ

A very simple Homebridge plugin for controlling a MHZ transmitter over HTTP. This plugin is statefull, it keeps the status of the switch locally. No server side checking will be done to get states from the transmitter. Only setters will use HTTP requests.

IMPORTANT

  • Requires Node.js >= 7.6.0
  • If you're seeing errors then please check your node version before creating a new issue: node -v.

Installation

  • Install homebridge: sudo npm install -g homebridge
  • Install this plugin: sudo npm install -g homebridge-http-mhz
  • Update your configuration file. See config sample below.

Config sample

{
    // ...
    "accessories": [
        {
            // Required
            "accessory": "HttpMhz",
            "name": "Toaster",
            "setName": "Bestbuy",
            "unitName": "A",
            "onUrl": "http://192.168.1.101/set/1005",
            "offUrl": "http://192.168.1.101/set/1008"
        }
    ],
    // ...
}

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i homebridge-http-mhz

    Weekly Downloads

    4

    Version

    1.0.6

    License

    ISC

    Last publish

    Collaborators

    • jefflanters