What the heck is socat? I don’t have that in mine, but I also don’t see any part of the previous user’s config that shows that enabled. People posting monolithic config blocks (indented and with multiple sections) like francisp did above are unhelpful and confusing since the config page no longer seems to edit/display the config in that manner.
How is anyone supposed to know if a guide is outdated? Stuff seems to change and break so often, that guides aren’t even reliable?
I’m trying to follow the “official” guide (as linked, and as directly off the site), but I can’t get the dang thing working either.
My setup is strictly as-bundled defaults, in this section, itself labeled “socat”:
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
(again: these are defaults that the add-on installed with, if something is wrong - don’t tell me it’s wrong, tell the package maintainers)
Blank “mqtt” section (as instructed, since I use Mosquitto)
And the “serial” section:
port: >-
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2496070-if00
adapter: deconz
And then, the logs:
[00:39:44] INFO: Preparing to start...
[00:39:44] INFO: Socat not enabled
[00:39:46] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2024-01-13 00:39:51: Logging to console and directory: '/config/zigbee2mqtt/log/2024-01-13.00-39-51' filename: log.txt
Zigbee2MQTT:info 2024-01-13 00:39:51: Starting Zigbee2MQTT version 1.35.1 (commit #unknown)
Zigbee2MQTT:info 2024-01-13 00:39:51: Starting zigbee-herdsman (0.30.0)
Zigbee2MQTT:info 2024-01-13 00:39:51: zigbee-herdsman started (resumed)
Zigbee2MQTT:info 2024-01-13 00:39:51: Coordinator firmware version: '{"meta":{"maintrel":0,"majorrel":38,"minorrel":120,"product":0,"revision":"0x26780700","transportrev":0},"type":"ConBee2/RaspBee2"}'
Zigbee2MQTT:info 2024-01-13 00:39:56: Currently 0 devices are joined:
Zigbee2MQTT:info 2024-01-13 00:39:56: Zigbee: disabling joining new devices.
… and it just hangs there, “running” forever, but “502 bad gateway”, never seems to finish starting up.
Beginning to think Zigbee and Home Assistant just aren’t meant to work together.
edit: It finally finished (??? DOING WHAT ???) about 5 minutes later, claimed success, Web UI loaded, and then I proceeded to spend the next hour trying to get any device to “pair” with it. Clearly in pairing mode, flashing away, and with “allow join” enabled, nothing ever appears. I give up. The ConBee II is going in the trash and it’ll take some time to get over this experience and try Zigbee in HA again.