Zigbee2mqtt + dongle SONOFF version P = z2m: Error while starting zigbee-herdsman

Hello le forum,

Comme beaucoup, je rencontre un problème de paramétrage de zigbee2mqtt avec le dongle SONOFF version P.

Voici les caractéristiques de ma configuration :

System Information

version core-2025.1.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.1
os_name Linux
os_version 6.6.62-haos-raspi
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 14.1
update_channel stable
supervisor_version supervisor-2024.12.3
agent_version 1.6.0
docker_version 27.2.0
disk_total 916.2 GB
disk_used 5.9 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi5-64
supervisor_api ok
version_api ok
installed_addons Mosquitto broker (6.4.1), Zigbee2MQTT (2.0.0-2), File editor (5.8.0)
  1. Mosquitto Broket :
    => Voici la configuration :

=> Voici le journal :

  1. Zigbee2mqtt :
    => Voici la configuration :

=> Voici la configuration yaml :

version: 4
homeassistant:
  enabled: true
advanced:
  network_key:
    - 94
    - 159
    - 21
    - 172
    - 172
    - 86
    - 121
    - 242
    - 23
    - 167
    - 23
    - 156
    - 130
    - 31
    - 38
    - 141
  pan_id: 20198
  ext_pan_id:
    - 94
    - 124
    - 253
    - 249
    - 64
    - 93
    - 8
    - 60
mqtt:
  server: mqtt://core-mosquitto:1883
  user: mqtt_adm
  password: xxxxxxxxx
serial:
  port: >-
    /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_6a7237dfa039ef119ae05ef454516304-if00-port0
  adapter: zstack
