Skip to content

Instantly share code, notes, and snippets.

@rxseger
Created November 1, 2016 03:09
Show Gist options
  • Save rxseger/002734932d9d72b70431b2f10c05b69f to your computer and use it in GitHub Desktop.
Save rxseger/002734932d9d72b70431b2f10c05b69f to your computer and use it in GitHub Desktop.
~/.homebridge/config.json example for homebridge-udp-contactsensor
{
"accessory": "UdpContactSensor",
"name": "UDP Contact Sensors",
"listen_port": 8266,
"data": {
"Switch #2": { "on": "02ff", "off": "0200" },
"Switch #3": { "on": "03ff", "off": "0300" },
"Switch #4": { "on": "04ff", "off": "0400" }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment