hue-cli icon indicating copy to clipboard operation
hue-cli copied to clipboard

parameter, `colormode`, not available

Open strafe opened this issue 3 years ago • 2 comments

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
}

strafe avatar Apr 13 '21 01:04 strafe

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

m0dbot avatar Apr 14 '21 11:04 m0dbot

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

strafe avatar Apr 14 '21 16:04 strafe