ConBee II with HA on Synology DSM 7.0 (Virtual Machine)

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.

  1. In DSM7 Task Schleduler create script to be run at boot as root
/sbin/modprobe cdc-acm
  1. 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
  1. 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
  1. 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.