Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.96k stars 1.67k forks source link

Log is flooded with `Delivery failed` #24206

Open oli737 opened 1 week ago

oli737 commented 1 week ago

What happened?

z2m: Publish 'set' 'state' to 'Stube 1.3' failed: 'Error: ZCL command 0x0017880108bab2b1/11 genLevelCtrl.moveToLevelWithOnOff({"level":0,"transtime":50}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '30722'.)' [2024-10-04 08:56:46]

And

z2m: Publish 'set' 'brightness' to 'Stube 1.1' failed: 'Error: ZCL command 0x0017880108baa365/11 genLevelCtrl.moveToLevelWithOnOff({"level":15,"transtime":10}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '60861'.)'

Just an example the log is full. I am using an zigbee dongle E with Philips Hue E14 ans E27 Lamps on last Firmware. Some lamps did stay randomly turned on and not switching off as expected.

Version is 1.40.2-1

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

I did try reboot, restart all zigbee devices but the log is still full of errors and lamps won't turn off as expected.

Zigbee2MQTT version

1.40.2 commit: unknown

Adapter firmware version

7.4.3 [GA]

Adapter

EmberZNet

Setup

Home Assistant OS

Debug log

No response

Nerivec commented 1 week ago

That error occurs when the device in question cannot be reached by the adapter. Can you try updating to 7.4.4. Some users who had issues with Dongle E fixed them with that new firmware version. If it still doesn't work, please provide a debug log from starting z2m to when the error occurs.

senna1992 commented 1 week ago

Same issue here. HA yellow. FW 7.4.4 did not fix it.

error: z2m: Publish 'set' 'state' to 'Licht.3' failed: 'Error: ZCL command 0xa4c1389de1a8b1f5/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed ({"target":58444,"apsFrame":{"profileId":260,"clusterId":6,"sourceEndpoint":1,"destinationEndpoint":1,"options":4416,"groupId":0,"sequence":199},"zclSequence":82,"commandIdentifier":11} timed out after 10000ms)'

Similar error to many devices. All working just fine.

Also getting this from time to time on some devices:

2024-10-07 03:20:06] error: z2m: Publish 'get' 'power_on_behavior' to 'Licht.9' failed: 'Error: ZCL command 0x9035eafffec6856c/1 genOnOff.read(["startUpOnOff"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'

Nerivec commented 1 week ago

For UNSUPPORTED_ATTRIBUTE, if it does this every time the same read is requested, it just means the device does not support that specific configuration. Usually, it's because you have a model variant that doesn't support this, compared to the "base variant" supported by Z2M.