diff --git a/wyoming_satellite/xvf_usb.py b/wyoming_satellite/xvf_usb.py index 9542d21..47ad352 100644 --- a/wyoming_satellite/xvf_usb.py +++ b/wyoming_satellite/xvf_usb.py @@ -38,6 +38,7 @@ USB_VENDOR_ID = 0x2886 USB_PRODUCT_IDS = [0x0018, 0x001A] # GPO_SERVICER_RESID LED commands +# resid=20 (GPO service), cmdid=12-19 (LED commands) GPO_RESID = 20 LED_EFFECT_CMD = 12 LED_BRIGHTNESS_CMD = 13 @@ -160,6 +161,11 @@ class XVF3800Controller: "✅ XVF3800 found (USB %04x:%04x, bus %d, addr %d)", self._vendor_id, pid, dev.bus, dev.address ) + + # Ждём 500ms после подключения для стабилизации устройства + import time + time.sleep(0.5) + return else: _LOGGER.debug("Device %04x:%04x not found", self._vendor_id, pid)