homebridge-yet-another-ping
v0.0.5
Published
Yet Another Ping is a HomeBridge plugin to detect device power state based on period of ping reponses
Downloads
25
Maintainers
Readme
Yet Another Ping
Yet Another Ping is a HomeBridge plugin to detect accessory power state based on period of ping reponses
Installation
- Install Homebridge and Homebridge Config UI X, follow the instruction https://github.com/oznu/homebridge-config-ui-x
- Install homebridge-yet-another-ping:
sudo npm install -g homebridge-yet-another-ping
Example
"platforms": [{
"accessories": [
{
"name": "Switch",
"ip": "192.168.1.1",
"type": "Smoke"
},
{
"name": "LGTV",
"ip": "192.168.1.2"
},
{
"name": "MBP",
"ip": "192.168.1.3",
"type": "Contact"
},
{
"name": "Shield",
"ip": "192.168.1.4",
"alive": 1,
"every": 1,
"type": "Lock"
}
],
"platform": "HomebridgeYAP"
}]
Configuration
- platform (mandatory): the name of this plugin.
- name: the name of the accessory.
- ip (mandatory): the IP address of the accessory.
- type: Type of the accessory: "Smoke", "Contact", "Lock", and "Occupancy" (default)
- alive: Determine how long to observe the ping result in seconds, default: 20
- every: Ping will be done every x seconds, default: 4