Hi, I’m trying to set up a ITEAD Sonoff ZBDongle-E (ZigBee 3.0 USB Dongle Plus v2) with ZHA.
I’m running the latest Home Assistant (2024.11.3) on a RaspberryPi 4 with Docker, this is my compose file
version: '3'
services:
homeassistant:
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Rome
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:latest"
volumes:
- /srv/dev-disk-by-uuid-abc6dfe1-98b8-4de6-98f8-065ba63df80a/Containers/HomeAssistant/config:/config
restart: unless-stopped
privileged: true
network_mode: host
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
I’m sure the dongle works because I tried it on my desktop computer, running Homeassistant on Ubuntu via Virtualbox. But when I try to add to HA on my raspberrypi, it shows “Failed to probe the usb device”.
I tried to add it manually as specified in the tutorial on the sonoff site, but it doesn’t work.
Here is the log of HA:
2024-12-04 19:37:15.148 DEBUG (MainThread) [homeassistant.components.zha.radio_manager] Attempting to probe radio type RadioType.zigate
2024-12-04 19:37:15.173 DEBUG (MainThread) [zigpy.serial] Connection made: SerialTransport(<_UnixSelectorEventLoop running=True closed=False debug=False>, <zigpy_zigate.uart.Gateway object at 0x7f89d03710>, Serial<id=0x7f89706740, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=0, xonxoff=False, rtscts=False, dsrdtr=False))
2024-12-04 19:37:15.150 DEBUG (MainThread) [zigpy.ota] Registering new OTA provider: ThirdReality(url=None, manufacturer_ids=(4659, 4877, 5127))
2024-12-04 19:37:15.150 DEBUG (MainThread) [zigpy.ota] Registering new OTA provider: Inovelli(url=None, manufacturer_ids=(4655,))
2024-12-04 19:37:15.165 DEBUG (MainThread) [zigpy.serial] Opening a serial connection to '/dev/ttyUSB0' (baudrate=115200, xonxoff=False, rtscts=False)
2024-12-04 19:37:15.150 DEBUG (MainThread) [zigpy.ota] Registering new OTA provider: Sonoff(url=None, manufacturer_ids=(4742,))
2024-12-04 19:37:15.150 DEBUG (MainThread) [zigpy.ota] Registering new OTA provider: Ledvance(url='https://api.update.ledvance.com/v1/zigbee/firmwares', manufacturer_ids=(4489, 4364))
2024-12-04 19:37:15.174 DEBUG (MainThread) [zigpy_zigate.api] Sending 2 (b'\x01'), waiting for status: True, waiting for response: None
2024-12-04 19:37:15.174 DEBUG (MainThread) [zigpy_zigate.uart] Send: 0x0002 b'01'
2024-12-04 19:37:15.176 DEBUG (MainThread) [zigpy_zigate.uart] Frame escaped: b'\x02\x10\x02\x12\x02\x10\x02\x11\x02\x12\x02\x11'
2024-12-04 19:37:15.175 DEBUG (MainThread) [zigpy_zigate.uart] Frame to send: b'\x00\x02\x00\x01\x02\x01'
2024-12-04 19:37:15.177 DEBUG (MainThread) [zigpy_zigate.api] Wait for status to command 2
2024-12-04 19:37:16.678 DEBUG (MainThread) [zigpy_zigate.uart] Send: 0x0002 b'01'
2024-12-04 19:37:16.679 DEBUG (MainThread) [zigpy_zigate.uart] Frame to send: b'\x00\x02\x00\x01\x02\x01'
2024-12-04 19:37:16.679 DEBUG (MainThread) [zigpy_zigate.uart] Frame escaped: b'\x02\x10\x02\x12\x02\x10\x02\x11\x02\x12\x02\x11'
2024-12-04 19:37:18.182 DEBUG (MainThread) [zigpy_zigate.uart] Send: 0x0002 b'01'
2024-12-04 19:37:18.182 DEBUG (MainThread) [zigpy_zigate.uart] Frame to send: b'\x00\x02\x00\x01\x02\x01'
2024-12-04 19:37:18.182 DEBUG (MainThread) [zigpy_zigate.uart] Frame escaped: b'\x02\x10\x02\x12\x02\x10\x02\x11\x02\x12\x02\x11'
2024-12-04 19:37:19.687 DEBUG (MainThread) [zigpy.application] Failed to probe with config {'path': '/dev/ttyUSB0', 'baudrate': 115200, 'flow_control': None}
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/zigpy_zigate/zigbee/application.py", line 44, in connect
await api.set_raw_mode()
File "/usr/local/lib/python3.12/site-packages/zigpy_zigate/api.py", line 400, in set_raw_mode
await self.command(CommandId.SET_RAWMODE, data)
File "/usr/local/lib/python3.12/site-packages/zigpy_zigate/api.py", line 360, in command
zigpy_zigate.api.NoStatusError
raise NoStatusError()
2024-12-04 19:37:19.692 INFO (MainThread) [universal_silabs_flasher.flasher] Probing ApplicationType.GECKO_BOOTLOADER at 115200 baud
2024-12-04 19:37:19.693 DEBUG (MainThread) [zigpy.serial] Opening a serial connection to '/dev/ttyUSB0' (baudrate=115200, xonxoff=False, rtscts=False)
2024-12-04 19:37:21.714 DEBUG (MainThread) [zigpy.serial] Connection made: SerialTransport(<_UnixSelectorEventLoop running=True closed=False debug=False>, <universal_silabs_flasher.cpc.CPCProtocol object at 0x7f89d2bf50>, Serial<id=0x7f897066e0, open=True>(port='/dev/ttyUSB0', baudrate=460800, bytesize=8, parity='N', stopbits=1, timeout=0, xonxoff=False, rtscts=False, dsrdtr=False))
2024-12-04 19:37:26.028 DEBUG (MainThread) [zigpy.serial] Waiting for serial port to close
2024-12-04 19:37:26.032 DEBUG (MainThread) [zigpy.serial] Connection lost: None
2024-12-04 19:37:26.033 INFO (MainThread) [universal_silabs_flasher.flasher] Probing ApplicationType.CPC at 115200 baud
2024-12-04 19:37:26.033 DEBUG (MainThread) [zigpy.serial] Opening a serial connection to '/dev/ttyUSB0' (baudrate=115200, xonxoff=False, rtscts=False)
2024-12-04 19:37:45.956 DEBUG (MainThread) [zigpy.serial] Connection made: SerialTransport(<_UnixSelectorEventLoop running=True closed=False debug=False>, <universal_silabs_flasher.spinel.SpinelProtocol object at 0x7f89cd4740>, Serial<id=0x7f89707040, open=True>(port='/dev/ttyUSB0', baudrate=460800, bytesize=8, parity='N', stopbits=1, timeout=0, xonxoff=False, rtscts=False, dsrdtr=False))
2024-12-04 19:37:50.272 DEBUG (MainThread) [zigpy.serial] Waiting for serial port to close
2024-12-04 19:37:50.276 DEBUG (MainThread) [zigpy.serial] Connection lost: None
2024-12-04 19:37:50.277 DEBUG (MainThread) [homeassistant.components.zha.repairs.wrong_silabs_firmware] Failed to probe application type
await flasher.probe_app_type()
RuntimeError: Failed to probe running application type
raise RuntimeError("Failed to probe running application type")
File "/usr/local/lib/python3.12/site-packages/universal_silabs_flasher/flasher.py", line 244, in probe_app_type
File "/usr/src/homeassistant/homeassistant/components/zha/repairs/wrong_silabs_firmware.py", line 87, in probe_silabs_firmware_type
2024-12-04 19:40:10.088 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event recorder_5min_statistics_generated[L]>
2024-12-04 19:48:51.162 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=system_log, service=write, service_data=logger=frontend.js.modern.202411062, message=Unhandled promise rejection from Firefox 133.0 on Ubuntu
2024-12-04 19:45:10.086 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event recorder_5min_statistics_generated[L]>
{
"code": "not_found",
}, level=debug>
2024-12-04 19:50:10.086 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event recorder_5min_statistics_generated[L]>
"message": "No prefs"
File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 617, in probe
await app.connect()
Any help would be greatly appreciated.