Skip to content

Instantly share code, notes, and snippets.

@rxseger
Last active October 31, 2016 03:44
Show Gist options
  • Save rxseger/734c8150876285f8791bb9a70981dc51 to your computer and use it in GitHub Desktop.
Save rxseger/734c8150876285f8791bb9a70981dc51 to your computer and use it in GitHub Desktop.
~/.homebridge/config.json for homebridge-http to ESP8266 web server
{
"accessory": "Http",
"name": "Stand Lamp",
"http_method": "GET",
"on_url": "http://192.168.1.4/outlet/on",
"off_url": "http://192.168.1.4/outlet/off",
"service": "Light"
},
{
"accessory": "Http",
"name": "Buzzer",
"http_method": "GET",
"on_url": "http://192.168.1.4/buzzer/on?freq=200&duty=512",
"off_url": "http://192.168.1.4/buzzer/off",
"service": "Switch"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment