Sonoff Dongle E as Matter Router

Hello,

I am a beginner at HA and am trying to integrate a Matter device for the first time. HA is running in a VM. For Zigbee2Mqtt I use a Sonoff Dongle 3.0 E and everything works. I want to use my second Sonoff Dongle E as an Open Border Router, I have already flashed the Open Thread software on it. I cannot connect this stick to my HA hardware because the VM cannot distinguish between the two sticks and therefore cannot start both.
Can I also connect the stick somewhere else, e.g. to a USB hub and use it as a router? If so, how is it integrated?

Many thanks for your help!

Christoph

A few options come to mind:

  • udev scripts: If you are using libvirt for your VM, you can use scripts to detect the USB device being plugged in/detected or reset and have libvirt pass it to your VM. Here is what I created to do this, which works for the most part, but its a bit of work still.
  • You can possibly reprogram the IDs of the USB device (See here)
  • Use it as a Zigbee Router (See here)