zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Devices not assigned to a group are switched on/off

Open Teberon opened this issue 2 years ago • 3 comments

What happened?

I have set up Z2M with Mosquitto and MQTT. I have then added the devices and set up groups. Unfortunately, devices outside of one group are also being switched off/on

I have already checked with MQTT explorer and removed all groups there and verified that there are also gone in Z2M as well as in Alexa. But after rebooting and creating new groups the issue comes back, the lights that are being controlled when calling one group is different.

What did you expect to happen?

When asking Alexa or a card in the lovelace to only switch on the light in that group and not others.

How to reproduce it (minimal and precise)

Install Z2M, configure Mosquitto and MQTT, add devices, create groups and add some devices to their group

Zigbee2MQTT version

1.28.2

Adapter firmware version

26780700

Adapter

ConBee2

Debug log

log.txt

Teberon avatar Nov 16 '22 18:11 Teberon

Since collecting logs as described in the debug article please find here the last snippet

Debug 2022-11-16 19:37:17Publishing 'set' 'state' to 'Büro'
Debug 2022-11-16 19:37:17Received Zigbee message from 'Coordinator', type 'commandOn', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 2, ignoring since it is from coordinator
Info 2022-11-16 19:37:17MQTT publish: topic 'zigbee2mqtt/office_01', payload '{"brightness":254,"last_seen":"2022-11-16T18:36:22.246Z","linkquality":255,"power_on_behavior":"on","state":"ON","update":{"state":"idle"},"update_available":false}'
Info 2022-11-16 19:37:17MQTT publish: topic 'zigbee2mqtt/Büro', payload '{"state":"ON"}'
Debug 2022-11-16 19:37:17Received Zigbee message from 'kitchen_door_02', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID null
Info 2022-11-16 19:37:17MQTT publish: topic 'zigbee2mqtt/Küche', payload '{"brightness":254,"state":"ON"}'
Info 2022-11-16 19:37:17MQTT publish: topic 'zigbee2mqtt/kitchen_door_02', payload '{"brightness":254,"last_seen":"2022-11-16T18:37:17.882Z","linkquality":255,"power_on_behavior":"on","state":"ON","update":{"state":"idle"},"update_available":false}'
Debug 2022-11-16 19:37:17Received Zigbee message from 'kitchen_table_01', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID null
Info 2022-11-16 19:37:17MQTT publish: topic 'zigbee2mqtt/kitchen_table_01', payload '{"brightness":254,"last_seen":"2022-11-16T18:37:17.918Z","linkquality":255,"power_on_behavior":"on","state":"ON","update":{"state":"idle"},"update_available":false}'```
![image](https://user-images.githubusercontent.com/25689158/202265200-7ac20cb5-ac2a-4a1f-88bb-0cc997a2648c.png)

![image](https://user-images.githubusercontent.com/25689158/202265275-05b844de-7ff6-4b00-8aec-58512c434a5f.png)

Teberon avatar Nov 16 '22 18:11 Teberon

I am having the same issue. I have 16 lights in lights.office group and 1 light in lights.office-accent group. When I issue a change to the accent group, 3 lights from the office group are changing state.

darko-mijic avatar Nov 21 '22 15:11 darko-mijic

I have fixed the issue by adding devices triggered by error to the group they were not part of and removing them immediately after that.

darko-mijic avatar Nov 24 '22 06:11 darko-mijic

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[bot] avatar Dec 25 '22 00:12 github-actions[bot]