Your browser (%browser%) is out of date. It has known security flaws and may not display all features of this and other websites. \
Learn how to update your browser'.
Habe mir mittels hue und der App: "SLeep as Android" einen Smarten Sunrise Wecker gebaut.
Jetzt wollt ich fragen ob ich die Hue leuchten auch mittels SHC Steuern kann?
Habs geschafft!
Mann legt ein Script an mit folgenden Commandos:
an Kommando:
curl -X PUT -d "{\"on\":true,\"bri\":254,\"hue\":7242,\"sat\":222,\"effect\":\"none\",\"xy\":[0.5234,0.4138]}" 192.168.0.2/api/[USER_KEY]/lights/3/state
aus Kommando:
curl -X PUT -d "{\"on\":false}" 192.168.0.2/api/[USER_KEY]/lights/3/state