I’ve been using setstate for a while and it seemed to be working for a while and now it’s saying the requests are OK however it’s not actually changing the bulbs.
Strangely enough the brightness changes correctly… just not the colors.
It looks almost like maintanance is being done as I’m seeing new things in the list bulbs inside the product object.
Here is the output from my program… it should make sense:
Wed 7th Oct 16:37:51: Setting scene from URL to day
Wed 7th Oct 16:37:51: ----> Setting group:Hall,group:Living Room,group:East Side,group:Nats Bedroom to day in 3 secs time
Bulbs: group:Hall,group:Living Room,group:East Side,group:Nats Bedroom
Kelvin: 4700
Brightness: 45 %
Wed 7th Oct 16:37:51: --++> setColor was sent to “group:Hall,group:Living Room,group:East Side,group:Nats Bedroom” with options hue: saturation: brightness: 0.45 kelvin: 4700 power: in a duration of 3 seconds
https://api.lifx.com/v1/lights/group:Hall,group:Living%20Room,group:East%20Side,group:Nats%20Bedroom/state
array(4) { [“kelvin”]=> string(4) “4700” [“brightness”]=> float(0.45) [“duration”]=> string(1) “3” [“power”]=> NULL }
Array
(
[results] => Array
(
[0] => Array
(
[id] => d073d500d495
[label] => Centre
[status] => ok
)
[1] => Array
(
[id] => d073d500da2c
[label] => Right
[status] => ok
)
[2] => Array
(
[id] => d073d500da3d
[label] => Left
[status] => ok
)
[3] => Array
(
[id] => d073d500dde6
[label] => Bedroom
[status] => ok
)
[4] => Array
(
[id] => d073d50142d4
[label] => Hall North
[status] => ok
)
[5] => Array
(
[id] => d073d5014445
[label] => Hall South
[status] => ok
)
[6] => Array
(
[id] => d073d502a483
[label] => Bathroom
[status] => ok
)
[7] => Array
(
[id] => d073d502e517
[label] => Nats Room
[status] => ok
)
[8] => Array
(
[id] => d073d502ee56
[label] => Kitchen
[status] => ok
)
[9] => Array
(
[id] => d073d502f277
[label] => Laundry
[status] => ok
)
)
)