homebridge-udp-lock
Control your lock through UDP packets
Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to "Star" or donate.
Click here to review more of my plugins.
config.json
{
"accessory": "UDPlock",
"name": "My Lock",
"host": "192.168.0.X",
"port": 80,
"lock_payload": "874652395hjui4d98523",
"unlock_payload": "8932y4123545j5k245325",
}
Configuration Params
Parameter | Description | Required |
---|---|---|
name |
name of the accessory | ✓ |
host |
endpoint for whatever is receiving these requests | ✓ |
port |
port of destination | ✓ |
unlock_payload |
payload for the unlock state | ✓ |
lock_payload |
payload for the lock state | ✓ |
defaultState |
default state when restarting (lock/unlock) | ✓ |
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-lock
- Update your config file