[22:43:50] INFO: e[32mPreparing to start...e[0m
[22:43:50] INFO: e[32mSocat not enablede[0m
[22:43:50] INFO: e[32mStarting Zigbee2MQTT...e[0m
Starting Zigbee2MQTT without watchdog.
[2025-01-07 22:43:52] e[32minfoe[39m: 	z2m: Logging to console, file (filename: log.log)
[2025-01-07 22:43:52] e[32minfoe[39m: 	z2m: Starting Zigbee2MQTT version 2.0.0 (commit #unknown)
[2025-01-07 22:43:52] e[32minfoe[39m: 	z2m: Starting zigbee-herdsman (3.2.1)
[2025-01-07 22:43:52] e[32minfoe[39m: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_6a7237dfa039ef119ae05ef454516304-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-01-07 22:43:52] e[32minfoe[39m: 	zh:zstack:znp: Serialport opened
[2025-01-07 22:43:52] e[32minfoe[39m: 	zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2025-01-07 22:43:53] e[32minfoe[39m: 	zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2025-01-07 22:44:12] e[31merrore[39m: 	z2m: Error while starting zigbee-herdsman
[2025-01-07 22:44:12] e[31merrore[39m: 	z2m: Failed to start zigbee-herdsman
[2025-01-07 22:44:12] e[31merrore[39m: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-01-07 22:44:12] e[31merrore[39m: 	z2m: Exiting...
[2025-01-07 22:44:12] e[31merrore[39m: 	z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/.pnpm/zigbee-herdsman@3.2.1/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:113:27)
    at Controller.start (/app/node_modules/.pnpm/zigbee-herdsman@3.2.1/node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
    at Zigbee.start (/app/lib/zigbee.ts:69:27)
    at Controller.start (/app/lib/controller.ts:142:13)
    at start (/app/index.js:161:5)

J’ai récupéré l’ID du dongle dans le matériel :

Etant newbie, j’ai du faire une boulette quelque part mais pas moyen de trouver la solution. J’ai tenté un redémarrage de HA mais rien ne change :frowning:

Merci d’avance pour votre aide. Bonne soirée et bonne nuit

Bah non c’est la version E qui normalement pose des soucis :rofl:

Salut,
c’est surement que tu n’as pas ignoré l’installation de ZHA ( Zigbee home automation ), qui est proposé automatiquement quand tu branches la clé zigbee. Si tu ne l’ignores pas, elle monopolise la clé Zigbee et empêche Z2M de démarrer.

Une petite lecture de l’article pour installer Z2M:

1 « J'aime »

Bonjour,

c’est bien d’avoir mis la déclaration de ta clef (sérial) dans le fichier configuration.yaml, mais il faut aussi la déclarer ici

Merci à tous pour vos réponses.
J’ai bien fait ignorer le module complémentaire ZHA, mais nouveau problème de ping cette fois-ci :frowning: :

Je possède la rallonge (environ 50 cm), j’ai tenté deux possibilités :
=> Avec la rallonge
=> Sur un port USB sans la rallonge
Malheureusement toujours le même message d’erreur ping :frowning:

21:46:14] INFO: Preparing to start...
[21:46:14] INFO: Socat not enabled
[21:46:14] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-01-13 21:46:16] info: 	z2m: Logging to console, file (filename: log.log)
[2025-01-13 21:46:16] info: 	z2m: Starting Zigbee2MQTT version 2.0.0 (commit #unknown)
[2025-01-13 21:46:16] info: 	z2m: Starting zigbee-herdsman (3.2.1)
[2025-01-13 21:46:16] info: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_6a7237dfa039ef119ae05ef454516304-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-01-13 21:46:16] info: 	zh:zstack:znp: Serialport opened
[2025-01-13 21:46:16] info: 	zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2025-01-13 21:46:17] info: 	zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2025-01-13 21:46:36] error: 	z2m: Error while starting zigbee-herdsman
[2025-01-13 21:46:36] error: 	z2m: Failed to start zigbee-herdsman
[2025-01-13 21:46:36] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-01-13 21:46:36] error: 	z2m: Exiting...
[2025-01-13 21:46:36] error: 	z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/.pnpm/zigbee-herdsman@3.2.1/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:113:27)
    at Controller.start (/app/node_modules/.pnpm/zigbee-herdsman@3.2.1/node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
    at Zigbee.start (/app/lib/zigbee.ts:69:27)
    at Controller.start (/app/lib/controller.ts:142:13)
    at start (/app/index.js:161:5)

Auriez-vous une idée ?

Merci d’avance :slight_smile:

Hello la team,

Je relance mon problème d’il y a quelques mois : je n’ai pas pu tester avant avec l’achat de la maison et les divers travaux.
Un peu de temps avant les vacances et la future arrivée de Mlle :slight_smile:

J’ai toujours le même problème en ayant bien ignoré Z2M :

Auriez-vous une autre idée ?

La clé zigbee est bien sur un port USB2 ( port noir ) ?

Il vaut mieux 1m.

Oui la clé est bien sur un port USB2 (port noir) et non sur un port bleu :slight_smile:

Arf faut que je trouve une autre rallonge dans ce cas :frowning:

Ahhhhhh je viens de vérifier le derrière de ma clé Sonoff : c’est un dongle E et non un dongle P.
Bon je recommence l’installation du coup et apparemment il faut flasher le dongle :frowning:

2 « J'aime »


Tu as changé de clé entre temps ?

Si c’est la sonof E , un tuto avec le webflasher :

1 « J'aime »

Non mais j’étais persuadé que c’était une version P …
Bref je recommence tout :slight_smile:

1 « J'aime »

bizarre, car tu était aller voir dans matériel.

En théorie, la Sonoff E a un ID avec marqué V2:

/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_XXXXXXXXXXX-if00
1 « J'aime »

Hello WorC0zes,

En effet normalement le Dongle SONOFF E est marqué en V2, mais j’ai vérifié à l’arrière du Dongle et voici les informations annotées :

Ok, merci pour l’information, c’est bon à savoir. On ne peut plus se fier au chemin de la clé alors :thinking:
je comprends mieux ton erreur (Error: SRSP - SYS - ping after 6000ms) maintenant.

Donc flasher ta clé en firmware ember 7.4.5 et mettre adapter: ember dans la configuration de Z2M.

Hello encore moi, je n’arrive pas à flasher la clé avec le site (sous Edge) : Silabs Firmware Flasher | Web based flasher for ZB-GW04 and ZBDongle-E. MultiPAN RCP firmware enables these devices to be used with Silabs Multiprotocol Addon in Home Assistant. Allow Zigbee and Thread to co-exist on the same dongle. Get ahead of the tech an experiment with Matter!

Quelques secondes en connexion :

Puis message d’erreur :

Voici le debug log : une idée ? Merci :slight_smile:

2025-07-07 22:15:04 emscripten zigpy.serial[42] INFO Using pyserial-asyncio-fast in place of pyserial-asyncio
2025-07-07 22:15:06 emscripten zigpy.appdb[42] DEBUG SQLite version for <webserial_transport.MockSqlite3 object at 0x120be58>: 3.31.1
2025-07-07 22:15:06 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.GECKO_BOOTLOADER at 115200 baud
2025-07-07 22:15:06 emscripten zigpy.serial[42] DEBUG Connection made: <webserial_transport.WebSerialTransport object at 0x16e5648>
2025-07-07 22:15:06 emscripten universal_silabs_flasher.gecko_bootloader[42] DEBUG Sending data b'\n'
2025-07-07 22:15:06 emscripten universal_silabs_flasher.gecko_bootloader[42] DEBUG Sending data GeckoBootloaderOption.EBL_INFO
2025-07-07 22:15:08 emscripten zigpy.serial[42] DEBUG Waiting for serial port to close
2025-07-07 22:15:08 emscripten webserial_transport[42] DEBUG Closing serial port
2025-07-07 22:15:08 emscripten webserial_transport[42] DEBUG Closed serial port
2025-07-07 22:15:08 emscripten zigpy.serial[42] DEBUG Connection lost: None
2025-07-07 22:15:08 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.CPC at 460800 baud
2025-07-07 22:15:08 emscripten zigpy.serial[42] DEBUG Connection made: <webserial_transport.WebSerialTransport object at 0x20e2890>
2025-07-07 22:15:08 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2025-07-07 22:15:08 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2025-07-07 22:15:09 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 1 of 4)
2025-07-07 22:15:09 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to parse buffer bytearray(b'x\x00\x80\xf8\x00x\x80\x00\x80\x00\xf8\xf8\x80\xf8\xf8x\xf8'): ValueError('Invalid flag')
2025-07-07 22:15:09 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2025-07-07 22:15:09 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2025-07-07 22:15:10 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 2 of 4)
2025-07-07 22:15:10 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2025-07-07 22:15:10 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2025-07-07 22:15:11 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 3 of 4)
2025-07-07 22:15:11 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2025-07-07 22:15:11 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2025-07-07 22:15:11 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to parse buffer bytearray(b'\x00\xf8\x00x\xf8xx\xf8\x80\x80\xf8'): ValueError('Invalid flag')
2025-07-07 22:15:12 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 4 of 4)
2025-07-07 22:15:12 emscripten zigpy.serial[42] DEBUG Waiting for serial port to close
2025-07-07 22:15:13 emscripten webserial_transport[42] DEBUG Closing serial port
2025-07-07 22:15:13 emscripten webserial_transport[42] DEBUG Closed serial port
2025-07-07 22:15:13 emscripten zigpy.serial[42] DEBUG Connection lost: None
2025-07-07 22:15:13 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.CPC at 115200 baud
2025-07-07 22:15:13 emscripten zigpy.serial[42] DEBUG Connection made: <webserial_transport.WebSerialTransport object at 0x20b96e0>
2025-07-07 22:15:13 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2025-07-07 22:15:13 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2025-07-07 22:15:14 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 1 of 4)
2025-07-07 22:15:14 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2025-07-07 22:15:14 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2025-07-07 22:15:15 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 2 of 4)
2025-07-07 22:15:15 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2025-07-07 22:15:15 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2025-07-07 22:15:16 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 3 of 4)
2025-07-07 22:15:16 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2025-07-07 22:15:16 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2025-07-07 22:15:17 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 4 of 4)
2025-07-07 22:15:17 emscripten zigpy.serial[42] DEBUG Waiting for serial port to close
2025-07-07 22:15:17 emscripten webserial_transport[42] DEBUG Closing serial port
2025-07-07 22:15:17 emscripten webserial_transport[42] DEBUG Closed serial port
2025-07-07 22:15:17 emscripten zigpy.serial[42] DEBUG Connection lost: None
2025-07-07 22:15:17 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.CPC at 230400 baud
2025-07-07 22:15:17 emscripten zigpy.serial[42] DEBUG Connection made: <webserial_transport.WebSerialTransport object at 0x21d4dd8>
2025-07-07 22:15:17 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2025-07-07 22:15:17 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2025-07-07 22:15:18 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 1 of 4)
2025-07-07 22:15:18 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to parse buffer bytearray(b'\x06\xe0\x98\xe0\x06\x18\x18\x9e\xf8\x9e\x86\xfe'): ValueError('Invalid flag')
2025-07-07 22:15:18 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2025-07-07 22:15:18 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2025-07-07 22:15:19 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 2 of 4)
2025-07-07 22:15:19 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2025-07-07 22:15:19 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2025-07-07 22:15:20 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 3 of 4)
2025-07-07 22:15:20 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2025-07-07 22:15:20 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2025-07-07 22:15:21 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 4 of 4)
2025-07-07 22:15:21 emscripten zigpy.serial[42] DEBUG Waiting for serial port to close
2025-07-07 22:15:21 emscripten webserial_transport[42] DEBUG Closing serial port
2025-07-07 22:15:21 emscripten webserial_transport[42] DEBUG Closed serial port
2025-07-07 22:15:21 emscripten zigpy.serial[42] DEBUG Connection lost: None
2025-07-07 22:15:21 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.EZSP at 115200 baud
2025-07-07 22:15:21 emscripten zigpy.serial[42] DEBUG Connection made: <bellows.ash.AshProtocol object at 0x1500db0>
2025-07-07 22:15:21 emscripten bellows.ezsp[42] DEBUG Resetting EZSP
2025-07-07 22:15:21 emscripten bellows.uart[42] DEBUG Resetting ASH
2025-07-07 22:15:21 emscripten bellows.ash[42] DEBUG Sending frame CANCEL + RstFrame() + FLAG
2025-07-07 22:15:21 emscripten bellows.ash[42] DEBUG Sending data  1ac038bc7e
2025-07-07 22:15:21 emscripten bellows.ash[42] DEBUG Received data 11
2025-07-07 22:15:21 emscripten bellows.ash[42] DEBUG Received XON byte, resuming transmission
2025-07-07 22:15:22 emscripten bellows.ash[42] DEBUG Received data 1ac102029b7b7e
2025-07-07 22:15:22 emscripten bellows.ash[42] DEBUG Received cancel byte, clearing buffer
2025-07-07 22:15:22 emscripten bellows.ash[42] DEBUG Received frame RStackFrame(version=2, reset_code=<NcpResetCode.RESET_POWER_ON: 2>)
2025-07-07 22:15:26 emscripten zigpy.serial[42] DEBUG Waiting for serial port to close
2025-07-07 22:15:26 emscripten webserial_transport[42] DEBUG Closing serial port
2025-07-07 22:15:26 emscripten webserial_transport[42] DEBUG Closed serial port
2025-07-07 22:15:26 emscripten zigpy.serial[42] DEBUG Connection lost: None
2025-07-07 22:15:26 emscripten bellows.uart[42] DEBUG Connection lost: None
2025-07-07 22:15:26 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.EZSP at 230400 baud
2025-07-07 22:15:26 emscripten zigpy.serial[42] DEBUG Connection made: <bellows.ash.AshProtocol object at 0x1c74740>
2025-07-07 22:15:26 emscripten bellows.ezsp[42] DEBUG Resetting EZSP
2025-07-07 22:15:26 emscripten bellows.uart[42] DEBUG Resetting ASH
2025-07-07 22:15:26 emscripten bellows.ash[42] DEBUG Sending frame CANCEL + RstFrame() + FLAG
2025-07-07 22:15:26 emscripten bellows.ash[42] DEBUG Sending data  1ac038bc7e
2025-07-07 22:15:26 emscripten bellows.ash[42] DEBUG Received data 06
2025-07-07 22:15:26 emscripten bellows.ash[42] DEBUG Received data e0
2025-07-07 22:15:27 emscripten bellows.ash[42] DEBUG Received data 98
2025-07-07 22:15:27 emscripten bellows.ash[42] DEBUG Received data e00618189ef89e86fe
2025-07-07 22:15:27 emscripten bellows.ash[42] DEBUG Received substitute byte, marking buffer as corrupted
2025-07-07 22:15:32 emscripten zigpy.serial[42] DEBUG Waiting for serial port to close
2025-07-07 22:15:32 emscripten webserial_transport[42] DEBUG Closing serial port
2025-07-07 22:15:32 emscripten webserial_transport[42] DEBUG Closed serial port
2025-07-07 22:15:32 emscripten zigpy.serial[42] DEBUG Connection lost: None
2025-07-07 22:15:32 emscripten bellows.uart[42] DEBUG Connection lost: None
2025-07-07 22:15:32 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.SPINEL at 460800 baud
2025-07-07 22:15:32 emscripten zigpy.serial[42] DEBUG Connection made: <webserial_transport.WebSerialTransport object at 0x144f108>
2025-07-07 22:15:32 emscripten universal_silabs_flasher.spinel[42] DEBUG Sending frame SpinelFrame(header=SpinelHeader(transaction_id=3, network_link_id=0, flag=2), command_id=<CommandID.PROP_VALUE_GET: 2>, data=b'\x02')
2025-07-07 22:15:32 emscripten universal_silabs_flasher.spinel[42] DEBUG Sending data b'~\x83\x02\x02\xe65~'
2025-07-07 22:15:34 emscripten universal_silabs_flasher.spinel[42] DEBUG Failed to send SpinelFrame(header=SpinelHeader(network_link_id=0, flag=2), command_id=<CommandID.PROP_VALUE_GET: 2>, data=b'\x02'), trying again in 0.10s (attempt 1 of 4)
2025-07-07 22:15:36 emscripten universal_silabs_flasher.spinel[42] DEBUG Sending frame SpinelFrame(header=SpinelHeader(transaction_id=3, network_link_id=0, flag=2), command_id=<CommandID.PROP_VALUE_GET: 2>, data=b'\x02')
2025-07-07 22:15:36 emscripten universal_silabs_flasher.spinel[42] DEBUG Sending data b'~\x83\x02\x02\xe65~'
2025-07-07 22:15:39 emscripten universal_silabs_flasher.spinel[42] DEBUG Failed to send SpinelFrame(header=SpinelHeader(network_link_id=0, flag=2), command_id=<CommandID.PROP_VALUE_GET: 2>, data=b'\x02'), trying again in 0.10s (attempt 2 of 4)
2025-07-07 22:15:41 emscripten universal_silabs_flasher.spinel[42] DEBUG Sending frame SpinelFrame(header=SpinelHeader(transaction_id=3, network_link_id=0, flag=2), command_id=<CommandID.PROP_VALUE_GET: 2>, data=b'\x02')
2025-07-07 22:15:41 emscripten universal_silabs_flasher.spinel[42] DEBUG Sending data b'~\x83\x02\x02\xe65~'
2025-07-07 22:15:44 emscripten universal_silabs_flasher.spinel[42] DEBUG Failed to send SpinelFrame(header=SpinelHeader(network_link_id=0, flag=2), command_id=<CommandID.PROP_VALUE_GET: 2>, data=b'\x02'), trying again in 0.10s (attempt 3 of 4)
2025-07-07 22:15:45 emscripten universal_silabs_flasher.spinel[42] DEBUG Sending frame SpinelFrame(header=SpinelHeader(transaction_id=3, network_link_id=0, flag=2), command_id=<CommandID.PROP_VALUE_GET: 2>, data=b'\x02')
2025-07-07 22:15:45 emscripten universal_silabs_flasher.spinel[42] DEBUG Sending data b'~\x83\x02\x02\xe65~'
2025-07-07 22:15:46 emscripten universal_silabs_flasher.spinel[42] DEBUG Failed to send SpinelFrame(header=SpinelHeader(network_link_id=0, flag=2), command_id=<CommandID.PROP_VALUE_GET: 2>, data=b'\x02'), trying again in 0.10s (attempt 4 of 4)
2025-07-07 22:15:46 emscripten zigpy.serial[42] DEBUG Waiting for serial port to close
2025-07-07 22:15:46 emscripten webserial_transport[42] DEBUG Closing serial port
2025-07-07 22:15:46 emscripten webserial_transport[42] DEBUG Closed serial port
2025-07-07 22:15:46 emscripten zigpy.serial[42] DEBUG Connection lost: None

Finalement j’ai réussi à flasher la clé avec le site : Sonoff Dongle Flasher - SONOFF Dongle

Alleluia :slight_smile:

2 « J'aime »

Passe ton sujet en résolu, en cochant la case solution image sur le message qui l’apporte.