Hier noch mal ein Update. Ich habe mir testweise den Sonoff MG24 ZigBee Stick besorgt. Wir korrekt erkannt, aber auch hier scheint mir ein Verbindung-Problem vorzulegen. Anbei des Protokoll auf dem Sonoff Flasher:
2026-07-30T18:08:00.111Z [INFO] [HA] controlZHA: success - operationType: disable; data: true
2026-07-30T18:08:00.112Z [INFO] [HA utils] closeZhaAndZ2m results: [{"status":"fulfilled","value":true},{"status":"fulfilled","value":true}]
[2026-07-30 08:08:00.113] debug: gecko: Knocking bootloader...
[2026-07-30 08:08:00.114] info: gecko: Determine whether the current serial port is in bootloader mode.
[2026-07-30 08:08:00.114] debug: transport: Opening serial port with {"autoOpen":false,"baudRate":115200,"dataBits":8,"parity":"none","path":"/dev/ttyUSB0","rtscts":false,"stopBits":1}
[2026-07-30 08:08:00.119] info: transport: Serial port opened
[2026-07-30 08:08:00.122] debug: transport: Sending transport data: 0a.
2026-07-30T18:08:00.133Z [INFO] [HA] controlZHA: ws close
[2026-07-30 08:08:01.624] debug: gecko: Timed out waiting for IDLE after 1500ms.
[2026-07-30 08:08:01.625] debug: transport: Sending transport data: 0a.
[2026-07-30 08:08:03.127] debug: gecko: Timed out waiting for IDLE after 1500ms.
[2026-07-30 08:08:03.128] info: transport: Closing serial connection...
[2026-07-30 08:08:03.130] info: transport: Transport closed.
[2026-07-30 08:08:03.131] info: gecko: Not in bootloader.
[2026-07-30 08:08:03.134] debug: gecko: Knock finished state: 0
2026-07-30T18:08:03.134Z [INFO] [7cbff4d9-f5e2-42ec-a941-eb8960c1ea24] (app.mid.log) isBootloader: false
2026-07-30T18:08:03.153Z [INFO] [f9cb6466-87aa-4288-b6fc-72187fdb1d57] (app.mid.log) request: 172.30.32.2 --> POST /api/v1/hardware
2026-07-30T18:08:03.154Z [INFO] [f9cb6466-87aa-4288-b6fc-72187fdb1d57] (app.mid.log) body: {"type":"scan","data":{"deviceType":"usb-SONOFF_SONOFF_Dongle_Plus_MG24_88cc4b3a798cf011bdcc30b9d9065118-if00-port0","serialPortPath":"/dev/ttyUSB0","vendorId":"10c4","productId":"ea60"},"ts":1785434882982,"appid":"ut1sdivm8v62calo"}
2026-07-30T18:08:03.155Z [INFO] [f9cb6466-87aa-4288-b6fc-72187fdb1d57] (app.mid.log) type: scan; serialPortPath: /dev/ttyUSB0; baudRate: null; dbItem: [object Object]
[2026-07-30 08:08:03.156] info: gecko: Ezsp Connecting ...
[2026-07-30 08:08:03.157] debug: zh:ezsp:uart: RTS/CTS config is off, enabling software flow control.
[2026-07-30 08:08:03.158] debug: zh:ezsp:uart: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
[2026-07-30 08:08:03.161] debug: zh:ezsp:uart: Serialport opened
[2026-07-30 08:08:03.162] debug: zh:ezsp:uart: Uart reseting
[2026-07-30 08:08:03.163] debug: zh:ezsp:uart: --> Write reset
[2026-07-30 08:08:03.164] debug: zh:ezsp:uart: --> [1ac038bc7e]
[2026-07-30 08:08:03.164] debug: zh:ezsp:uart: -?- waiting reset
[2026-07-30 08:08:13.167] error: zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
[2026-07-30 08:08:13.169] error: zh:ezsp:ezsp: Connection attempt 1 error: Error: Failure to connect
[2026-07-30 08:08:13.171] debug: zh:ezsp:uart: Port closed. Error? null
[2026-07-30 08:08:13.172] debug: zh:ezsp:ezsp: onSerialClose()
[2026-07-30 08:08:18.172] debug: zh:ezsp:ezsp: Next attempt 2
[2026-07-30 08:08:18.173] debug: zh:ezsp:uart: RTS/CTS config is off, enabling software flow control.
[2026-07-30 08:08:18.174] debug: zh:ezsp:uart: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
[2026-07-30 08:08:18.177] debug: zh:ezsp:uart: Serialport opened
[2026-07-30 08:08:18.178] debug: zh:ezsp:uart: Uart reseting
[2026-07-30 08:08:18.179] debug: zh:ezsp:uart: --> Write reset
[2026-07-30 08:08:18.179] debug: zh:ezsp:uart: --> [1ac038bc7e]
[2026-07-30 08:08:18.180] debug: zh:ezsp:uart: -?- waiting reset
[2026-07-30 08:08:28.184] error: zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
[2026-07-30 08:08:28.186] error: zh:ezsp:ezsp: Connection attempt 2 error: Error: Failure to connect
[2026-07-30 08:08:28.187] debug: zh:ezsp:uart: Port closed. Error? null
[2026-07-30 08:08:28.188] debug: zh:ezsp:ezsp: onSerialClose()
[2026-07-30 08:08:38.196] debug: zh:ezsp:ezsp: Next attempt 3
[2026-07-30 08:08:38.197] debug: zh:ezsp:uart: RTS/CTS config is off, enabling software flow control.
[2026-07-30 08:08:38.198] debug: zh:ezsp:uart: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
[2026-07-30 08:08:38.205] debug: zh:ezsp:uart: Serialport opened
[2026-07-30 08:08:38.205] debug: zh:ezsp:uart: Uart reseting
[2026-07-30 08:08:38.206] debug: zh:ezsp:uart: --> Write reset
[2026-07-30 08:08:38.207] debug: zh:ezsp:uart: --> [1ac038bc7e]
[2026-07-30 08:08:38.208] debug: zh:ezsp:uart: -?- waiting reset
[2026-07-30 08:08:48.216] error: zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
[2026-07-30 08:08:48.218] error: zh:ezsp:ezsp: Connection attempt 3 error: Error: Failure to connect
[2026-07-30 08:08:48.219] debug: zh:ezsp:uart: Port closed. Error? null
[2026-07-30 08:08:48.220] debug: zh:ezsp:ezsp: onSerialClose()
[2026-07-30 08:09:03.224] debug: zh:ezsp:ezsp: Next attempt 4
[2026-07-30 08:09:03.225] debug: zh:ezsp:uart: RTS/CTS config is off, enabling software flow control.
[2026-07-30 08:09:03.226] debug: zh:ezsp:uart: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
[2026-07-30 08:09:03.229] debug: zh:ezsp:uart: Serialport opened
[2026-07-30 08:09:03.229] debug: zh:ezsp:uart: Uart reseting
[2026-07-30 08:09:03.230] debug: zh:ezsp:uart: --> Write reset
[2026-07-30 08:09:03.231] debug: zh:ezsp:uart: --> [1ac038bc7e]
[2026-07-30 08:09:03.231] debug: zh:ezsp:uart: -?- waiting reset
[2026-07-30 08:09:13.234] error: zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
[2026-07-30 08:09:13.236] error: zh:ezsp:ezsp: Connection attempt 4 error: Error: Failure to connect
[2026-07-30 08:09:13.236] error: gecko: Ezsp connect error: Error: Failure to connect
[2026-07-30 08:09:13.237] debug: zh:ezsp:ezsp: Closing Ezsp
[2026-07-30 08:09:13.237] debug: zh:ezsp:uart: Closing UART
[2026-07-30 08:09:13.238] debug: zh:ezsp:ezsp: onSerialClose()
2026-07-30T18:09:13.239Z [ERROR] Get NCP Version throw error: Failure to connect
2026-07-30T18:09:13.239Z [DEBUG] getDongleEMG21FirmwareVersion ~ firmwareVersion: undefined.
2026-07-30T18:09:13.239Z [INFO] Try to connect at a baud rate of 115200 ...
[2026-07-30 08:09:13.240] debug: transport: Opening serial port with {"autoOpen":false,"baudRate":115200,"dataBits":8,"parity":"none","path":"/dev/ttyUSB0","rtscts":false,"stopBits":1}
[2026-07-30 08:09:13.242] debug: zh:ezsp:uart: Port closed. Error? null
[2026-07-30 08:09:13.242] debug: zh:ezsp:ezsp: onSerialClose()
[2026-07-30 08:09:13.244] info: transport: Serial port opened
2026-07-30T18:09:13.245Z [DEBUG] Reset by RTS ...
2026-07-30T18:09:13.264Z [DEBUG] Reset finished by RTS.
[2026-07-30 08:09:14.265] debug: gecko: Timed out waiting for FIRMWARE_TAG after 1000ms.
[2026-07-30 08:09:14.267] info: transport: Closing serial connection...
[2026-07-30 08:09:14.269] info: transport: Transport closed.
2026-07-30T18:09:14.270Z [INFO] Try to connect at a baud rate of 460800 ...
[2026-07-30 08:09:14.271] debug: transport: Opening serial port with {"autoOpen":false,"baudRate":460800,"dataBits":8,"parity":"none","path":"/dev/ttyUSB0","rtscts":false,"stopBits":1}
[2026-07-30 08:09:14.275] info: transport: Serial port opened
2026-07-30T18:09:14.276Z [DEBUG] Reset by RTS ...
2026-07-30T18:09:14.296Z [DEBUG] Reset finished by RTS.
[2026-07-30 08:09:15.298] debug: gecko: Timed out waiting for FIRMWARE_TAG after 1000ms.
[2026-07-30 08:09:15.299] info: transport: Closing serial connection...
[2026-07-30 08:09:15.301] info: transport: Transport closed.
2026-07-30T18:09:15.302Z [INFO] Try to connect at a baud rate of 230400 ...
[2026-07-30 08:09:15.304] debug: transport: Opening serial port with {"autoOpen":false,"baudRate":230400,"dataBits":8,"parity":"none","path":"/dev/ttyUSB0","rtscts":false,"stopBits":1}
[2026-07-30 08:09:15.307] info: transport: Serial port opened
2026-07-30T18:09:15.308Z [DEBUG] Reset by RTS ...
2026-07-30T18:09:15.327Z [DEBUG] Reset finished by RTS.
[2026-07-30 08:09:16.328] debug: gecko: Timed out waiting for FIRMWARE_TAG after 1000ms.
[2026-07-30 08:09:16.330] info: transport: Closing serial connection...
[2026-07-30 08:09:16.332] info: transport: Transport closed.
2026-07-30T18:09:16.334Z [INFO] [f9cb6466-87aa-4288-b6fc-72187fdb1d57] (app.mid.log) hardware data: {"model":"","firmwareVersion":"","firmwareType":"","deviceType":"Dongle-PMG24"}
2026-07-30T18:09:20.414Z [INFO] [WSS] client disconnect id: fc70a9ce-31ff-4c2a-a04c-48114b2f6b76
Frage: Kann ich irgendwie debuggen, was auf den Serial-Port zugreift?