Koenkk / zigbee2mqtt

Zigbee šŸ to MQTT bridge šŸŒ‰, get rid of your proprietary Zigbee bridges šŸ”Ø
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.97k stars 1.67k forks source link

Error: ZCL command genOnOff.on (continuation of #22189) #24375

Open majkers opened 2 days ago

majkers commented 2 days ago

What happened?

This is a continuation of IMHO mistakenly closed issue #22189. From time to time. It is hard to tell exactly when but one of my coordinators ie. Xiaomi ZNCZ02LM fails with an error:

[2024-10-17 12:10:31] error: z2m: Publish 'set' 'state' to 'gniazdko_xiaomi' failed: 'Error: ZCL command 0x00158d0002347282/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Timeout - 18793 - 1 - 88 - 6 - 11 after 10000ms)'

And since it is a coordinator, all of my devices connected to it fall out off the mesh network. As it is continuation of https://github.com/Koenkk/zigbee2mqtt/issues/22189 you can see that it is a problem of many coordinators with many hardwares.

I tested it with Conbee II then moved to Sonoff ZBDongle-P with firmware version 20240710 and then moved back to 20230507 but it doesn't help.

I've also noticed that trying to set state via frontend to my socket sometimes do change it as I hear the click sound but there is no confirmation in z2m state and then I see an error mentioned above.

What did you expect to happen?

I expect those errors not to happen

How to reproduce it (minimal and precise)

There is no real reporducer. Maybe setting on/off state quickly.

Zigbee2MQTT version

1.40.2

Adapter firmware version

tested with 20230507 and 20240710

Adapter

Conbee II and Sonoff ZBDongle-P

Setup

Add on on Home Assistant OS

Debug log

No response

majkers commented 2 days ago

I know from https://github.com/Koenkk/zigbee2mqtt/issues/22961 that this: Timeout - 18793 - 1 - 88 - 6 - 11 after 10000ms can mean a lot. But. My netowrk is many years old and I never had any issues with it. It all started more or less 6 months ago. I even migrated to Sonoff from Conbee to stabilize it since it was not reommended adapter.