homebridge-udp-light
v1.1.19
Published
A Homebridge plugin to control lock trough UDP packets
Downloads
1
Maintainers
Readme
homebridge-udp-light
Control your light through UDP packets
config.json
"accessories": [
{
"accessory": "UDPLight",
"name": "test1",
"host": "192.168.1.74",
"port": 4210,
"on_payload": "5555554/349",
"off_payload": "3333334/349"
},
{
"accessory": "UDPLight",
"name": "test2",
"host": "192.168.1.74",
"port": 4210,
"on_payload": "2222224/349",
"off_payload": "1111114/349"
},
{
"accessory": "UDPLight",
"name": "test3",
"host": "192.168.1.74",
"port": 4210,
"on_payload": "5143345/349",
"off_payload": "5143346/349"
}
],
Configuration Params
| Parameter | Description | Required |
| -------------------------------- | ------------------------------------------------------- |:--------:|
| name
| name of the accessory | ✓ |
| host
| endpoint for whatever is receiving these requests | ✓ |
| port
| port of destination | ✓ |
| on_payload
| payload for the unlock state | ✓ |
| off_payload
| payload for the lock state | ✓ |
Help
- Make sure to specify a port and host in the config file.
Installation
- Install homebridge using:
npm install -g homebridge
- Install this plugin using:
npm install -g homebridge-udp-light
- Update your config file