#@Sharna That means Z2M can't hit your
1 messages · Page 1 of 1 (latest)
@cold drum Are you sure this is correct?
mqtt:
server: mqtt://[ip address]:1883
user: mqtt_user
password: [password]****
Yes pretty certain. I went to settings - people - users, and created a user. I just double checked the details under users, the z2m config, and the direct config.yaml
Would the front end port effect anything
The server ip address i used is the same ip address as homeassistant. I noticed some people use mosquito core
Unsure if that’s also a potential problem
I don't think so. BBut, according to the docs, you can leave the mqtt settings blank if you are using the MQTT addon as well.
Yeah,, mosquitto core would be the right address, not the IP of your HA instance.
I think it's core-mosquitto:1883?
Apologies - just double checked after restarting HA. The log has reverted back to this error;
z2m: Error: spawn udevadm ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
Did your config file revert to the previous settings?
Yeah it did actually. I’ll reupdate everything
That's, um, odd.
Exact same error
My bad - it didnt reconfigure. Removing the >- just automatically added it again when i hit save so i thought it reverted
Still stuck on ENOENT
Ok. Try removing the addon completely and re-adding it. It should not be adding the port like that.
You have something wonky going on there.
Should i remove mosquito too or just zigbee
Let's just start with Z2M and then if there's issues with MQTT, we can address that next.
Failed to init port with error Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_62c940386cafed11bdea394e71c9e8b5-if00
[2024-07-23 22:47:01] error: z2m: Error while starting zigbee-herdsman
[2024-07-23 22:47:01] error: z2m: Failed to start zigbee
[2024-07-23 22:47:01] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-23 22:47:01] error: z2m: Exiting...
[2024-07-23 22:47:02] 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:889:19)
at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2722:24)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:129:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
at Controller.start (/app/lib/controller.ts:139:27)
at start (/app/index.js:154:5)
OH
It worked!
thanks!
You’re all good now?
Yup, lights are up and running 🙂 thanks heaps for your help