Hue binding effect

Hi,

I try to change the effect on my Hue lightstrips but the effect does not change.
I just click on the item and change it and the log shows that the value is changed but the lightstrip does not change.
Does anyone else have the same problem?

Andreas

What version of OH are you using? And if you are using OH v4.x then are you using API v1 or API v2 things?

Sorry I forgot the versions.
openHAB 4.0.4 und API v2.

I made another test. Everytime I stop and restart the binding it works once.

Can you please log:set TRACE org.openhab.binding.hue and post the log file?

08:40:41 I worked as I made the binding offline and online again.
08:40:46 did not work anymore

2023-12-10 08:40:41.620 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → handleCommand() put resource id:38c560c9-3587-488e-9891-ee987c758bff, type:light
2023-12-10 08:40:41.620 [DEBUG] [.internal.handler.Clip2BridgeHandler] - putResource() id:38c560c9-3587-488e-9891-ee987c758bff, type:light
2023-12-10 08:40:41.621 [TRACE] [.hue.internal.connection.Clip2Bridge] - PUT https://192.168.xxx.xx/clip/v2/resource/light/38c560c9-3587-488e-9891-ee987c758bff HTTP/2 >> {“type”:“light”,“id”:“38c560c9-3587-488e-9891-ee987c758bff”,“on”:{“on”:true},“effects”:{“effect”:“opal”}}
2023-12-10 08:40:41.703 [TRACE] [.hue.internal.connection.Clip2Bridge] - HTTP/2 200 (Content-Type: application/json) << {“data”:[{“rid”:“38c560c9-3587-488e-9891-ee987c758bff”,“rtype”:“light”}],“errors”:}
2023-12-10 08:40:41.717 [TRACE] [.hue.internal.connection.Clip2Bridge] - onEventData() data:[{“creationtime”:“2023-12-10T07:40:41Z”,“data”:[{“effects”:{“status”:“opal”},“id”:“38c560c9-3587-488e-9891-ee987c758bff”,“id_v1”:“/lights/9”,“owner”:{“rid”:“dfb67af0-af17-4c59-8951-aa1e3dc9c52e”,“rtype”:“device”},“type”:“light”}],“id”:“2ccf9846-ea30-4938-8d54-dec1624fde51”,“type”:“update”}]
2023-12-10 08:40:41.717 [DEBUG] [.internal.handler.Clip2BridgeHandler] - onResourcesEventTask() resource count 1
2023-12-10 08:40:41.718 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateChannels() from resource id:38c560c9-3587-488e-9891-ee987c758bff, type:light
2023-12-10 08:40:41.718 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘color-temperature’ update with ‘UNDEF’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:41.718 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘color-temperature-abs’ update with ‘UNDEF’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:41.718 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘color’ update with ‘30.999,86.81900,100’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:41.719 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘color-xy-only’ update with ‘30.999,86.81900,100’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:41.719 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘effect’ update with ‘OPAL’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:41.719 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘dimming-only’ update with ‘100’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:41.719 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘on-off-only’ update with ‘ON’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:41.719 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘alert’ update with ‘NO_ACTION’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:41.720 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘last-updated’ update with ‘2023-12-10T08:40:41.720139310+0100’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:41.720 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → onResource() consumed resource id:38c560c9-3587-488e-9891-ee987c758bff, type:light
2023-12-10 08:40:46.744 [DEBUG] [.hue.internal.connection.Clip2Bridge] - checkAlive()
2023-12-10 08:40:46.747 [DEBUG] [.hue.internal.connection.Clip2Bridge] - checkAliveOk()
2023-12-10 08:40:50.223 [TRACE] [.hue.internal.connection.Clip2Bridge] - onEventData() data:[{“creationtime”:“2023-12-10T07:40:50Z”,“data”:[{“color”:{“xy”:{“x”:0.4114,“y”:0.3237}},“color_temperature”:{“mirek”:null,“mirek_valid”:false},“gradient”:{“points”:,“points_capable”:5},“id”:“38c560c9-3587-488e-9891-ee987c758bff”,“id_v1”:“/lights/9”,“owner”:{“rid”:“dfb67af0-af17-4c59-8951-aa1e3dc9c52e”,“rtype”:“device”},“type”:“light”}],“id”:“9554b6d9-fb85-4dd9-ae6a-7e5b7de44dad”,“type”:“update”}]
2023-12-10 08:40:50.224 [DEBUG] [.internal.handler.Clip2BridgeHandler] - onResourcesEventTask() resource count 1
2023-12-10 08:40:50.224 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateChannels() from resource id:38c560c9-3587-488e-9891-ee987c758bff, type:light
2023-12-10 08:40:50.224 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘color-temperature’ update with ‘UNDEF’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:50.224 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘color-temperature-abs’ update with ‘UNDEF’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:50.225 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘color’ update with ‘1.354,26.40900,100’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:50.225 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘color-xy-only’ update with ‘1.354,26.40900,100’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:50.225 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘effect’ update with ‘OPAL’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:50.226 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘dimming-only’ update with ‘100’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:50.226 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘on-off-only’ update with ‘ON’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:50.226 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘alert’ update with ‘NO_ACTION’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:50.226 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → updateState() ‘last-updated’ update with ‘2023-12-10T08:40:50.226660316+0100’ (fullUpdate:false, isDefined:true)
2023-12-10 08:40:50.226 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → onResource() consumed resource id:38c560c9-3587-488e-9891-ee987c758bff, type:light
2023-12-10 08:41:18.191 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → handleCommand() put resource id:38c560c9-3587-488e-9891-ee987c758bff, type:light
2023-12-10 08:41:18.191 [DEBUG] [.internal.handler.Clip2BridgeHandler] - putResource() id:38c560c9-3587-488e-9891-ee987c758bff, type:light
2023-12-10 08:41:18.191 [TRACE] [.hue.internal.connection.Clip2Bridge] - PUT https://192.168.xxx.xx/clip/v2/resource/light/38c560c9-3587-488e-9891-ee987c758bff HTTP/2 >> {“type”:“light”,“id”:“38c560c9-3587-488e-9891-ee987c758bff”,“on”:{“on”:true}}
2023-12-10 08:41:18.214 [TRACE] [.hue.internal.connection.Clip2Bridge] - HTTP/2 200 (Content-Type: application/json) << {“data”:[{“rid”:“38c560c9-3587-488e-9891-ee987c758bff”,“rtype”:“light”}],“errors”:}
2023-12-10 08:42:38.978 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → handleCommand() put resource id:38c560c9-3587-488e-9891-ee987c758bff, type:light
2023-12-10 08:42:38.978 [DEBUG] [.internal.handler.Clip2BridgeHandler] - putResource() id:38c560c9-3587-488e-9891-ee987c758bff, type:light
2023-12-10 08:42:38.978 [TRACE] [.hue.internal.connection.Clip2Bridge] - PUT https://192.168.xxx.xx/clip/v2/resource/light/38c560c9-3587-488e-9891-ee987c758bff HTTP/2 >> {“type”:“light”,“id”:“38c560c9-3587-488e-9891-ee987c758bff”,“on”:{“on”:true}}
2023-12-10 08:42:39.002 [TRACE] [.hue.internal.connection.Clip2Bridge] - HTTP/2 200 (Content-Type: application/json) << {“data”:[{“rid”:“38c560c9-3587-488e-9891-ee987c758bff”,“rtype”:“light”}],“errors”:}
2023-12-10 08:43:07.988 [DEBUG] [e.internal.handler.Clip2ThingHandler] - dfb67af0-af17-4c59-8951-aa1e3dc9c52e → handleCommand() put resource id:38c560c9-3587-488e-9891-ee987c758bff, type:light
2023-12-10 08:43:07.989 [DEBUG] [.internal.handler.Clip2BridgeHandler] - putResource() id:38c560c9-3587-488e-9891-ee987c758bff, type:light
2023-12-10 08:43:07.989 [TRACE] [.hue.internal.connection.Clip2Bridge] - PUT https://192.168.xxx.xx/clip/v2/resource/light/38c560c9-3587-488e-9891-ee987c758bff HTTP/2 >> {“type”:“light”,“id”:“38c560c9-3587-488e-9891-ee987c758bff”,“on”:{“on”:true}}
2023-12-10 08:43:08.031 [TRACE] [.hue.internal.connection.Clip2Bridge] - HTTP/2 200 (Content-Type: application/json) << {“data”:[{“rid”:“38c560c9-3587-488e-9891-ee987c758bff”,“rtype”:“light”}],“errors”:}
2023-12-10 08:43:41.714 [TRACE] [.hue.internal.connection.Clip2Bridge] - onEventData() data:[{“creationtime”:“2023-12-10T07:43:41Z”,“data”:[{“id”:“18ded910-99ef-479f-86ce-8fb09496cf70”,“id_v1”:“/lights/2”,“owner”:{“rid”:“59608307-8e92-4e0c-8055-204fa7451592”,“rtype”:“device”},“powerup”:{“configured”:false},“type”:“light”}],“id”:“94101f56-84dd-45f1-a03f-101caf38f7f8”,“type”:“update”}]
2023-12-10 08:43:41.715 [DEBUG] [.internal.handler.Clip2BridgeHandler] - onResourcesEventTask() resource count 1
2023-12-10 08:43:50.860 [TRACE] [.hue.internal.connection.Clip2Bridge] - onEventData() data:[{“creationtime”:“2023-12-10T07:43:50Z”,“data”:[{“id”:“18ded910-99ef-479f-86ce-8fb09496cf70”,“id_v1”:“/lights/2”,“owner”:{“rid”:“59608307-8e92-4e0c-8055-204fa7451592”,“rtype”:“device”},“powerup”:{“configured”:true},“type”:“light”}],“id”:“db6a988c-1410-4495-9d56-7fe071971459”,“type”:“update”}]
2023-12-10 08:43:50.861 [DEBUG] [.internal.handler.Clip2BridgeHandler] - onResourcesEventTask() resource count 1

The log after 08:40:46 shows that the binding received three ‘on’ commands from OpenHAB; however there is no record of it receiving an ‘effects’ command from OpenHAB.

When you say ‘it doesn’t work’ can you please be more specific about what you are doing, what result you expect to see, and what you actually see.