Skip to content

Commit

Permalink
added sample using JSON power statuses in sample-config file
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBoy333 committed Jun 27, 2017
1 parent 9668e38 commit 7772bf8
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion sample-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,38 @@
"on_url": "http://localhost/controller/1700/ON",
"off_url": "http://localhost/controller/1700/OFF",
"status_url": "http://localhost/status/100059",
"status_on": "ON",
"status_off": "OFF",
"service": "Light",
"brightnessHandling": "yes",
"brightness_url": "http://localhost/controller/1707/%b",
"brightnesslvl_url": "http://localhost/status/100054"
"brightnesslvl_url": "http://localhost/status/100054",
"sendimmediately": "",
"username" : "",
"password" : ""
},
{
"accessory": "Http",
"name": "Color Changing Lamp",
"switchHandling": "realtime",
"http_method": "GET",
"on_url": "http://localhost/controller/1700/ON",
"off_url": "http://localhost/controller/1700/OFF",
"status_url": "http://localhost/status/100059",
"status_on": {
"power": "ON",
"color": "Blue"
},
"status_off": {
"power": "OFF"
},
"service": "Light",
"brightnessHandling": "yes",
"brightness_url": "http://localhost/controller/1707/%b",
"brightnesslvl_url": "http://localhost/status/100054",
"sendimmediately": "",
"username" : "",
"password" : ""
}
]
}

0 comments on commit 7772bf8

Please sign in to comment.