Sonoff 3.0 Dongle-E

Hi all! I have issues with my HA instance and my new Sonoff Dongle E. I have a dedicated pc with proxmox and i created i vm with home assistant. The dongle was working fine but after some weeks all my zigbee devices were offline. Checking the hardware from HA i noticed that the sonoff disapperead. I tryed a lot, but nothing. The only trick was to reboot the pc.

So i changed the host, and used my laptop with fedora. I installed KVM and i created a vm with a new instance of home assistant. It eorked a day, but after the night the sonoff disapperead again. The strange thing is that from “lsusb” command on fedora terminal, it is listed, so seems that is working. On KVM is present but on HA not. The only trick is to reboot the host.

Does someone have the same problem? What should i do?

What USB device is mapped to the VM?
For docker I mapped the device “by-id” as that’s a constant and does not change through insertions/removals:

devices:
      - /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220811144852-if00

I tried all, by-id by-path and directly /dev/ttyAMC0. but the problem is before, i don’t see the hardware in HA

In the syslog/messages on the physical host (Proxmox or Fedora) do you see a removal message for the USB device before it disappears from HA?
Is the device on a known good USB port, could it be a hardware problem with that port? Can you try another physical port which is on a different USB header?

i am sure that the usb ports are working fine and no, no message on fedora or proxmox

I’m not sure then without more clues. Does restarting the VM make a diffierence? What happens if you remap the device to another VM when it’s ‘missing’, does it in the other VM appear then?

i have not tried with another VM, but when i restart, it return to be online. It seems that goes in stand-by, i don’t know