Essentially, I want to run ZHA and Z2M with EMQX. I want to use EMQX because I had some issue with Mosquito and my switches a few months back that sent me back to ZHA, so I thought I’d give EMQX a try.
I know that it’s bad to try running both off the same controller, so I bought two different ones. I’ve got a ZBDongle-P running ZHA with zero issues and after some research I bought a ZBPlus-E and flashed it for Ember to run with Z2M and EMQX.
I followed this tutorial: https://smarthomescene.com/guides/setting-up-emqx-mqtt-broker-in-home-assistant/
Everything seems fine, plugging along. Then come the errors. So, alright, fine. Some people had issues with Sonoff, so I bought a SMLIGHT which was recommended and had a better chip. Updated the firmware, attempted again.
SAME ERROR.
I’m kind of at my wits end with this and I’ve been troubleshooting for several days now. I’ve tried with both a new SMLIGHT SLZB-07 and a SONOFF Plus-E with the same errors.
[13:36:00] INFO: Preparing to start...
[13:36:00] INFO: Socat not enabled
[13:36:01] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-09-22 13:36:02] info: z2m: Logging to console, file (filename: log.log)
[2024-09-22 13:36:02] info: z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
[2024-09-22 13:36:02] info: z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-22 13:36:02] info: zh:ember: Using default stack config.
[2024-09-22 13:36:02] info: zh:ember: ======== Ember Adapter Starting ========
[2024-09-22 13:36:02] info: zh:ember:ezsp: ======== EZSP starting ========
[2024-09-22 13:36:02] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-09-22 13:36:02] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2024-09-22 13:36:02] info: zh:ember:uart:ash: Serial port opened
[2024-09-22 13:36:02] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-09-22 13:36:05] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-09-22 13:36:05] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-09-22 13:36:07] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-09-22 13:36:07] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-09-22 13:36:10] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-09-22 13:36:10] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-09-22 13:36:12] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-09-22 13:36:12] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-09-22 13:36:15] error: z2m: Error while starting zigbee-herdsman
[2024-09-22 13:36:15] error: z2m: Failed to start zigbee
[2024-09-22 13:36:15] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-22 13:36:15] error: z2m: Exiting...
[2024-09-22 13:36:15] error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:701:19)
at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1708:24)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:138:29)
at Zigbee.start (/app/lib/zigbee.ts:64:27)
at Controller.start (/app/lib/controller.ts:140:27)
at start (/app/index.js:154:5)
Any suggestions, please? I’ve deleted EMQX and Z2M. I redone the instructions. I deleted all the old Z2M files from my prior set up. I’ve rebooted the system with and without the stick. I’ve tried everything.
All the tings I’ve read about this error indicate that it’s fixed with firmware, but I’ve got the most recent and no luck.
Here’s the Z2M Config:
data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
mqtt:
base_topic: zigbee2mqtt
server: mqtt://homeassistant:1883
user: UN
password: PW
serial:
port: >-
/dev/serial/by-id/usb-SMLIGHT_SMLIGHT_SLZB-07_[STRING]-if00-port0
adapter: ember
I feel like this has to be something incredibly stupid…like I need to change something somewhere to run BOTH ZHA and Z2M, even on different sticks, but I can’t find anything. I had Z2M working fine a while ago on the ZBDongle-P but had issues with it and swapped to ZHA.
I’d really like to use Z2M for Govee lights and some other stuff, but I don’t want to kill ZHA with all the stuff that’s already set up and working so nicely.
Any suggestions or help? Please?