This is a plugin for homebridge. It monitors if configured network devices are online by pinging them in intervalls.
- Install homebridge (if not already installed) using: npm install -g homebridge
- Install this plugin using: npm install -g homebridge-devices
- Update your configuration file. See below for a sample.
"accessories": [
{
"accessory" : "Devices",
"name" : "Devices",
"devices" : [
{ "name" : "Schlafzimmer FireTV", "target" : "10.0.0.50" },
{ "name" : "Playstation", "target" : "10.0.0.35" },
{ "name" : "Wohnzimmer TV", "target" : "10.0.0.21" }
],
"threshold" : 30
}
],
target
may be either a hostname or an IP address
- When started homebridge-devices will ping the IP address associated with each device defined in config.json every
pingInterval
seconds. - When a Homekit enabled app looks up the state of a device, the online status for the device is returned