Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't trigger new Hue Effects on groups #15997

Closed
deviantintegral opened this issue Jan 6, 2023 · 18 comments
Closed

Can't trigger new Hue Effects on groups #15997

deviantintegral opened this issue Jan 6, 2023 · 18 comments
Labels
problem Something isn't working stale Stale issues

Comments

@deviantintegral
Copy link
Sponsor Contributor

deviantintegral commented Jan 6, 2023

What happened?

Following up from #15699 (comment)

While existing effects like "Breathe" and "OK" can be triggered on groups, the new Candlelight and Fireplace effects don't work.

Candle in particular has an intentional flicker. I would think that being able to send the command to a group would mean that all bulbs are in sync. Otherwise, the out-of-sync aspect is very noticeable in two-light fixtures.

What did you expect to happen?

I expected the new commands in the Effect dropdown to work.

How to reproduce it (minimal and precise)

  1. Create a group with at least one Hue light supporting a new effect.
  2. In Home Assistant, select the Candle effect for the light group.
  3. See nothing happens.
  4. Confirm sending set manually via MQTT doesn't work either.

Zigbee2MQTT version

1.29.1

Adapter firmware version

20221102

Adapter

zzh!

Debug log

No response

@deviantintegral deviantintegral added the problem Something isn't working label Jan 6, 2023
@kris-anderson
Copy link

While this would be nice and I ran into the same issue, I was able to update my automations in Home Assistant to refer to the entities themselves instead of the group.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Feb 11, 2023
@deviantintegral
Copy link
Sponsor Contributor Author

Not stale!

@github-actions github-actions bot removed the stale Stale issues label Feb 12, 2023
@lundyfpv
Copy link

This does still seem to be an issue.

Koenkk added a commit that referenced this issue Feb 16, 2023
@Koenkk
Copy link
Owner

Koenkk commented Feb 16, 2023

Implemented this, can you check if it works?

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

@lundyfpv
Copy link

Implemented this, can you check if it works?

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

I can confirm that Candle, Fireplace and Colorloop still do not work on groups with 1.30.1-dev commit: e934b0d. They do still work at the individual level. THe older effects like breath and okay still work on groups however.

@Koenkk
Copy link
Owner

Koenkk commented Feb 18, 2023

@lundyfpv can you provide the herdsman debug log when setting a hue effect to a group?

See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable the herdsman debug logging. Note that this is only logged to STDOUT and not to log files.

@lundyfpv
Copy link

lundyfpv commented Feb 18, 2023

@Koenkk I'm using HAOS and the Zigbee2MQTT Edge addon. Where are the herdsman debug logs for HAOS? The link you sent seems to indicate they are logged in the addon Logs tab. This is what I have from that log file...

