- Article History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Alert a Moderator
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Alert a Moderator
Philips HUE Light Shutoff/on
Philips HUE Light Shutoff/on
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
-
Technology Integration
Philips HUE Light Shutoff/on
-
Cloud Deployment
On Premise
-
API Documentation
http://www.developers.meethue.com/documentation/core-concepts
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!) |
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Email to a Friend
- Alert a Moderator
Great post!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Email to a Friend
- Alert a Moderator
Always have been a sucker for room automation.. Great idea and really simple!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Email to a Friend
- Alert a Moderator
Went through the motions of doing this. Pretty cool post. Thanks! Here's some notes to speed things up for others.
URL would be as follows http://hue_bridge_ip/api/qVPLx2Ye5Mw14Mky/lights/1/state where qVPLx2Ye5Mw14Mky is the secret created by your ios or android device. grab wireshark and sniff this out.
JSON content would look like this for ON {"on":true} and this for OFF {"on":false}
Use the hue debug page to help you diagnose. at http://hue_bridge_ip/debug/clip.html
Cheers
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Email to a Friend
- Alert a Moderator
For me it works with this settings in CPPM 6.5:
Endpoint Contect Server
- Server Name: <Your IP>
- Server Base URL: http://<YourIP>
No Userid or Password !
Context Server Action
- URL: /api/newdeveloper/lights/1/state
-Content: JSON {"xy_inc":[0.1,-0.1]} (to change colour)
Cheers
Reinhard