Everyone with a Synology knows that Synology does not give support for the USB drivers.
Some preinstalled drivers can be loaded with:
/sbin/modprobe usbserial /sbin/modprobe ftdi_sio /sbin/modprobe cdc-acm
So this way we can plug the ConbeeII in a Synology and it will be recognized as /dev/ttyACM0.
But with SkyConnect there are no drivers preinstalled to be able to use it with Synology and then pass it to Home Assistant Docker. SkyConnect needs the cp210x driver.
What I did is clone the repo https://github.com/robertklep/dsm7-usb-serial-drivers in /volume1/homes/admin/ and configure two commands in “Task Scheduler” from Synology.
$ git clone https://github.com/robertklep/dsm7-usb-serial-drivers.git /volume1/homes/admin/usb-drivers
The commands configured are:
cp /volume1/homes/admin/usb-drivers/modules/geminilake/dsm-7.1/* /lib/modules/ bash /volume1/homes/admin/usb-drivers/usb-serial-drivers.sh start
My Synology is a DS720+ with DSM7.1 and Gemini Lake processor.
Change the first line and find your processor model and your DSM version.
Now when you connect the SkyConnect it will be recognized as /dev/ttyUSB0 and you can pass the device to Home Assistant Docker to be automatically recognized.
I hope this can help someone else looking for answers.
This is the docker-compose.yaml I use to start the Home Assistant container.
You must use a docker-compose, or run the docker command with all the options, in order to make the
/dev/ttyUSB0 device be available for Home Assistant inside the container.
Please bear in mind that this is my configuration and you should change some things like the volumes and the timezone.
version: "2" services: homeassistant: image: homeassistant/home-assistant:stable container_name: homeassistant network_mode: host restart: always volumes: - /volume1/docker/homeassistant/config:/config devices: - /dev/ttyUSB0 environment: - TZ=Europe/Madrid