Zigbee2MQTT:debug 2023-02-18 09:27:16: Publishing 'set' 'state' to 'group_bulbs_living_room'
2023-02-18T15:27:16.446Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,2,0,103]
2023-02-18T15:27:16.447Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,2,0,103]
2023-02-18T15:27:16.447Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 2 - [0] - 103
2023-02-18T15:27:16.448Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequestExt - {"status":0}
2023-02-18T15:27:16.448Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2023-02-18T15:27:16.451Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,174,104]
2023-02-18T15:27:16.452Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,174,104]
2023-02-18T15:27:16.452Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,174] - 104
2023-02-18T15:27:16.453Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":174}
2023-02-18T15:27:16.453Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:debug 2023-02-18 09:27:16: Publishing 'set' 'effect' to 'group_bulbs_living_room'
2023-02-18T15:27:16.657Z zigbee-herdsman:controller:group Command 1 manuSpecificPhilips2.multiColor({"data":{"type":"Buffer","data":[33,0,1,1]}})
2023-02-18T15:27:16.658Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequestExt - {"dstaddrmode":1,"dstaddr":"0x0000000000000001","destendpoint":255,"dstpanid":0,"srcendpoint":1,"clusterid":64515,"transid":175,"options":0,"radius":30,"len":7,"data":{"type":"Buffer","data":[17,136,0,33,0,1,1]}}
2023-02-18T15:27:16.659Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,27,36,2,1,1,0,0,0,0,0,0,0,255,0,0,1,3,252,175,0,30,7,0,17,136,0,33,0,1,1,50]
2023-02-18T15:27:16.688Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,2,0,103]
2023-02-18T15:27:16.688Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,2,0,103]
2023-02-18T15:27:16.689Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 2 - [0] - 103
2023-02-18T15:27:16.689Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequestExt - {"status":0}
2023-02-18T15:27:16.689Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2023-02-18T15:27:16.693Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,175,105]
2023-02-18T15:27:16.693Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,175,105]
2023-02-18T15:27:16.693Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,175] - 105
2023-02-18T15:27:16.693Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":175}
2023-02-18T15:27:16.693Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:info  2023-02-18 09:27:16: MQTT publish: topic 'zigbee2mqtt/bulb_living_room_corner_lamp', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"linkquality":131,"power_on_behavior":null,"state":"ON","update":{"installed_version":16784906,"latest_version":16784918,"state":"available"},"update_available":true}'
Zigbee2MQTT:info  2023-02-18 09:27:16: MQTT publish: topic 'zigbee2mqtt/group_bulbs_living_room', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"state":"ON"}'
Zigbee2MQTT:info  2023-02-18 09:27:16: MQTT publish: topic 'zigbee2mqtt/bulb_bar_lamp_color', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"linkquality":112,"power_on_behavior":"previous","state":"ON","update":{"installed_version":16784906,"latest_version":16784918,"state":"available"},"update_available":true}'
2023-02-18T15:27:19.557Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,11,69,200,75,155,158,250,5,254,255,132,13,4,1,186]
2023-02-18T15:27:19.557Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,11,69,200,75,155,158,250,5,254,255,132,13,4,1,186]
2023-02-18T15:27:19.557Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 11 - 2 - 5 - 200 - [75,155,158,250,5,254,255,132,13,4,1] - 186
2023-02-18T15:27:19.558Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - concentratorIndCb - {"srcaddr":39755,"extaddr":"0x040d84fffe05fa9e","pktCost":1}
2023-02-18T15:27:19.558Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:debug 2023-02-18 09:27:20: Received MQTT message on 'zigbee2mqtt/group_bulbs_living_room/set' with data '{"state":"ON","effect":"fireplace"}'
Zigbee2MQTT:debug 2023-02-18 09:27:20: Publishing 'set' 'state' to 'group_bulbs_living_room'
2023-02-18T15:27:20.093Z zigbee-herdsman:controller:group Command 1 genOnOff.on({})
2023-02-18T15:27:20.095Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequestExt - {"dstaddrmode":1,"dstaddr":"0x0000000000000001","destendpoint":255,"dstpanid":0,"srcendpoint":1,"clusterid":6,"transid":176,"options":0,"radius":30,"len":3,"data":{"type":"Buffer","data":[17,137,1]}}
2023-02-18T15:27:20.095Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,23,36,2,1,1,0,0,0,0,0,0,0,255,0,0,1,6,0,176,0,30,3,0,17,137,1,253]
2023-02-18T15:27:20.113Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,2,0,103]
2023-02-18T15:27:20.113Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,2,0,103]
2023-02-18T15:27:20.114Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 2 - [0] - 103
2023-02-18T15:27:20.114Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequestExt - {"status":0}
2023-02-18T15:27:20.115Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2023-02-18T15:27:20.193Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,176,118]
2023-02-18T15:27:20.193Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,176,118]
2023-02-18T15:27:20.195Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,176] - 118
2023-02-18T15:27:20.195Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":176}
2023-02-18T15:27:20.195Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:debug 2023-02-18 09:27:20: Publishing 'set' 'effect' to 'group_bulbs_living_room'
2023-02-18T15:27:20.398Z zigbee-herdsman:controller:group Command 1 manuSpecificPhilips2.multiColor({"data":{"type":"Buffer","data":[33,0,1,2]}})
2023-02-18T15:27:20.399Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequestExt - {"dstaddrmode":1,"dstaddr":"0x0000000000000001","destendpoint":255,"dstpanid":0,"srcendpoint":1,"clusterid":64515,"transid":177,"options":0,"radius":30,"len":7,"data":{"type":"Buffer","data":[17,138,0,33,0,1,2]}}
2023-02-18T15:27:20.399Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,27,36,2,1,1,0,0,0,0,0,0,0,255,0,0,1,3,252,177,0,30,7,0,17,138,0,33,0,1,2,45]
2023-02-18T15:27:20.424Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,2,0,103]
2023-02-18T15:27:20.424Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,2,0,103]
2023-02-18T15:27:20.425Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 2 - [0] - 103
2023-02-18T15:27:20.426Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequestExt - {"status":0}
2023-02-18T15:27:20.426Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2023-02-18T15:27:20.435Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,177,119]
2023-02-18T15:27:20.436Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,177,119]
2023-02-18T15:27:20.437Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,177] - 119
2023-02-18T15:27:20.437Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":177}
2023-02-18T15:27:20.438Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:info  2023-02-18 09:27:20: MQTT publish: topic 'zigbee2mqtt/bulb_living_room_corner_lamp', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"linkquality":131,"power_on_behavior":null,"state":"ON","update":{"installed_version":16784906,"latest_version":16784918,"state":"available"},"update_available":true}'
Zigbee2MQTT:info  2023-02-18 09:27:20: MQTT publish: topic 'zigbee2mqtt/group_bulbs_living_room', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"state":"ON"}'
Zigbee2MQTT:info  2023-02-18 09:27:20: MQTT publish: topic 'zigbee2mqtt/bulb_bar_lamp_color', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"linkquality":112,"power_on_behavior":"previous","state":"ON","update":{"installed_version":16784906,"latest_version":16784918,"state":"available"},"update_available":true}'
Zigbee2MQTT:debug 2023-02-18 09:27:23: Received MQTT message on 'zigbee2mqtt/group_bulbs_living_room/set' with data '{"state":"ON","effect":"colorloop"}'
Zigbee2MQTT:debug 2023-02-18 09:27:23: Publishing 'set' 'state' to 'group_bulbs_living_room'
2023-02-18T15:27:23.015Z zigbee-herdsman:controller:group Command 1 genOnOff.on({})
2023-02-18T15:27:23.015Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequestExt - {"dstaddrmode":1,"dstaddr":"0x0000000000000001","destendpoint":255,"dstpanid":0,"srcendpoint":1,"clusterid":6,"transid":178,"options":0,"radius":30,"len":3,"data":{"type":"Buffer","data":[17,139,1]}}
2023-02-18T15:27:23.016Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,23,36,2,1,1,0,0,0,0,0,0,0,255,0,0,1,6,0,178,0,30,3,0,17,139,1,253]
2023-02-18T15:27:23.031Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,2,0,103]
2023-02-18T15:27:23.031Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,2,0,103]
2023-02-18T15:27:23.031Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 2 - [0] - 103
2023-02-18T15:27:23.031Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequestExt - {"status":0}
2023-02-18T15:27:23.031Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2023-02-18T15:27:23.111Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,178,116]
2023-02-18T15:27:23.112Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,178,116]
2023-02-18T15:27:23.112Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,178] - 116
2023-02-18T15:27:23.112Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":178}
2023-02-18T15:27:23.113Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:debug 2023-02-18 09:27:23: Publishing 'set' 'effect' to 'group_bulbs_living_room'
2023-02-18T15:27:23.316Z zigbee-herdsman:controller:group Command 1 manuSpecificPhilips2.multiColor({"data":{"type":"Buffer","data":[33,0,1,3]}})
2023-02-18T15:27:23.317Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequestExt - {"dstaddrmode":1,"dstaddr":"0x0000000000000001","destendpoint":255,"dstpanid":0,"srcendpoint":1,"clusterid":64515,"transid":179,"options":0,"radius":30,"len":7,"data":{"type":"Buffer","data":[17,140,0,33,0,1,3]}}
2023-02-18T15:27:23.318Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,27,36,2,1,1,0,0,0,0,0,0,0,255,0,0,1,3,252,179,0,30,7,0,17,140,0,33,0,1,3,40]
2023-02-18T15:27:23.335Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,2,0,103]
2023-02-18T15:27:23.335Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,2,0,103]
2023-02-18T15:27:23.336Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 2 - [0] - 103
2023-02-18T15:27:23.337Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequestExt - {"status":0}
2023-02-18T15:27:23.337Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2023-02-18T15:27:23.415Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,179,117]
2023-02-18T15:27:23.415Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,179,117]
2023-02-18T15:27:23.415Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,179] - 117
2023-02-18T15:27:23.416Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":179}
2023-02-18T15:27:23.416Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:info  2023-02-18 09:27:23: MQTT publish: topic 'zigbee2mqtt/bulb_living_room_corner_lamp', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"linkquality":131,"power_on_behavior":null,"state":"ON","update":{"installed_version":16784906,"latest_version":16784918,"state":"available"},"update_available":true}'
Zigbee2MQTT:info  2023-02-18 09:27:23: MQTT publish: topic 'zigbee2mqtt/group_bulbs_living_room', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"state":"ON"}'
Zigbee2MQTT:info  2023-02-18 09:27:23: MQTT publish: topic 'zigbee2mqtt/bulb_bar_lamp_color', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"linkquality":112,"power_on_behavior":"previous","state":"ON","update":{"installed_version":16784906,"latest_version":16784918,"state":"available"},"update_available":true}'`

