homebridge-udp-lock

1.0.1 • Public • Published

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

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

Package Sidebar

Install

npm i homebridge-udp-lock

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • nitaybz