Based on authentication into a location/area or the leaving of this area, automatically turn on or off the HUE light bulbs in that area
AH contributor: sethfiermonti
Specifications
Administration -> External Servers -> Endpoint Context Servers
|
Select Server Type
|
Generic HTTP |
Server Name
|
<Your integration name> |
On-Premise based URL
|
http://<bridge IP address> |
Username
|
<Your username> |
Password
|
<Your password> |
Administration -> Dictionaries -> Context Server Actions
|
Action Tab
|
Server Type
|
Generic HTTP |
Server Name
|
<Select your integration name> |
Action Name
|
<Describe the action> |
HTTP Method
|
PUT |
URL
|
http://<bridge IP address>/<user name>/lights/1/state |
Content Tab
|
Content-Type
|
JSON |
Content
|
{on}
{off}
{"bri":42}
|
|
Tips & Tricks
|
See website for more cool things like changing color of the lights even!
{"bri":42} <-- controls brightness (can make brighter or darker depending on circumstances - i.e. - more than X users in an auditorium for X time, then dim the lights!)
|