Ok, rebooted, and had to kill off the older homeassistant… then start the containers… and zigbee2mqtt doesn’t want to start:
debug 2022-03-09 20:46:47: Can't load state from file /app/data/state.json (doesn't exist)
info 2022-03-09 20:46:47: Logging to console and directory: '/app/data/log/2022-03-09.20-46-44' filename: log.txt
debug 2022-03-09 20:46:47: Removing old log directory '/app/data/log/2022-03-09.20-36-48'
info 2022-03-09 20:46:47: Starting Zigbee2MQTT version 1.24.0 (commit #7a2ddf2)
info 2022-03-09 20:46:47: Starting zigbee-herdsman (0.14.20)
debug 2022-03-09 20:46:47: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/app/data/coordinator_backup.json","databaseBackupPath":"/app/data/database.db.backup","databasePath":"/app/data/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"/dev/zigbee"}}'
error 2022-03-09 20:47:08: Error while starting zigbee-herdsman
error 2022-03-09 20:47:08: Failed to start zigbee
error 2022-03-09 20:47:08: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
error 2022-03-09 20:47:08: Exiting...
error 2022-03-09 20:47:08: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:102:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
at Zigbee.start (/app/lib/zigbee.ts:58:27)
at Controller.start (/app/lib/controller.ts:100:27)
at start (/app/index.js:101:5)
the homeassistant user is in the dialout group:
homeassistant@gluster2:~/srv/zigbee $ groups
homeassistant dialout gpio i2c
and /dev/zigbee is set up:
ls -l /dev/zigbee
lrwxrwxrwx 1 root root 7 Mar 9 12:39 /dev/zigbee -> ttyACM0
ls -l /dev/ttyACM0
crw-rw---- 1 root dialout 166, 0 Mar 9 12:49 /dev/ttyACM0
THis is left over from before:
cat /etc/udev/rules.d/10-zigbezwave.rules
ACTION=="add", ATTRS{idVendor}=="1cf1", ATTRS{idProduct}=="0030", SYMLINK+="zigbee"
ACTION=="add", ATTRS{idVendor}=="0658", ATTRS{idProduct}=="0200", SYMLINK+="zwave"
Should I get rid of that? It might be confusing the container?