Page 1 of 1

1 Switch, Multiple hue lights

Posted: Thursday 14 April 2016 20:48
by Jordyboytjuh
Hi guys,

Is it possible to make an group with 2 lamps from the hue lights and make it possible to change colors/brightness? Now it's only possible to set the lights on/off. Or am I missing something that's already implemented?

Thanks in advance!

Greets

Re: 1 Switch, Multiple hue lights

Posted: Sunday 17 April 2016 10:38
by thecosmicgate
I think it's possible when you make a dummy switch and combine this with a slave

Re: 1 Switch, Multiple hue lights

Posted: Sunday 17 April 2016 18:00
by Derik
Perhaps use the api for develop:

Code: Select all

#!/bin/sh
curl -H "Accept: application/json" -X PUT --data '{"on": true,"bri": 168,"hue": 14135,"sat": 254,"xy": [0.5281,0.4302],"ct": 500,"alert": "none","effect": "none","colormode": "hs","reachable": true}' http://192.168.5.36/api/newdeveloper/lights/8/state
curl -H "Accept: application/json" -X PUT --data '{"on": true,"bri": 168,"hue": 14135,"sat": 254,"xy": [0.5281,0.4302],"ct": 500,"alert": "none","effect": "none","colormode": "hs","reachable": true}' http://192.168.5.36/api/newdeveloper/lights/9/state
					
Make a script that u can switch with a dummy..
With this option u can switch multiple lights on or af in the same color. [ change the color to yours, witch one you see in the developer options ]

Re: 1 Switch, Multiple hue lights

Posted: Sunday 17 April 2016 18:31
by karde
Would also reco. the api, or if you just want groups, try do download the IOS app "onSwitch" (not sure if it's avaible for android as well), create/name a group in the app for your lamps and allow import for 5 minutes in Domoitcz, you should see your new group then.