Sonoff USB 3.0 ZIGBEE VS Synology 720+ DSM 7.2

Hi guys, I’m getting mad about how to set up my new SONOFF USB 3.0 ZIGBEE DONGLE on my Synology 720+ NAS running DSM 7.2 (64570 Update 1).

I was just following this guide, the best I found so far

Of cours I realized the link were given are for DSM 7.0 files, so I found this other link wich should contain DSM 7.2 files for my (geminilake infrastructure) 720+.

Then I run the commands I found on the video (of course I changed with the uplinked DMS 7.2 files)

sudo su

modprobe usbserial
modprobe ftdi_sio
modprobe cdc-acm

cd /lib/modules/

sudo wget https://github.com/robertklep/dsm7-usb-serial-drivers/raw/main/modules/apollolake/dsm-7.2/ch341.ko
sudo insmod /lib/modules/ch341.ko
sudo wget https://github.com/robertklep/dsm7-usb-serial-drivers/raw/main/modules/apollolake/dsm-7.2/cp210x.ko
sudo insmod /lib/modules/cp210x.ko
sudo wget https://github.com/robertklep/dsm7-usb-serial-drivers/raw/main/modules/apollolake/dsm-7.2/pl2303.ko*
sudo insmod /lib/modules/pl2303.ko
sudo wget https://github.com/robertklep/dsm7-usb-serial-drivers/raw/main/modules/apollolake/dsm-7.2/ti_usb_3410_5052.ko
sudo insmod /lib/modules/ti_usb_3410_5052.ko

The installation of ch341.ko went fine, but when I try to launch sudo insmod /lib/modules/ch341.ko i got this error:

insmod: ERROR: could not insert module /lib/modules/ch341.ko.3: Invalid module format

The same happens with other files (cp.210x.to, etc…)

What can I do?

As the Synology 720+ NAS model supports Synology Virtual Machine Manager (VMM) I would recommend installing Zigbee2MQTT in a Virtual Machine (VM) under a Linux OS (such as example Debian 12) instead of installing it directly under the Synlogy DSM (DiskStation Manager) operating-system. All you then need to do is pass-though the USB device port to the Virtual Machine (do a Google-search for “synology virtual machine usb passthrough” and note that the drivers do not need to be installed under the Synlogy DSM OS when using USB pass-through to a VM). Using a virtual machine on a virtualization hypervisor like the Synology Virtual Machine Manager (VMM) also has a few other benefits, like using snapshots of the VMs for backups.

https://www.zigbee2mqtt.io/guide/installation/01_linux.html

1 Like

Agree with @Hedda on this, but also, check your system architecture. Are you user 720+ is Apollolake?

thanx, I will try even if I’m not really expert or pro and, due to this, I’d preferer using ZHA (which I heard is easier if you’re a kook like me) than Z2MQTT.
But I really have no other options, so I’ll give it a try.

720+ is geminilake, I knew this so I found geminilake drivers, but it’s not working

Then suggest that you instead just run “Home Assistant Operating System” in a VM (Virtual Machine) on it and configure USB pass-through to that VM., Download the “VMware ESXi/vSphere (.ova)” variant of Home Assistant OS image from here → https://www.home-assistant.io/installation/alternative and maybe check out this older but still valid guide → Installation on Synology Virtual Machine Managager

Using “Home Assistant Operating System” inside a real VM (Virtual Machine) is an awesome solution. If it turns out you do not like the ZHA integration then you can always install Zigbee2MQTT as a Home Assistant addon inside Home Assistant Operating System on that VM using same USB passthrough.

However note that it is then highly recommended to connect the Zigbee Coordinator USB radio adapter via a USB 2.0 hub as well as a long USB extension cable to get it away from the NAS/computer and any devices connected to, the reason for that being that USB 3.0 ports and devices are infamously known for causing serious EMF/EMI/EMI interference with low-energy 2.4GHz radios like Zigbee. Recommend read and follow this → Zigbee networks: how to guide for avoiding interference and optimize for getting better range + coverage

Another tip mentioned there is that you can buy USB 2.0 to RJ45 Converter Adapters for RJ45 LAN Cables to convert any Ethernet cable into a very long USB extension cable (though using shielded Ethernet Cat6E or better is recommended for conversion as offer better sheiling), see example → https://www.amazon.com/Cat6%EF%BC%8CSNLLMZI-Extender-Extension-Connector-Adapter/dp/B08FMLGNQN

thank you my friend, with your precious help I could make it work.
I’d like to buy you a beer, really!

1 Like

So did you install HAOS in a VM on your Synology NAS? And did you go with USB-passthrough to the built in ZHA integration or the third-party Zigbee2MQTT addon via MQTT?