What happened?
I have a Tuya TS0004 installed in my home. Following is the environment information:
Zigbee2MQTT version - 2.5.1
Coordinator type - EmberZNet
Coordinator revision - 7.4.4 [GA]
Frontend version - 0.9.16
zigbee-herdsman-converters version - 23.69.0
zigbee-herdsman version - 4.3.1
Here is the device in Zigbee2MQTT

If I toggle the switch in succession even with a 1 second delay, I frequently get this error. So when the switch toggles from Off to On, nothing happens and its like its stuck. After 10 seconds this error shows up and the light is turned on.
error: z2m: Publish 'set' 'state' to 'Panel - Bedroom' failed: 'Error: ZCL command 0xa4c1389622fe0cd9/2 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed ({"target":61624,"apsFrame":{"profileId":260,"clusterId":6,"sourceEndpoint":1,"destinationEndpoint":2,"options":4416,"groupId":0,"sequence":210},"zclSequence":166,"commandIdentifier":11} timed out after 10000ms)'
What did you expect to happen?
The switch should toggle normally without delay.
When the switch is connected to Tuya gateway, there is no such issue no matter how many times I toggle it.
How to reproduce it (minimal and precise)
- Connect TS0004 to Zigbee2MQTT
- Toggle a switch on and off multiple times
- This issue has been observed on TS0002, TS0003, TS0004.
Zigbee2MQTT version
2.5.1 commit: 5063c7d
Adapter firmware version
7.4.4 [GA]
Adapter
SONOFF Dongle-E
Setup
Zigbee2MQTT running on RaspberryPi Zero 2W with MQTT running on another machine in the same network.
I have the dongle connected via a 2 meter USB cable away from the RaspberryPi.
Linux raspi-zigbee-01 6.6.62+rpt-rpi-v7 #1 SMP Raspbian 1:6.6.62-1+rpt1 (2024-11-25) armv7l GNU/Linux
Raspbian GNU/Linux 12
Debug log
Here is the full stack trace when log_level: debug
[2025-07-09 15:43:40] debug: zh:controller:endpoint: Error: ZCL command 0xa4c1389622fe0cd9/2 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed ({"target":61624,"apsFrame":{"profileId":260,"clusterId":6,"sourceEndpoint":1,"destinationEndpoint":2,"options":4416,"groupId":0,"sequence":22},"zclSequence":19,"commandIdentifier":11} timed out after 10000ms)
at Object.start (/home/kunal/zigbee2mqtt/node_modules/.pnpm/zigbee-herdsman@4.3.1/node_modules/zigbee-herdsman/src/adapter/ember/adapter/oneWaitress.ts:195:23)
at EmberOneWaitress.startWaitingFor (/home/kunal/zigbee2mqtt/node_modules/.pnpm/zigbee-herdsman@4.3.1/node_modules/zigbee-herdsman/src/adapter/ember/adapter/oneWaitress.ts:219:50)
at /home/kunal/zigbee2mqtt/node_modules/.pnpm/zigbee-herdsman@4.3.1/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2035:55
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at runNextTicks (node:internal/process/task_queues:69:3)
at processImmediate (node:internal/timers:459:9)
at Queue.execute (/home/kunal/zigbee2mqtt/node_modules/.pnpm/zigbee-herdsman@4.3.1/node_modules/zigbee-herdsman/src/utils/queue.ts:36:20)
at EmberAdapter.sendZclFrameToEndpoint (/home/kunal/zigbee2mqtt/node_modules/.pnpm/zigbee-herdsman@4.3.1/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1971:16)
at Request.send (/home/kunal/zigbee2mqtt/node_modules/.pnpm/zigbee-herdsman@4.3.1/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:86:20)
at Endpoint.sendRequest (/home/kunal/zigbee2mqtt/node_modules/.pnpm/zigbee-herdsman@4.3.1/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:338:20)
I also keep seeing this in the logs
info: zh:ember:ezsp: Received network/route error ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE for "61624".
What happened?
I have a Tuya TS0004 installed in my home. Following is the environment information:
Here is the device in Zigbee2MQTT

If I toggle the switch in succession even with a 1 second delay, I frequently get this error. So when the switch toggles from Off to On, nothing happens and its like its stuck. After 10 seconds this error shows up and the light is turned on.
What did you expect to happen?
The switch should toggle normally without delay.
When the switch is connected to Tuya gateway, there is no such issue no matter how many times I toggle it.
How to reproduce it (minimal and precise)
Zigbee2MQTT version
2.5.1 commit: 5063c7d
Adapter firmware version
7.4.4 [GA]
Adapter
SONOFF Dongle-E
Setup
Zigbee2MQTT running on RaspberryPi Zero 2W with MQTT running on another machine in the same network.
I have the dongle connected via a 2 meter USB cable away from the RaspberryPi.
Debug log
Here is the full stack trace when
log_level: debugI also keep seeing this in the logs