Koenkk / zigbee2mqtt

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

zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT #23761

Open rrakso opened 2 months ago

rrakso commented 2 months ago

What happened?

My ZigBee network just stopped working. And I got this error message: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available.

EDIT:

It seems that this is the main error message zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.


It is also worth mentioning, that when I'm restarting the Home Assistant, then somehow Z2M after reboot causes HA to reboot again, but this time Z2M is not running. I had to switch autostart of Z2M to false, because in other case I will end in reboot loop.

To fix this all I must do is: Unplug adapter > reboot Home Assistant > Start Zigbee2MQTT (it will fail, ok, there is no adapter plugged in) > Start Zigbee2MQTT again > wait some time (2 to 4 s) > plug in adapter. From now on everything is working perfectly!

What did you expect to happen?

I expected that everything should work smoothly as always 😁

How to reproduce it (minimal and precise)

I don't know how to reproduce it. It has happend second time.

Zigbee2MQTT version

1.39.1

Adapter firmware version

7.4.3

Adapter

Sonoff ZBDongle-E with ember

Setup

HA on a Raspberry Pi 3 (rpi3-64)

Debug log

Expand to see ```txt [2024-08-28 09:42:23] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":233,"last_seen":"2024-08-28T09:42:23+02:00","linkquality":200,"maximum_range":5,"minimum_range":0,"presence":false,"radar_sensitivity":4,"target_distance":0}' [2024-08-28 09:42:24] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=135 Len=26]. [2024-08-28 09:42:24] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=135 Len=26]. [2024-08-28 09:42:24] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":233,"last_seen":"2024-08-28T09:42:24+02:00","linkquality":196,"maximum_range":5,"minimum_range":0,"presence":false,"radar_sensitivity":4,"target_distance":0}' [2024-08-28 09:42:51] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":233,"last_seen":"2024-08-28T09:42:51+02:00","linkquality":200,"maximum_range":5,"minimum_range":0,"presence":false,"radar_sensitivity":4,"target_distance":0}' [2024-08-28 09:42:53] error: zh:ember:ezsp: ERROR Transaction failure; status=ASH_ERROR_TIMEOUTS. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=139 Len=7]. [2024-08-28 09:42:53] error: zh:ember: !!! ADAPTER FATAL ERROR reason=ASH_ERROR_TIMEOUTS. !!! [2024-08-28 09:42:53] info: zh:ember: Attempting adapter reset... [2024-08-28 09:42:53] info: zh:ember:uart:ash: ASH COUNTERS since last clear: [2024-08-28 09:42:53] info: zh:ember:uart:ash: Total frames: RX=2291, TX=2766 [2024-08-28 09:42:53] info: zh:ember:uart:ash: Cancelled : RX=0, TX=0 [2024-08-28 09:42:53] info: zh:ember:uart:ash: DATA frames : RX=2237, TX=673 [2024-08-28 09:42:53] info: zh:ember:uart:ash: DATA bytes : RX=52490, TX=17515 [2024-08-28 09:42:53] info: zh:ember:uart:ash: Retry frames: RX=41, TX=5 [2024-08-28 09:42:53] info: zh:ember:uart:ash: ACK frames : RX=13, TX=2088 [2024-08-28 09:42:53] info: zh:ember:uart:ash: NAK frames : RX=0, TX=0 [2024-08-28 09:42:53] info: zh:ember:uart:ash: nRdy frames : RX=0, TX=0 [2024-08-28 09:42:53] info: zh:ember:uart:ash: CRC errors : RX=0 [2024-08-28 09:42:53] info: zh:ember:uart:ash: Comm errors : RX=0 [2024-08-28 09:42:53] info: zh:ember:uart:ash: Length < minimum: RX=0 [2024-08-28 09:42:53] info: zh:ember:uart:ash: Length > maximum: RX=0 [2024-08-28 09:42:53] info: zh:ember:uart:ash: Bad controls : RX=0 [2024-08-28 09:42:53] info: zh:ember:uart:ash: Bad lengths : RX=0 [2024-08-28 09:42:53] info: zh:ember:uart:ash: Bad ACK numbers : RX=0 [2024-08-28 09:42:53] info: zh:ember:uart:ash: Out of buffers : RX=0 [2024-08-28 09:42:53] info: zh:ember:uart:ash: Retry dupes : RX=41 [2024-08-28 09:42:53] info: zh:ember:uart:ash: Out of sequence : RX=0 [2024-08-28 09:42:53] info: zh:ember:uart:ash: ACK timeouts : RX=5 [2024-08-28 09:42:53] info: zh:ember:uart:ash: Port closed. [2024-08-28 09:42:53] info: zh:ember:uart:ash: ======== ASH stopped ======== [2024-08-28 09:42:53] info: zh:ember:ezsp: ======== EZSP stopped ======== [2024-08-28 09:42:53] info: zh:ember: ======== Ember Adapter Stopped ======== [2024-08-28 09:42:54] info: zh:ember: ======== Ember Adapter Starting ======== [2024-08-28 09:42:54] info: zh:ember:ezsp: ======== EZSP starting ======== [2024-08-28 09:42:54] info: zh:ember:uart:ash: ======== ASH Adapter reset ======== [2024-08-28 09:42:55] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control. [2024-08-28 09:42:55] info: zh:ember:uart:ash: Serial port opened [2024-08-28 09:42:55] info: zh:ember:uart:ash: ======== ASH starting ======== [2024-08-28 09:42:56] info: zh:ember:uart:ash: ======== ASH connected ======== [2024-08-28 09:42:56] info: zh:ember:uart:ash: ======== ASH started ======== [2024-08-28 09:42:56] info: zh:ember:ezsp: ======== EZSP started ======== [2024-08-28 09:42:57] info: zh:ember: Adapter EZSP protocol version (13) lower than Host. Switched. [2024-08-28 09:42:57] info: zh:ember: Adapter version info: {"ezsp":13,"revision":"7.4.3 [GA]","build":0,"major":7,"minor":4,"patch":3,"special":0,"type":170} [2024-08-28 09:42:57] info: zh:ember: [STACK STATUS] Network up. [2024-08-28 09:42:57] info: zh:ember: [INIT TC] Adapter network matches config. [2024-08-28 09:42:57] info: zh:ember: [CONCENTRATOR] Started source route discovery. 1248ms until next broadcast. [2024-08-28 09:42:58] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":233,"last_seen":"2024-08-28T09:42:58+02:00","linkquality":136,"maximum_range":5,"minimum_range":0,"presence":false,"radar_sensitivity":4,"target_distance":0}' [2024-08-28 09:43:25] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":233,"last_seen":"2024-08-28T09:43:25+02:00","linkquality":200,"maximum_range":5,"minimum_range":0,"presence":false,"radar_sensitivity":4,"target_distance":0}' [2024-08-28 09:43:25] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":233,"last_seen":"2024-08-28T09:43:25+02:00","linkquality":200,"maximum_range":5,"minimum_range":0,"presence":false,"radar_sensitivity":4,"target_distance":0}' [2024-08-28 09:43:26] error: zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT. [2024-08-28 09:43:26] error: zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR [2024-08-28 09:43:26] error: zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR. [2024-08-28 09:43:27] error: zh:ember: !!! ADAPTER FATAL ERROR reason=HOST_FATAL_ERROR. !!! [2024-08-28 09:43:27] info: zh:ember: Attempting adapter reset... [2024-08-28 09:43:27] info: zh:ember:uart:ash: ASH COUNTERS since last clear: [2024-08-28 09:43:27] info: zh:ember:uart:ash: Total frames: RX=97, TX=109 [2024-08-28 09:43:27] info: zh:ember:uart:ash: Cancelled : RX=0, TX=0 [2024-08-28 09:43:27] info: zh:ember:uart:ash: DATA frames : RX=77, TX=42 [2024-08-28 09:43:27] info: zh:ember:uart:ash: DATA bytes : RX=1512, TX=569 [2024-08-28 09:43:27] info: zh:ember:uart:ash: Retry frames: RX=17, TX=3 [2024-08-28 09:43:27] info: zh:ember:uart:ash: ACK frames : RX=1, TX=63 [2024-08-28 09:43:27] info: zh:ember:uart:ash: NAK frames : RX=0, TX=0 [2024-08-28 09:43:27] info: zh:ember:uart:ash: nRdy frames : RX=0, TX=0 [2024-08-28 09:43:27] info: zh:ember:uart:ash: CRC errors : RX=0 [2024-08-28 09:43:27] info: zh:ember:uart:ash: Comm errors : RX=0 [2024-08-28 09:43:27] info: zh:ember:uart:ash: Length < minimum: RX=0 [2024-08-28 09:43:27] info: zh:ember:uart:ash: Length > maximum: RX=0 [2024-08-28 09:43:27] info: zh:ember:uart:ash: Bad controls : RX=0 [2024-08-28 09:43:27] info: zh:ember:uart:ash: Bad lengths : RX=0 [2024-08-28 09:43:27] info: zh:ember:uart:ash: Bad ACK numbers : RX=0 [2024-08-28 09:43:27] info: zh:ember:uart:ash: Out of buffers : RX=0 [2024-08-28 09:43:27] info: zh:ember:uart:ash: Retry dupes : RX=17 [2024-08-28 09:43:27] info: zh:ember:uart:ash: Out of sequence : RX=0 [2024-08-28 09:43:27] info: zh:ember:uart:ash: ACK timeouts : RX=3 [2024-08-28 09:43:27] error: zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR. [2024-08-28 09:43:29] error: zh:ember:uart:ash: ASH disconnected: ASH_ERROR_RESET_FAIL | Adapter status: ASH_NCP_FATAL_ERROR [2024-08-28 09:43:29] error: zh:ember:uart:ash: ASH disconnected: ASH_ERROR_RESET_FAIL | Adapter status: ASH_NCP_FATAL_ERROR [2024-08-28 09:43:33] info: zh:ember:uart:ash: Port closed. [2024-08-28 09:43:35] info: zh:ember:uart:ash: ======== ASH stopped ======== [2024-08-28 09:43:36] info: zh:ember:ezsp: ======== EZSP stopped ======== [2024-08-28 09:43:36] info: zh:ember: ======== Ember Adapter Stopped ======== [2024-08-28 09:43:37] error: zh:ember:ezsp: ERROR Transaction failure; status=ASH_ERROR_TIMEOUTS. Last Frame: [FRAME: ID=0:"VERSION" Seq=0 Len=0]. [2024-08-28 09:43:37] error: zh:ember: !!! ADAPTER FATAL ERROR reason=ASH_ERROR_TIMEOUTS. !!! [2024-08-28 09:43:37] info: zh:ember: Attempting adapter reset... [2024-08-28 09:43:37] info: zh:ember:uart:ash: ASH COUNTERS since last clear: [2024-08-28 09:43:37] info: zh:ember:uart:ash: Total frames: RX=0, TX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: Cancelled : RX=0, TX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: DATA frames : RX=0, TX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: DATA bytes : RX=0, TX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: Retry frames: RX=0, TX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: ACK frames : RX=0, TX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: NAK frames : RX=0, TX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: nRdy frames : RX=0, TX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: CRC errors : RX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: Comm errors : RX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: Length < minimum: RX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: Length > maximum: RX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: Bad controls : RX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: Bad lengths : RX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: Bad ACK numbers : RX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: Out of buffers : RX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: Retry dupes : RX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: Out of sequence : RX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: ACK timeouts : RX=0 [2024-08-28 09:43:37] info: zh:ember:uart:ash: ======== ASH stopped ======== [2024-08-28 09:43:37] info: zh:ember:ezsp: ======== EZSP stopped ======== [2024-08-28 09:43:37] info: zh:ember: ======== Ember Adapter Stopped ======== [2024-08-28 09:43:37] info: zh:ember: ======== Ember Adapter Starting ======== [2024-08-28 09:43:37] info: zh:ember:ezsp: ======== EZSP starting ======== [2024-08-28 09:43:37] info: zh:ember:uart:ash: ======== ASH Adapter reset ======== [2024-08-28 09:43:38] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control. [2024-08-28 09:43:38] info: zh:ember:uart:ash: Serial port opened [2024-08-28 09:43:38] info: zh:ember:uart:ash: ======== ASH starting ======== [2024-08-28 09:43:38] info: zh:ember: ======== Ember Adapter Starting ======== [2024-08-28 09:43:38] info: zh:ember:ezsp: ======== EZSP starting ======== [2024-08-28 09:43:38] info: zh:ember:uart:ash: ======== ASH Adapter reset ======== [2024-08-28 09:43:38] info: zh:ember:uart:ash: ======== ASH starting ======== [2024-08-28 09:43:39] info: zh:ember:uart:ash: ======== ASH connected ======== [2024-08-28 09:43:40] info: zh:ember:uart:ash: ======== ASH started ======== [2024-08-28 09:43:40] info: zh:ember:ezsp: ======== EZSP started ======== [2024-08-28 09:43:40] info: zh:ember:uart:ash: ======== ASH started ======== [2024-08-28 09:43:40] info: zh:ember:ezsp: ======== EZSP started ======== [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] info: zh:ember: Adapter EZSP protocol version (13) lower than Host. Switched. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] info: zh:ember: Adapter EZSP protocol version (13) lower than Host. Switched. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] info: zh:ember: Adapter version info: {"ezsp":13,"revision":"7.4.3 [GA]","build":0,"major":7,"minor":4,"patch":3,"special":0,"type":170} [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] info: zh:ember: Adapter version info: {"ezsp":13,"revision":"7.4.3 [GA]","build":0,"major":7,"minor":4,"patch":3,"special":0,"type":170} [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember:ezsp: Found no buffer in queue but ASH layer sent signal that one was available. [2024-08-28 09:43:40] error: zh:ember: Failed to reset and init adapter. Error: Failed to register endpoint '1' with status=ZIGBEE_EZSP_ERROR. [2024-08-28 09:43:40] info: zh:ember:uart:ash: ASH COUNTERS since last clear: [2024-08-28 09:43:40] info: zh:ember:uart:ash: Total frames: RX=37, TX=75 [2024-08-28 09:43:40] info: zh:ember:uart:ash: Cancelled : RX=0, TX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: DATA frames : RX=36, TX=37 [2024-08-28 09:43:40] info: zh:ember:uart:ash: DATA bytes : RX=246, TX=394 [2024-08-28 09:43:40] info: zh:ember:uart:ash: Retry frames: RX=0, TX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: ACK frames : RX=0, TX=37 [2024-08-28 09:43:40] info: zh:ember:uart:ash: NAK frames : RX=0, TX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: nRdy frames : RX=0, TX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: CRC errors : RX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: Comm errors : RX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: Length < minimum: RX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: Length > maximum: RX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: Bad controls : RX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: Bad lengths : RX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: Bad ACK numbers : RX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: Out of buffers : RX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: Retry dupes : RX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: Out of sequence : RX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: ACK timeouts : RX=0 [2024-08-28 09:43:40] info: zh:ember:uart:ash: Port closed. [2024-08-28 09:43:40] info: zh:ember:uart:ash: ======== ASH stopped ======== [2024-08-28 09:43:40] info: zh:ember:ezsp: ======== EZSP stopped ======== [2024-08-28 09:43:41] info: zh:ember: ======== Ember Adapter Stopped ======== [2024-08-28 09:43:41] error: z2m: Adapter disconnected, stopping [2024-08-28 09:43:41] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"offline"}' [2024-08-28 09:43:41] info: z2m: Disconnecting from MQTT server [2024-08-28 09:43:41] info: z2m: Stopping zigbee-herdsman... [2024-08-28 09:43:41] info: z2m: Stopped zigbee-herdsman [2024-08-28 09:43:41] info: z2m: Stopped Zigbee2MQTT ```
rrakso commented 2 months ago

