Synology virtual machine with ConbeeII not mounting after restart

Hi All,

I am using HA istalled in an virtual machine within Synolgo ds1621XS+.
It is working fine, but since i am developing i often need a restart.
After restart i can’t find any of my zigbee devices.
When i take a look at the settings i see the ConbeeII is unmounted.


After i remount it manually everything works fine.

To mee, this seems a bit strange, because the dongle for my energy systeem mounts itself every time.

Yesterday i did not do a restart, but when i came home, no zigbee devices, again, a dismounted ConbeeII.

This is very unstable.

I read a lot about the problem, but i don’t think there is a solution with Conbee.
I already tested wit USB2.0, but this didn’t help.
Maybe someone can help me out to set up a stable environment with ohter devices.

Thanks in advance for thinking with me.
Paul

I’ve got the same issue with HA OS running in a KVM/libvirt VM on Linux. It seems like the USB device isn’t done getting setup before the VM boots. Here is the XML definition:

<serial type='dev'>
      <source path='/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2420510-if00'/>
      <target type='usb-serial' port='1'>
        <model name='usb-serial'/>
      </target>
      <alias name='serial1'/>
      <address type='usb' bus='0' port='4'/>
    </serial>

It didn’t work at all passing through the USB device directly instead of making it a ‘usb-serial’ device.

When it fails, I have to delete the device, then re-add it using virsh attach-device hass --file usb.xml --config --persistent.

Does anyone know how to delay the VM startup until the USB devices settles and/or the /dev/serial entry is created?

Thanks!