hue-cli
hue-cli copied to clipboard
parameter, `colormode`, not available
Setting the existing state on a light results in an error. Although it still appears to get set correctly.
$ hue -j lights 4 | jq '.state' | hue lights 4 state
light 4 failed: parameter, colormode, not available
State that's being set:
{
"on": true,
"bri": 1,
"hue": 54600,
"sat": 254,
"effect": "none",
"xy": [
0.3721,
0.1536
],
"ct": 236,
"alert": "none",
"colormode": "xy",
"mode": "homeautomation",
"reachable": true
}
dont know if this is related but I noticed "hue lights 1 red" doesnt do anything on my tradfri rgbw bulb. thats because they use the xy colormode instead of hsv
dont know if this is related but I noticed "hue lights 1 red" doesnt do anything on my tradfri rgbw bulb. thats because they use the xy colormode instead of hsv
Interesting, I'm using Hue bulbs in this example and they seem to use xy
according to the state. Yet using red
, blue
, etc. still works.
Removing colormode
yields:
light 4 failed: parameter, /lights/4/state, is not modifiable
Removing mode
as well yields:
light 4 failed: parameter, reachable, not available
Removing reachable
as well yields:
light 4 success