It has happened today twice :c

I see some of

[2024-08-29 20:57:01] error:    zh:ember:ezsp: ERROR Transaction failure; status=ASH_ERROR_TIMEOUTS. Last Frame: [FRAME: ID=83:"SET_CONFIGURATION_VALUE" Seq=12 Len=6].
Nerivec commented 2 months ago

You are getting different errors here, so, at first glance, it would point to the adapter being unstable. Did you look into removing possible sources of interference for the USB? (I see you are on a Pi, so, powered USB hub, extension cable, etc...) Since you are also getting troubles with HA<>Z2M, make sure your Pi isn't having issues (check system logs, power supply, hardware, etc).

Note: September 1st release should also help on some edge-cases interference issues (2.4GHz ones).

rrakso commented 2 months ago

Thank you very much @Nerivec! I will make sure that power supply isn't the problem - I need to find somewhere a 5V 3A power supply, currently I'm using strong phone charger.

The dongle is connected directly to the RPi. Also I'll be waiting for the September 1st release to check it will help somehow :D Thank you so much for your reply @Nerivec.

PS For me these error messages like ASH_ERROR / ERROR_WRONG_DIRECTION says nothing :/ I mean I don't know how to fix them on my own. This is why I appreciate your help so much.

PPS The RPi + Zigbee coordinator are very close to my router 2.4GHz/5GHz router.

