Hello, complete HA n00b.
I followed the following tutorial:
In my log I’m getting “assertion failed” errors as well as MQTT failed to connect: getaddrinfo ENOTFOUND core-mosquito.
I appreciate any feedback, THANK YOU!
My 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:
server: mqtt://core-mosquito:1883
user: mqtt-user
password: mypassword
serial:
port: /dev/ttyACM0
adapter: ezsp
when I try to open the web UI I get - “502: Bad Gateway”
The Z2M log:
s6-rc: info: service z2m: starting
s6-rc: info: service socat: starting
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service z2m successfully started
s6-rc: info: service socat successfully started
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[16:01:24] INFO: Socat not enabled
[16:01:24] INFO: Handing over control to Zigbee2MQTT Core …
Zigbee2MQTT:info 2022-09-10 16:02:06: Logging to console and directory: ‘/config/zigbee2mqtt/log/2022-09-10.16-02-06’ filename: log.txt
Zigbee2MQTT:info 2022-09-10 16:02:06: Starting Zigbee2MQTT version 1.27.2 (commit #unknown)
Zigbee2MQTT:info 2022-09-10 16:02:06: Starting zigbee-herdsman (0.14.53)
Assertion failed: Command (setConfigurationValue) returned unexpected state: [object Object]
Assertion failed: Command (setConfigurationValue) returned unexpected state: [object Object]
Assertion failed: Command (setValue) returned unexpected state: [object Object]
Assertion failed: Command (setValue) returned unexpected state: [object Object]
Zigbee2MQTT:info 2022-09-10 16:02:08: zigbee-herdsman started (resumed)
Zigbee2MQTT:info 2022-09-10 16:02:08: Coordinator firmware version: ‘{“meta”:{“maintrel”:"3 ",“majorrel”:“6”,“minorrel”:“10”,“product”:8,“revision”:“6.10.3.0 build 297”},“type”:“EZSP v8”}’
Zigbee2MQTT:info 2022-09-10 16:02:08: Currently 0 devices are joined:
Zigbee2MQTT:info 2022-09-10 16:02:08: Zigbee: disabling joining new devices.
Zigbee2MQTT:info 2022-09-10 16:02:08: Connecting to MQTT server at mqtt://core-mosquito:1883
Zigbee2MQTT:error 2022-09-10 16:02:11: MQTT failed to connect: getaddrinfo ENOTFOUND core-mosquito
Zigbee2MQTT:error 2022-09-10 16:02:11: Exiting…
Zigbee2MQTT:info 2022-09-10 16:02:11: Stopping zigbee-herdsman…
Zigbee2MQTT:info 2022-09-10 16:02:12: Stopped zigbee-herdsman
[16:02:12] INFO: Handing over control to Zigbee2MQTT Core …