homebridge-mediabox
v0.3.1
Published
Mediabox
Downloads
8
Readme
Homebridge-mediabox
Homebridge plugin to switch on and off Mediabox from NC+.
Warning! Its impossible to read current Mediabox state, its unknown is it on or off, so this plugins cannot be synchronized with current Mediabox state (e.g. Mediabox can be off, and switch can be on, and when you press the switch, its state change to off, but Mediabox turns on).
Instalation
- Install required package:
npm install -g homebridge-mediabox
. - Find IP of your Mediabox, e.g. 10.0.0.2.
- Open webpage http://<MEDIABOX_IP>/upnpdev/, write down UUID.
- Update your configuration file, including IP and UUID.
Configuration
"accessories": [
{
"accessory":"Mediabox",
"name":"Mediabox",
"ip":"MEDIABOX_IP",
"port":8080,
"uuid":"MEDIABOX_UUID"
}
]
Settings
accessory
must be "Mediabox" (required)name
name of the accessory (optional, default to"Mediabox"
)ip
Mediabox IP address (required)port
port of Mediabox (optional, default to8080
)uuid
mediabox uuid (required)
Minimal configuration
Minimal configuration consists only 3 lines:
"accessories": [
{
"accessory":"Mediabox",
"ip":"MEDIABOX_IP",
"uuid":"MEDIABOX_UUID"
}
]