2014-01-09, 13:54
Hi Jer78,
I am controlling my HUE lights with EventGhost which is using Phyton. Try this code example:
[/code]
or this:
Note that <key> is your HUE access/username key
I am controlling my HUE lights with EventGhost which is using Phyton. Try this code example:
[/code]
Code:
CURL -XPUT http://<IP HUE Bridge>/api/<key>/lights/1/state -d "{{\"on\": true}"
or this:
Code:
CURL -XPUT http://<IP HUE Bridge>/api/<key>/groups/7/action -d "{{\"transitiontime\": 180,\"on\": true,\"hue\": 15597,\"bri\": 255,\"sat\": 104}"
Note that <key> is your HUE access/username key