@lundyfpv
Copy link

lundyfpv commented Feb 18, 2023

Here are the logs from Breathe and Okay that do seem to work fine.

Zigbee2MQTT:debug 2023-02-18 09:32:15: Publishing 'set' 'state' to 'group_bulbs_living_room'
2023-02-18T15:32:15.277Z zigbee-herdsman:controller:group Command 1 genOnOff.on({})
2023-02-18T15:32:15.278Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequestExt - {"dstaddrmode":1,"dstaddr":"0x0000000000000001","destendpoint":255,"dstpanid":0,"srcendpoint":1,"clusterid":6,"transid":195,"options":0,"radius":30,"len":3,"data":{"type":"Buffer","data":[17,150,1]}}
2023-02-18T15:32:15.278Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,23,36,2,1,1,0,0,0,0,0,0,0,255,0,0,1,6,0,195,0,30,3,0,17,150,1,145]
2023-02-18T15:32:15.295Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,2,0,103]
2023-02-18T15:32:15.295Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,2,0,103]
2023-02-18T15:32:15.295Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 2 - [0] - 103
2023-02-18T15:32:15.296Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequestExt - {"status":0}
2023-02-18T15:32:15.296Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2023-02-18T15:32:15.375Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,195,5]
2023-02-18T15:32:15.375Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,195,5]
2023-02-18T15:32:15.375Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,195] - 5
2023-02-18T15:32:15.376Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":195}
2023-02-18T15:32:15.376Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:debug 2023-02-18 09:32:15: Publishing 'set' 'effect' to 'group_bulbs_living_room'
2023-02-18T15:32:15.577Z zigbee-herdsman:controller:group Command 1 genIdentify.triggerEffect({"effectid":1,"effectvariant":0})
2023-02-18T15:32:15.578Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequestExt - {"dstaddrmode":1,"dstaddr":"0x0000000000000001","destendpoint":255,"dstpanid":0,"srcendpoint":1,"clusterid":3,"transid":196,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[17,151,64,1,0]}}
2023-02-18T15:32:15.578Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,25,36,2,1,1,0,0,0,0,0,0,0,255,0,0,1,3,0,196,0,30,5,0,17,151,64,1,0,218]
2023-02-18T15:32:15.599Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,2,0,103]
2023-02-18T15:32:15.599Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,2,0,103]
2023-02-18T15:32:15.600Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 2 - [0] - 103
2023-02-18T15:32:15.600Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequestExt - {"status":0}
2023-02-18T15:32:15.601Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2023-02-18T15:32:15.668Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,196,2]
2023-02-18T15:32:15.668Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,196,2]
2023-02-18T15:32:15.669Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,196] - 2
2023-02-18T15:32:15.669Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":196}
2023-02-18T15:32:15.672Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:info  2023-02-18 09:32:15: MQTT publish: topic 'zigbee2mqtt/bulb_living_room_corner_lamp', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"linkquality":149,"power_on_behavior":null,"state":"ON","update":{"installed_version":16784906,"latest_version":16784918,"state":"available"},"update_available":true}'
Zigbee2MQTT:info  2023-02-18 09:32:15: MQTT publish: topic 'zigbee2mqtt/group_bulbs_living_room', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"state":"ON"}'
Zigbee2MQTT:info  2023-02-18 09:32:15: MQTT publish: topic 'zigbee2mqtt/bulb_bar_lamp_color', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"linkquality":112,"power_on_behavior":"previous","state":"ON","update":{"installed_version":16784906,"latest_version":16784918,"state":"available"},"update_available":true}'
Zigbee2MQTT:debug 2023-02-18 09:32:18: Received MQTT message on 'zigbee2mqtt/group_bulbs_living_room/set' with data '{"state":"ON","effect":"okay"}'
Zigbee2MQTT:debug 2023-02-18 09:32:18: Publishing 'set' 'state' to 'group_bulbs_living_room'
2023-02-18T15:32:18.789Z zigbee-herdsman:controller:group Command 1 genOnOff.on({})
2023-02-18T15:32:18.790Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequestExt - {"dstaddrmode":1,"dstaddr":"0x0000000000000001","destendpoint":255,"dstpanid":0,"srcendpoint":1,"clusterid":6,"transid":197,"options":0,"radius":30,"len":3,"data":{"type":"Buffer","data":[17,152,1]}}
2023-02-18T15:32:18.791Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,23,36,2,1,1,0,0,0,0,0,0,0,255,0,0,1,6,0,197,0,30,3,0,17,152,1,153]
2023-02-18T15:32:18.815Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,2,0,103]
2023-02-18T15:32:18.815Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,2,0,103]
2023-02-18T15:32:18.816Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 2 - [0] - 103
2023-02-18T15:32:18.817Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequestExt - {"status":0}
2023-02-18T15:32:18.817Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2023-02-18T15:32:18.822Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,197,3]
2023-02-18T15:32:18.822Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,197,3]
2023-02-18T15:32:18.822Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,197] - 3
2023-02-18T15:32:18.823Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":197}
2023-02-18T15:32:18.823Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:debug 2023-02-18 09:32:19: Publishing 'set' 'effect' to 'group_bulbs_living_room'
2023-02-18T15:32:19.026Z zigbee-herdsman:controller:group Command 1 genIdentify.triggerEffect({"effectid":2,"effectvariant":0})
2023-02-18T15:32:19.027Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequestExt - {"dstaddrmode":1,"dstaddr":"0x0000000000000001","destendpoint":255,"dstpanid":0,"srcendpoint":1,"clusterid":3,"transid":198,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[17,153,64,2,0]}}
2023-02-18T15:32:19.027Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,25,36,2,1,1,0,0,0,0,0,0,0,255,0,0,1,3,0,198,0,30,5,0,17,153,64,2,0,213]
2023-02-18T15:32:19.046Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,2,0,103]
2023-02-18T15:32:19.046Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,2,0,103]
2023-02-18T15:32:19.047Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 2 - [0] - 103
2023-02-18T15:32:19.047Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequestExt - {"status":0}
2023-02-18T15:32:19.047Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2023-02-18T15:32:19.057Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,198,0]
2023-02-18T15:32:19.058Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,198,0]
2023-02-18T15:32:19.058Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,198] - 0
2023-02-18T15:32:19.058Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":198}
2023-02-18T15:32:19.059Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:info  2023-02-18 09:32:19: MQTT publish: topic 'zigbee2mqtt/bulb_living_room_corner_lamp', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"linkquality":149,"power_on_behavior":null,"state":"ON","update":{"installed_version":16784906,"latest_version":16784918,"state":"available"},"update_available":true}'
Zigbee2MQTT:info  2023-02-18 09:32:19: MQTT publish: topic 'zigbee2mqtt/group_bulbs_living_room', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"state":"ON"}'
Zigbee2MQTT:info  2023-02-18 09:32:19: MQTT publish: topic 'zigbee2mqtt/bulb_bar_lamp_color', payload '{"brightness":213,"color":{"h":240,"hue":240,"s":98,"saturation":98,"x":0.144,"y":0.053},"color_mode":"xy","color_temp":500,"linkquality":112,"power_on_behavior":"previous","state":"ON","update":{"installed_version":16784906,"latest_version":16784918,"state":"available"},"update_available":true}'
2023-02-18T15:32:23.453Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,5,69,196,140,136,1,173,106,70]
2023-02-18T15:32:23.453Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,5,69,196,140,136,1,173,106,70]
2023-02-18T15:32:23.454Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 5 - 2 - 5 - 196 - [140,136,1,173,106] - 70
2023-02-18T15:32:23.454Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - srcRtgInd - {"dstaddr":34956,"relaycount":1,"relaylist":[27309]}
2023-02-18T15:32:23.454Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2023-02-18T15:32:23.465Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,5,69,196,140,136,1,173,106,70]
2023-02-18T15:32:23.465Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,5,69,196,140,136,1,173,106,70]
2023-02-18T15:32:23.465Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 5 - 2 - 5 - 196 - [140,136,1,173,106] - 70
2023-02-18T15:32:23.466Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - srcRtgInd - {"dstaddr":34956,"relaycount":1,"relaylist":[27309]}
2023-02-18T15:32:23.466Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2023-02-18T15:32:23.529Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,28,68,129,0,0,0,4,140,136,1,1,0,43,0,115,21,238,0,0,8,24,175,10,0,0,33,18,0,173,106,28,39,254,27,68,129,0,0,6,4,140,136,1,1,0,43,0,237,23,238,0,0,7,24,176,10,0,0,24,1,173,106,28,128]
2023-02-18T15:32:23.530Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,28,68,129,0,0,0,4,140,136,1,1,0,43,0,115,21,238,0,0,8,24,175,10,0,0,33,18,0,173,106,28,39,254,27,68,129,0,0,6,4,140,136,1,1,0,43,0,237,23,238,0,0,7,24,176,10,0,0,24,1,173,106,28,128]
2023-02-18T15:32:23.530Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 28 - 2 - 4 - 129 - [0,0,0,4,140,136,1,1,0,43,0,115,21,238,0,0,8,24,175,10,0,0,33,18,0,173,106,28] - 39
2023-02-18T15:32:23.530Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - incomingMsg - {"groupid":0,"clusterid":1024,"srcaddr":34956,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":43,"securityuse":0,"timestamp":15603059,"transseqnumber":0,"len":8,"data":{"type":"Buffer","data":[24,175,10,0,0,33,18,0]}}
2023-02-18T15:32:23.531Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":175,"manufacturerCode":null,"commandIdentifier":10},"Payload":[{"attrId":0,"dataType":33,"attrData":18}],"Command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}},"address":34956,"endpoint":1,"linkquality":43,"groupID":0,"wasBroadcast":false,"destinationEndpoint":1}'`