Nerivec commented 2 months ago

Interference can result is various errors that don't actually have any meaning because they are randomly triggered. Once this is improved/fixed, then we can see what errors remain, if any.

The Pi is known for causing USB troubles. Make sure to use a USB extension cord to connect the adapter to it, so you can place it farther away from the Pi. A powered USB hub (a USB hub with it's own power supply, so it doesn't draw on the Pi) also fixed several problems for other users in the past.

As for your router, if you haven't already, make sure your 2.4GHz WiFi and your ZigBee use very different channels. Usually, channel 20 or 25 for ZigBee is your best bet. You can also check channels usage around you with ember-zli.

zigbee-wifi-channels Note: ember supports changing channel, so you shouldn't need to re-pair many devices (only a few capricious ones, if any).

rrakso commented 2 months ago

Now I'm using the v1.40.0-1 of zigbee2mqtt and the problem has happened again... :/.

In a period of 2 hours (before the fatal error occurred) I got five times error: zh:ember:ezsp: ERROR transaction failure; status=ERROR_WRONG_DIRECTION. Last frame: [FRAME: ID=52:"SEND_UNICAST" Seq=<number> Len=<number>].

And these were the last errors:

[2024-09-03 10:09:28] error: zh:ember:uart:ash: Received ERROR from adapter with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[2024-09-03 10:09:30] error: zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR
[2024-09-03 10:09:31] error: zh:ember:uart:ash: Error parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-09-03 10:09:32] error: zh:ember: Adapter fatal error: HOST_FATAL_ERROR

