That is currently hard wired with only 2 options: none and Color loop. The hue tag is colorloop
I have not found any place on the bridge where the effect options are stored, so that they can be read and used and set
looking at the info of a light strip device which is currently running the color loop it still says "effect": "none",
- Code: Select all
{
...
"state": {
"alert": "select",
"bri": 127,
"colormode": "xy",
"ct": 500,
"effect": "none",
"hue": 286,
"mode": "homeautomation",
"on": true,
"reachable": true,
"sat": 253,
"xy": [
0.6803,
0.3165
]
},
...
to proceed I need the exact name of the effect i can send to a lamp.
I will add, just to try it:
Candle as candle
Fireplace as fireplace
with that spelling for the time being
Karl
[edit]
I tried candle and fireplace, but those commands got rejected
- Code: Select all
13 12:40:22 data to be send:{"effect": "colorloop"}
13 12:40:22 URL: http://192.168.1.201/api/xx-LQvAw49oNxYy9/lights/6/state
13 12:40:22 Got response - [{"success":{"/lights/6/state/effect":"colorloop"}}]
13 12:40:22 Sent Hue Lights "Hue_light_2_6_Office light strip " set effect to "colorloop"
13 12:40:30 data to be send:{"effect": "fireplace"}
13 12:40:30 URL: http://192.168.1.201/api/xx-LQvAw49oNxYy9/lights/6/state
13 12:40:30 Got response - [{"error":{"type":7,"address":"/lights/6/state","description":"invalid value, fireplace, for parameter, effect"}}]
13 12:40:30 Sent Hue Lights "Hue_light_2_6_Office light strip " set effect to "fireplace"
13 12:40:41 data to be send:{"effect": "candle"}
13 12:40:41 URL: http://192.168.1.201/api/xx-LQvAw49oNxYy9/lights/6/state
13 12:40:41 Got response - [{"error":{"type":7,"address":"/lights/6/state","description":"invalid value, candle, for parameter, effect"}}]
13 12:40:41 Sent Hue Lights "Hue_light_2_6_Office light strip " set effect to "candle"