@Koenkk
Copy link
Owner

Koenkk commented Feb 19, 2023

@lundyfpv in your log I see that the Hue effect command is send to group 1 correctly:

Zigbee2MQTT:debug 2023-02-18 09:27:16: Publishing 'set' 'effect' to 'group_bulbs_living_room'
2023-02-18T15:27:16.657Z zigbee-herdsman:controller:group Command 1 manuSpecificPhilips2.multiColor({"data":{"type":"Buffer","data":[33,0,1,1]}})
2023-02-18T15:27:16.658Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequestExt - {"dstaddrmode":1,"dstaddr":"0x0000000000000001","destendpoint":255,"dstpanid":0,"srcendpoint":1,"clusterid":64515,"transid":175,"options":0,"radius":30,"len":7,"data":{"type":"Buffer","data":[17,136,0,33,0,1,1]}}

My first guess would be that the Hue bulbs don't support these commands through groups. To confirm this, someone needs to check wether this is supported through the Hue hub.

@gdgib
Copy link

gdgib commented Mar 5, 2023

I'm not sure that's supported in the v2 API (https://developers.meethue.com/develop/hue-api-v2/api-reference/#resource_grouped_light__id__put), but it definitely was in the v1 API (https://developers.meethue.com/develop/hue-api/groupds-api/#set-gr-state).

HOWEVER, I just tested this using the v1 API, and it absolutely doesn't work for the colorloop effect. I can set the effect only on lights themselves. Attempting to set the light group effect to colorloop changes nothing. This suggests it may be a firmware limitation.

The older, and now gone, "Hue Labs" colorloop effect did allow groups to be set to colorloop all at once without visible popcorn. But I couldn't say if it was implemented on the bulb or the hub. The ability to control this was uneven and poorly implemented and is long gone now. I have memories of this being only available for either all lights in the system through the app and needing to use alexa integration to control it at a room/zone level.

I also believe the colorloop effect, though still implemented in hardware, is being deprecated somewhat in the API because it's not listed in the v2 API docs I glanced through just now. That may mean that they have changed the way colorloop is implemented in a fundamental way during firmware updates.

Overall, I can't tell if:

  1. The hardware/firmware supports setting effects on groups, but the v1 API (which is being deprecated) doesn't work correctly any more.
  2. The hardware/firmware does not support setting effects on groups.

I suspect it's actually case 2, since the v2 API doesn't support it, and the v1 API for it doesn't work.

In other words, I'm fairly sure this is a limitation of hue, and not a Z2M bug. But I absolutely cannot prove that.

@gdgib
Copy link

gdgib commented Mar 5, 2023

Please note that this is similar to #16929, but that issue is about using scenes, and the current hue hub,app, & API all support effects through scenes as one would expect. So assuming we can get #16929 fixed, perhaps using scenes would be a valid alternative for the use case here, assuming I'm correct and the problem here really is a hue firmware limitation.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 5, 2023

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Apr 5, 2023
@gdgib
Copy link

gdgib commented Apr 5, 2023

Still working on this. Just slowly.

@github-actions github-actions bot removed the stale Stale issues label Apr 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2023

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label May 6, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2023
@gdgib
Copy link

gdgib commented Jan 25, 2024

Can confirm this is still broken. I haven't forgotten, but obviously I haven't gotten time either.

@Grandma-Betty
Copy link

@gdgib Hi Greg. May I ask what the current state on this is? Thank you!

@valhall453
Copy link

valhall453 commented Sep 13, 2024

Just got some hue bulbs and am also encountering this still. Can activate candle/fireplace individually on each bulb just fine but cannot apply to a group of bulbs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working stale Stale issues
Projects
None yet
Development

No branches or pull requests

7 participants