-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
What happened?
Zigbee2MQTT reports similar APS TIMEOUT
errors throughout a day (see debug log below). The error message is confusing as it suggests some error related to the library code itself. A bit of searching shows this error happens on this line.
What did you expect to happen?
The error message should describe the real issue along with context where the issue happens.
Ideally, no APS TIMEOUT
errors.
How to reproduce it (minimal and precise)
N/A
Zigbee2MQTT version
1.30.1-dev commit: 7605e1e
Adapter firmware version
0x26690700
Adapter
RaspBee II + deCONZ
Debug log
Zigbee2MQTT:error 2023-02-20 08:21:00: Publish 'set' 'state' to 'heated-blankets' failed: 'TypeError: Cannot create property 'message' on string 'APS TIMEOUT''
Zigbee2MQTT:debug 2023-02-20 08:21:00: TypeError: Cannot create property 'message' on string 'APS TIMEOUT'
at Group.command (/app/node_modules/zigbee-herdsman/src/controller/model/group.ts:224:26)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:538:9)
at processTimers (node:internal/timers:512:7)
at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/converters/toZigbee.js:294:17)
at Publish.onMQTTMessage (/app/lib/extension/publish.ts:247:36)
Zigbee2MQTT:info 2023-02-20 08:21:00: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to 'heated-blankets' failed: 'TypeError: Cannot create property 'message' on string 'APS TIMEOUT''","meta":{"friendly_name":"heated-blankets"},"type":"zigbee_publish_error"}'
Zigbee2MQTT:debug 2023-02-20 08:21:00: Received Zigbee message from 'plug/heated-blanket', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID null
Zigbee2MQTT:info 2023-02-20 08:21:00: MQTT publish: topic 'zigbee2mqtt/plug/heated-blanket', payload '{"linkquality":255,"state":"OFF","update":{"installed_version":4352,"latest_version":4099,"state":"idle"},"update_available":false}'