homebridge-http-mhz
v1.0.6
Published
A very simple Homebridge plugin for controlling a MHZ transmitter over HTTP.
Downloads
19
Maintainers
Readme
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"
}
],
// ...
}