Before I try to test the USB cable extension / powered USB hub, perhaps I should reflash my adapter with firmware with a different baud rate? Currently I'm using the 230400 version, should I use the 115200 version? What do you think @Nerivec?

The rest of the log ("duplicates" removed) ``` [2024-09-03 08:08:43] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":128,"last_seen":"2024-09-03T08:08:43+02:00","linkquality":208,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 08:09:20] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":128,"last_seen":"2024-09-03T08:09:20+02:00","linkquality":208,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 08:09:20] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=220 Len=19]. [2024-09-03 08:09:20] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=220 Len=19]. [2024-09-03 08:09:20] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":128,"last_seen":"2024-09-03T08:09:20+02:00","linkquality":208,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:02:21] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:02:21+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:02:22] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:02:22+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:02:22] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=11 Len=26]. [2024-09-03 10:02:22] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=11 Len=26]. [2024-09-03 10:02:22] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:02:22+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:02:22] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:02:22+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:02:55] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:02:55+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:02:55] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:02:55+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:02:55] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=33 Len=16]. [2024-09-03 10:02:55] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=33 Len=16]. [2024-09-03 10:02:55] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:02:55+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:02:55] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:02:55+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:03:19] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:03:19+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:03:19] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=49 Len=26]. [2024-09-03 10:03:19] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=49 Len=26]. [2024-09-03 10:03:20] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:03:20+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:07:19] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:07:19+02:00","linkquality":216,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:07:19] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:07:19+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:07:19] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=210 Len=26]. [2024-09-03 10:07:19] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=210 Len=26]. [2024-09-03 10:07:19] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:07:19+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:09:17] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:09:17+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:09:17] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:09:17+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:09:17] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:09:17+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:09:17] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=33 Len=9]. [2024-09-03 10:09:19] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_WRONG_DIRECTION. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=33 Len=9]. [2024-09-03 10:09:28] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:09:27+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:09:28] error: zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT. [2024-09-03 10:09:30] error: zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR [2024-09-03 10:09:31] error: zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR. [2024-09-03 10:09:32] error: zh:ember: Adapter fatal error: HOST_FATAL_ERROR [2024-09-03 10:09:32] info: zh:ember:uart:ash: ASH COUNTERS since last clear: [2024-09-03 10:09:32] info: zh:ember:uart:ash: Total frames: RX=3450, TX=4125 [2024-09-03 10:09:32] info: zh:ember:uart:ash: Cancelled : RX=0, TX=0 [2024-09-03 10:09:32] info: zh:ember:uart:ash: DATA frames : RX=3327, TX=1017 [2024-09-03 10:09:32] info: zh:ember:uart:ash: DATA bytes : RX=77404, TX=26462 [2024-09-03 10:09:32] info: zh:ember:uart:ash: Retry frames: RX=97, TX=9 [2024-09-03 10:09:32] info: zh:ember:uart:ash: ACK frames : RX=25, TX=3099 [2024-09-03 10:09:32] info: zh:ember:uart:ash: NAK frames : RX=0, TX=0 [2024-09-03 10:09:32] info: zh:ember:uart:ash: nRdy frames : RX=0, TX=0 [2024-09-03 10:09:32] info: zh:ember:uart:ash: CRC errors : RX=0 [2024-09-03 10:09:32] info: zh:ember:uart:ash: Comm errors : RX=0 [2024-09-03 10:09:32] info: zh:ember:uart:ash: Length < minimum: RX=0 [2024-09-03 10:09:32] info: zh:ember:uart:ash: Length > maximum: RX=0 [2024-09-03 10:09:32] info: zh:ember:uart:ash: Bad controls : RX=0 [2024-09-03 10:09:32] info: zh:ember:uart:ash: Bad lengths : RX=0 [2024-09-03 10:09:32] info: zh:ember:uart:ash: Bad ACK numbers : RX=0 [2024-09-03 10:09:32] info: zh:ember:uart:ash: Out of buffers : RX=0 [2024-09-03 10:09:32] info: zh:ember:uart:ash: Retry dupes : RX=97 [2024-09-03 10:09:32] info: zh:ember:uart:ash: Out of sequence : RX=0 [2024-09-03 10:09:32] info: zh:ember:uart:ash: ACK timeouts : RX=9 [2024-09-03 10:09:36] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:09:34+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:09:38] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:09:37+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:09:39] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:09:39+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:09:39] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":220,"last_seen":"2024-09-03T10:09:39+02:00","linkquality":212,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":2,"target_distance":0}' [2024-09-03 10:09:40] info: zh:ember:uart:ash: Port closed. [2024-09-03 10:09:40] info: zh:ember:uart:ash: ======== ASH stopped ======== [2024-09-03 10:09:40] info: zh:ember:ezsp: ======== EZSP stopped ======== [2024-09-03 10:09:40] info: zh:ember: ======== Ember Adapter Stopped ======== [2024-09-03 10:09:40] error: z2m: Adapter disconnected, stopping [2024-09-03 10:09:40] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"offline"}' [2024-09-03 10:09:40] info: z2m: Disconnecting from MQTT server [2024-09-03 10:09:40] info: z2m: Stopping zigbee-herdsman... [2024-09-03 10:09:40] info: z2m: Stopped zigbee-herdsman [2024-09-03 10:09:40] info: z2m: Stopped Zigbee2MQTT ```
Nerivec commented 2 months ago

