1.0.1 • Published 6 years ago

homebridge-udp-lock v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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

ParameterDescriptionRequired
namename of the accessory
hostendpoint for whatever is receiving these requests
portport of destination
unlock_payloadpayload for the unlock state
lock_payloadpayload for the lock state
defaultStatedefault state when restarting (lock/unlock)

Help

  • Make sure to specify a port and host in the config file.

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-udp-lock
  3. Update your config file