1.1.19 • Published 5 years ago

homebridge-udp-light v1.1.19

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

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

ParameterDescriptionRequired
namename of the accessory
hostendpoint for whatever is receiving these requests
portport of destination
on_payloadpayload for the unlock state
off_payloadpayload for the lock state

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-light
  3. Update your config file