Was having problems with ConBee II dismounting from VM with restarts or when Z2M addon updated. If you are using Z2M and having these problems, solution is actually pretty simple without need to make any modifications to DSM. Just don’t mount it and use ser2net.
- In DSM7 Task Schleduler create script to be run at boot as root
/sbin/modprobe cdc-acm
- Create file to be mounted in docker (eg
/volume1/docker/ser2net/ser2net.yaml)
connection: &con01
accepter: tcp,20108
connector: serialdev,/dev/ttyACM0,115200n81,nobreak,local
options:
kickolduser: true
- Run ser2net in docker container
version: '3.8'
services:
ser2net:
container_name: ser2net
image: ghcr.io/jippi/docker-ser2net
restart: unless-stopped
network_mode: host
ports:
- 20108:20108
volumes:
- /volume1/docker/ser2net/ser2net.yaml:/etc/ser2net/ser2net.yaml:ro
devices:
- /dev/ttyACM0
- Set Zigbee2MQTT addon to use this connection
serial:
port: tcp://<your nas IP>:20108
Or you can ditch ConBee II and use SMLIGHT SLZB-06 which has LAN/PoE connectivity.