I don't think the baudrate would create this particular issue, but 115200 is definitely more tested than any other. For ERROR_WRONG_DIRECTION, there is more info/tests going on in https://github.com/Koenkk/zigbee2mqtt/issues/22863

rrakso commented 2 months ago

@Nerivec could you please tell me what these errors mean? Maybe I can find out how to fix this too, haha

[2024-09-04 19:38:42] error:    zh:ember:ezsp: ERROR Transaction failure; status=ERROR_TRUNCATED. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=108 Len=7].
[2024-09-04 19:38:42] error:    zh:ember: Adapter fatal error: ERROR_TRUNCATED

After these errors the zigbee2mqtt stopped working.

Now I am using a better power supply with a better cable (but I still don't have the you know the strong 5V 3A real one - but it worked so long with the old type :c really strange), but the baud is still 230400. Today I will reflash the dongle to 115200 to see if that helps.

The rest of the log ``` [2024-09-04 19:38:41] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/sensor', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":15,"last_seen":"2024-09-04T19:38:41+02:00","linkquality":176,"maximum_range":4,"minimum_range":0,"presence":false,"radar_sensitivity":3,"target_distance":0}' [2024-09-04 19:38:42] error: zh:ember:ezsp: ERROR Transaction failure; status=ERROR_TRUNCATED. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=108 Len=7]. [2024-09-04 19:38:42] error: zh:ember: Adapter fatal error: ERROR_TRUNCATED [2024-09-04 19:38:42] info: zh:ember:uart:ash: ASH COUNTERS since last clear: [2024-09-04 19:38:42] info: zh:ember:uart:ash: Total frames: RX=9429, TX=11492 [2024-09-04 19:38:42] info: zh:ember:uart:ash: Cancelled : RX=0, TX=0 [2024-09-04 19:38:42] info: zh:ember:uart:ash: DATA frames : RX=9155, TX=2843 [2024-09-04 19:38:42] info: zh:ember:uart:ash: DATA bytes : RX=211252, TX=73968 [2024-09-04 19:38:42] info: zh:ember:uart:ash: Retry frames: RX=226, TX=34 [2024-09-04 19:38:42] info: zh:ember:uart:ash: ACK frames : RX=48, TX=8615 [2024-09-04 19:38:42] info: zh:ember:uart:ash: NAK frames : RX=0, TX=0 [2024-09-04 19:38:42] info: zh:ember:uart:ash: nRdy frames : RX=0, TX=0 [2024-09-04 19:38:42] info: zh:ember:uart:ash: CRC errors : RX=0 [2024-09-04 19:38:42] info: zh:ember:uart:ash: Comm errors : RX=0 [2024-09-04 19:38:42] info: zh:ember:uart:ash: Length < minimum: RX=0 [2024-09-04 19:38:42] info: zh:ember:uart:ash: Length > maximum: RX=0 [2024-09-04 19:38:42] info: zh:ember:uart:ash: Bad controls : RX=0 [2024-09-04 19:38:42] info: zh:ember:uart:ash: Bad lengths : RX=0 [2024-09-04 19:38:42] info: zh:ember:uart:ash: Bad ACK numbers : RX=0 [2024-09-04 19:38:42] info: zh:ember:uart:ash: Out of buffers : RX=0 [2024-09-04 19:38:42] info: zh:ember:uart:ash: Retry dupes : RX=226 [2024-09-04 19:38:42] info: zh:ember:uart:ash: Out of sequence : RX=0 [2024-09-04 19:38:42] info: zh:ember:uart:ash: ACK timeouts : RX=34 [2024-09-04 19:38:42] info: zh:ember:uart:ash: Port closed. [2024-09-04 19:38:42] info: zh:ember:uart:ash: ======== ASH stopped ======== [2024-09-04 19:38:42] info: zh:ember:ezsp: ======== EZSP stopped ======== [2024-09-04 19:38:42] info: zh:ember: ======== Ember Adapter Stopped ======== [2024-09-04 19:38:42] error: z2m: Adapter disconnected, stopping [2024-09-04 19:38:43] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"offline"}' [2024-09-04 19:38:43] info: z2m: Disconnecting from MQTT server [2024-09-04 19:38:43] info: z2m: Stopping zigbee-herdsman... [2024-09-04 19:38:43] info: z2m: Stopped zigbee-herdsman [2024-09-04 19:38:43] info: z2m: Stopped Zigbee2MQTT ```

PS

Regarding #22863 - I have one of these 😅

Nerivec commented 2 months ago
    /** The direction flag in the frame control field was incorrect. */
    ERROR_WRONG_DIRECTION = 0x32,
    /**
     * The truncated flag in the frame control field was set, indicating there was not enough memory available to
     * complete the response or that the response would have exceeded the maximum EZSP frame length.
     */
    ERROR_TRUNCATED = 0x33,
    /**
     * The overflow flag in the frame control field was set, indicating one or more callbacks occurred since the previous
     * response and there was not enough memory available to report them to the Host.
     */
    ERROR_OVERFLOW = 0x34,

From https://github.com/Koenkk/zigbee-herdsman/blob/master/src/adapter/ember/enums.ts#L755

But as mentioned before, with the varying errors, it looks like interference, which may result in errors that would not necessarily mean anything (except something interfered 😛).

I have one of these

Try to temporarily remove that device from the network if you can, see if it works better after that. That device creates some strange behaviors for sure.

rrakso commented 1 month ago

So after a week of testing I have unplugged the ZY-M100-S_2 and everything seems to work pretty good!

I still have the problem that I have to disconnect and reconnect the adapter after rebooting the Raspberry Pi[^2], but I was able to switch to the previously used power supply two days ago and everything still works fine!

In the next two weeks I plan to temporarily run my HA with Z2M on an old laptop (with a better processor than RPI, and with 4GB of RAM instead of the 1GB it currently has). And then I will try again to use the occupancy sensor.

[^2]: When I try to start Z2M after the RPI reboot, all I see is the addon starting, some logs: [10:37:16] INFO: Preparing to start... [10:37:16] INFO: Socat not enabled [10:37:16] INFO: Starting Zigbee2MQTT... Starting Zigbee2MQTT without watchdog. and then I got an error message from HA saying "connection lost, trying to reconnect". (The HA reboots? Can I see logs before the reboot crash?

Nerivec commented 1 month ago

Quick note, not sure what step you are on, but make sure to update to 7.4.4 too, it seems to have fixed several problems for a few users.

mafnaa commented 1 week ago

I was getting code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT every time during firmware update of Sonoff's TRVZB valve. Tried multiple firmwares with same negative result until finally was able to complete update on 7.4.4, specifically this one https://github.com/darkxst/silabs-firmware-builder/blob/main/firmware_builds/zbdonglee/ncp-uart-hw-v7.4.4.0-zbdonglee-115200.gbl