zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Z2M cannot start with SLZB-06M

Open maciekdnd opened this issue 7 months ago • 6 comments

What happened?

I'm unable to start Z2M. I see only errors like here:

[2024-07-17 16:25:33] error: zh:ember:uart:ash: Received unexpected reset from NCP, with reason=RESET_SOFTWARE. [2024-07-17 16:25:33] error: zh:ember:uart:ash: ASH disconnected: ASH_ERROR_NCP_RESET | NCP status: ASH_NCP_FATAL_ERROR [2024-07-17 16:25:33] error: zh:ember:uart:ash: Error while parsing received frame, status=HOST_FATAL_ERROR. [2024-07-17 16:25:33] error: zh:ember: !!! NCP FATAL ERROR reason=HOST_FATAL_ERROR. ATTEMPTING RESET... !!! [2024-07-17 16:25:36] error: zh:ember:uart:ash: Received unexpected reset from NCP, with reason=RESET_SOFTWARE. [2024-07-17 16:25:36] error: zh:ember:uart:ash: ASH disconnected: ASH_ERROR_NCP_RESET | NCP status: ASH_NCP_FATAL_ERROR [2024-07-17 16:25:36] error: zh:ember:uart:ash: Error while parsing received frame, status=HOST_FATAL_ERROR. [2024-07-17 16:25:36] error: zh:ember: !!! NCP FATAL ERROR reason=HOST_FATAL_ERROR. ATTEMPTING RESET... !!! [2024-07-17 16:25:54] error: zh:ember: !!! NCP FATAL ERROR reason=ERROR_SERIAL_INIT. ATTEMPTING RESET... !!! [2024-07-17 16:25:55] error: zh:ember: Failed to reset and init NCP. Error: Stack type 0 is not expected! [2024-07-17 16:25:55] error: z2m: Adapter disconnected, stopping

Strangely enough, Z2M was running perfectly fine for few weeks. Right now I can say it's random. One time it can start without any problems, other time it fails like this. I also tried to update to latest firmware (7.4.3) but I got same response. I have two SLZB-06M in two separate networks (two LXC containers), both behave same.

Part of my config: mqtt: base_topic: z2m_1 server: mqtt://192.168.3.100:1883 user: mqtt_ha password: **** version: 5 keepalive: 60 reject_unauthorized: true serial: port: tcp://192.168.3.11:6638 baudrate: 115200 rtscts: false adapter: ember

I tried to reset controllers by reset by web console, disconnecting them from POE, rebooting containers. Nothing works. During start both works (I see web ui for controllers).

What should I do to get it working?

What did you expect to happen?

Clean Z2M start without errors

How to reproduce it (minimal and precise)

run Z2M: cd /opt/zigbee2mqtt && npm start

Zigbee2MQTT version

1.38.0

Adapter firmware version

20240510

Adapter

SLZB-06M

Setup

Z2M in Proxmox LXC container

Debug log

No response

maciekdnd avatar Jul 17 '24 14:07 maciekdnd