Short: Zigbee2MQTT won’t start on HASS
I have done a search, nothing that seems to help but I may have missed something.
Hi folks, I’m trying to get ZigBee2MQTT working with an Ethernet GW (HMG-01). I can’t seem to get HASS to start Zigbee2MQTT
Config:
data_path: /config/zigbee2mqtt
socat:
enabled: true
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: true
frontend: true
mqtt:
serial:
port: tcp://192.168.A.B:6638
baudrate: 115200
disable_led: false
advanced:
transmit_power: 20
serial: {}
HASS running on an HP EliteDesk
Core
2024.9.3
Supervisor
2024.09.1
Operating System
13.1
Frontend
20240909.1
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:
serial:
port: tcp://192.168.A.B:6638
baudrate: 115200
disable_led: false
advanced:
transmit_power: 20
serial: {}
config # docker logs a147c08c861a
[21:55:58] INFO: Preparing to start...
[21:55:58] INFO: Socat enabled
[21:55:58] INFO: Starting socat
Socat startup parameters:
Options: -d -d
Master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[21:55:58] INFO: Starting socat process ...
2024/09/24 21:55:58 socat[47] N PTY is /dev/pts/2
2024/09/24 21:55:58 socat[47] N listening on AF=2 0.0.0.0:8485
config # docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a147c08c861a zigbee2mqtt/zigbee2mqtt-amd64:1.40.1-1 "/sbin/tini -- /dock…" 7 minutes ago Exited (1) 7 minutes ago addon_45df7312_zigbee2mqtt
I can ping and access the web interface on
192.168.A.B (it is a real valid address).
Socat startup parameters:
Options: -d -d
Master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[21:38:33] INFO: Starting socat process ...
2024/09/24 21:38:33 socat[47] N PTY is /dev/pts/2
2024/09/24 21:38:33 socat[47] N listening on AF=2 0.0.0.0:8485
[21:55:58] INFO: Preparing to start...
[21:55:58] INFO: Socat enabled
[21:55:58] INFO: Starting socat
Socat startup parameters:
Options: -d -d
Master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[21:55:58] INFO: Starting socat process ...
2024/09/24 21:55:58 socat[47] N PTY is /dev/pts/2
2024/09/24 21:55:58 socat[47] N listening on AF=2 0.0.0.0:8485