[Résolu] OTA timed out

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
AchilleTalon
Messages : 112
Inscription : 26 sept. 2020, 13:47

[Résolu] OTA timed out

Message par AchilleTalon »

Bonjour,

je souhaite faire une mise à jour du firmware de mes "Fil Pilote" Legrand (ref 064879, ou autre suivant la couleur).
La connexion fonctionne correctement, j'ai bien téléchargé le bon firmware (1021-0015-002745ff-NLC.zigbee), lancé la mise à jour depuis le pluging, mais elle se termine en erreur
Premier extrait du log :

Code : Tout sélectionner

2025-11-14 07:56:42,061 INFO    :b'ota_image_block_request - Request Firmware add4/01 Offset: 250502 Version: 0x002745ff Type: 0x0015 Manuf: 0x1021 Delay: 20 MaxSize: 64 Control: 0x02'
2025-11-14 07:56:42,061 INFO    :b'prepare_and_send_block - [ 80] request - add4/01 Offset: 250502 version: 0x002745FF Type: 00015 Code: 0x1021 Delay: 20 MaxSize: 64 Control: 0x02'
2025-11-14 07:56:42,061 INFO    :b'prepare_and_send_block - Block Request for add4/01 Image Type: 0x0015 Image Version: 002745FF Seq: 50 Offset: 0003d286 Size: 64 FieldCtrl: 0x02'
2025-11-14 07:56:42,061 INFO    :b'ota_send_block - Block sent to add4/01 Received yet: 250502 Sent now: 64'
2025-11-14 07:56:42,094 INFO    :b"ota_heartbeat - NwkId: add4 Process: OnGoing Loaded: 0x21 Time: 1763102599.6108553 Notified: 1763102602.0814397 Retry: 0 Authorized: ['add4']"
2025-11-14 07:56:42,252 INFO    :b'ota_image_block_request - Request Firmware add4/01 Offset: 250566 Version: 0x002745ff Type: 0x0015 Manuf: 0x1021 Delay: 20 MaxSize: 64 Control: 0x02'
2025-11-14 07:56:42,252 INFO    :b'prepare_and_send_block - [ 81] request - add4/01 Offset: 250566 version: 0x002745FF Type: 00015 Code: 0x1021 Delay: 20 MaxSize: 64 Control: 0x02'
2025-11-14 07:56:42,252 INFO    :b'prepare_and_send_block - Block Request for add4/01 Image Type: 0x0015 Image Version: 002745FF Seq: 51 Offset: 0003d2c6 Size: 64 FieldCtrl: 0x02'
2025-11-14 07:56:42,252 INFO    :b'ota_send_block - Block sent to add4/01 Received yet: 250566 Sent now: 64'
2025-11-14 07:56:42,462 INFO    :b'ota_image_block_request - Request Firmware add4/01 Offset: 250630 Version: 0x002745ff Type: 0x0015 Manuf: 0x1021 Delay: 20 MaxSize: 64 Control: 0x02'
2025-11-14 07:56:42,462 INFO    :b'prepare_and_send_block - [ 82] request - add4/01 Offset: 250630 version: 0x002745FF Type: 00015 Code: 0x1021 Delay: 20 MaxSize: 64 Control: 0x02'
2025-11-14 07:56:42,462 INFO    :b'prepare_and_send_block - Block Request for add4/01 Image Type: 0x0015 Image Version: 002745FF Seq: 52 Offset: 0003d306 Size: 64 FieldCtrl: 0x02'
2025-11-14 07:56:42,462 INFO    :b'ota_send_block - Block sent to add4/01 Received yet: 250630 Sent now: 64'
2025-11-14 07:56:42,462 INFO    :b'Firmware transfer for add4/01 - Progress: 100.0 %'
2025-11-14 07:56:42,661 INFO    :b'ota_image_block_request - Request Firmware add4/01 Offset: 250694 Version: 0x002745ff Type: 0x0015 Manuf: 0x1021 Delay: 20 MaxSize: 8 Control: 0x02'
2025-11-14 07:56:42,661 INFO    :b'prepare_and_send_block - [ 83] request - add4/01 Offset: 250694 version: 0x002745FF Type: 00015 Code: 0x1021 Delay: 20 MaxSize: 8 Control: 0x02'
2025-11-14 07:56:42,661 INFO    :b'prepare_and_send_block - Block Request for add4/01 Image Type: 0x0015 Image Version: 002745FF Seq: 53 Offset: 0003d346 Size: 8 FieldCtrl: 0x02'
2025-11-14 07:56:42,661 INFO    :b'ota_send_block - Block sent to add4/01 Received yet: 250694 Sent now: 1'
2025-11-14 07:56:42,661 INFO    :b'Firmware transfer for add4/01 - Progress: 100.0 %'
2025-11-14 07:56:42,840 INFO    :b'ota_image_block_request - Request Firmware add4/01 Offset: 250695 Version: 0x002745ff Type: 0x0015 Manuf: 0x1021 Delay: 20 MaxSize: 7 Control: 0x02'
2025-11-14 07:56:42,840 INFO    :b'prepare_and_send_block - [ 84] request - add4/01 Offset: 250695 version: 0x002745FF Type: 00015 Code: 0x1021 Delay: 20 MaxSize: 7 Control: 0x02'
2025-11-14 07:56:42,840 INFO    :b'prepare_and_send_block - Block Request for add4/01 Image Type: 0x0015 Image Version: 002745FF Seq: 54 Offset: 0003d347 Size: 7 FieldCtrl: 0x02'
2025-11-14 07:56:42,840 INFO    :b'ota_send_block - Block sent to add4/01 Received yet: 250695 Sent now: 0'
2025-11-14 07:56:42,840 INFO    :b'Firmware transfer for add4/01 - Progress: 100.0 %'
2025-11-14 07:56:43,037 INFO    :b'ota_image_block_request - Request Firmware add4/01 Offset: 250695 Version: 0x002745ff Type: 0x0015 Manuf: 0x1021 Delay: 20 MaxSize: 7 Control: 0x02'
2025-11-14 07:56:43,037 INFO    :b'prepare_and_send_block - [ 85] request - add4/01 Offset: 250695 version: 0x002745FF Type: 00015 Code: 0x1021 Delay: 20 MaxSize: 7 Control: 0x02'
2025-11-14 07:56:43,037 INFO    :b'prepare_and_send_block - Block Request for add4/01 Image Type: 0x0015 Image Version: 002745FF Seq: 55 Offset: 0003d347 Size: 7 FieldCtrl: 0x02'
2025-11-14 07:56:43,038 INFO    :b'ota_send_block - Block sent to add4/01 Received yet: 250695 Sent now: 0'
2025-11-14 07:56:43,038 INFO    :b'Firmware transfer for add4/01 - Progress: 100.0 %'
2025-11-14 07:56:43,235 INFO    :b'ota_image_block_request - Request Firmware add4/01 Offset: 250695 Version: 0x002745ff Type: 0x0015 Manuf: 0x1021 Delay: 20 MaxSize: 7 Control: 0x02'
2025-11-14 07:56:43,235 INFO    :b'prepare_and_send_block - [ 86] request - add4/01 Offset: 250695 version: 0x002745FF Type: 00015 Code: 0x1021 Delay: 20 MaxSize: 7 Control: 0x02'
2025-11-14 07:56:43,236 INFO    :b'prepare_and_send_block - Block Request for add4/01 Image Type: 0x0015 Image Version: 002745FF Seq: 56 Offset: 0003d347 Size: 7 FieldCtrl: 0x02'
2025-11-14 07:56:43,236 INFO    :b'ota_send_block - Block sent to add4/01 Received yet: 250695 Sent now: 0'
2025-11-14 07:56:43,236 INFO    :b'Firmware transfer for add4/01 - Progress: 100.0 %'
2025-11-14 07:56:43,456 INFO    :b'ota_image_block_request - Request Firmware add4/01 Offset: 250695 Version: 0x002745ff Type: 0x0015 Manuf: 0x1021 Delay: 20 MaxSize: 7 Control: 0x02'
2025-11-14 07:56:43,456 INFO    :b'prepare_and_send_block - [ 87] request - add4/01 Offset: 250695 version: 0x002745FF Type: 00015 Code: 0x1021 Delay: 20 MaxSize: 7 Control: 0x02'
2025-11-14 07:56:43,456 INFO    :b'prepare_and_send_block - Block Request for add4/01 Image Type: 0x0015 Image Version: 002745FF Seq: 57 Offset: 0003d347 Size: 7 FieldCtrl: 0x02'
2025-11-14 07:56:43,456 INFO    :b'ota_send_block - Block sent to add4/01 Received yet: 250695 Sent now: 0'
2025-11-14 07:56:43,456 INFO    :b'Firmware transfer for add4/01 - Progress: 100.0 %'
Le téléchargement a l'air de s'être bien passé.

Mais juste après, j'ai un message d'erreur :

Code : Tout sélectionner

2025-11-14 07:56:47,064 INFO    :b"ota_heartbeat - NwkId: add4 Process: OnGoing Loaded: 0x21 Time: 1763102599.6108553 Notified: 1763102602.0814397 Retry: 0 Authorized: ['add4']"
2025-11-14 07:56:52,084 INFO    :b"ota_heartbeat - NwkId: add4 Process: OnGoing Loaded: 0x21 Time: 1763102599.6108553 Notified: 1763102602.0814397 Retry: 0 Authorized: ['add4']"
2025-11-14 07:56:57,073 INFO    :b"ota_heartbeat - NwkId: add4 Process: OnGoing Loaded: 0x21 Time: 1763102599.6108553 Notified: 1763102602.0814397 Retry: 0 Authorized: ['add4']"
...
2025-11-14 08:01:37,101 INFO    :b"ota_heartbeat - NwkId: add4 Process: OnGoing Loaded: 0x21 Time: 1763102599.6108553 Notified: 1763102602.0814397 Retry: 0 Authorized: ['add4']"
2025-11-14 08:01:42,063 INFO    :b"ota_heartbeat - NwkId: add4 Process: OnGoing Loaded: 0x21 Time: 1763102599.6108553 Notified: 1763102602.0814397 Retry: 0 Authorized: ['add4']"
2025-11-14 08:01:47,078 INFO    :b"ota_heartbeat - NwkId: add4 Process: OnGoing Loaded: 0x21 Time: 1763102599.6108553 Notified: 1763102602.0814397 Retry: 0 Authorized: ['add4']"
2025-11-14 08:01:47,078 ERROR   : [MainThread 2251886] [              OTA] Ota timed out on NwkId: add4 for block: 250695

Plugin à jour (7.1.024), domoticz 2025.1 sur rpi5.

L'objet continue à fonctionner correctement, mais pas de mise à jour.
Faut-il reessayer jusqu'à ce que ça fonctionne, ou bien il a un soucis ?

Merci d'avance.
Dernière modification par AchilleTalon le 03 déc. 2025, 19:44, modifié 2 fois.
Domoticz 2025.1 sur Raspberry 5/Bookworm
+ 2 RFlink (std+RTS)
+ SonoffZigbee 3.0 (E)
+ KLF200
- Alexicz
- Shelly (1, 1L, 2.5, TRV, 1Plus, ...)
- thermomètres, capteurs
- SIM+EG25-G
- caméras Tapo
- ...
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: OTA timed out

Message par pipiche »

as-tu la possibilité de faire un power off ? le débrancher, puis tu re-essayes ?
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
AchilleTalon
Messages : 112
Inscription : 26 sept. 2020, 13:47

Re: OTA timed out

Message par AchilleTalon »

J'ai éteint le Legrand, refait une mise à jour. Les logs du plugin me disent que la mise à jour a réussi :

Code : Tout sélectionner

2025-11-15 13:15:35,427 INFO    :b'Decode8503 - Request Firmware Completed 2c01001902dc41002745ff0015102100/32'
2025-11-15 13:15:35,427 INFO    :b'OTA upgrade completed - dc41/01 0019 Version: 0x002745ff Type: 0x0015 Code: 0x1021 Status: 00'
2025-11-15 13:15:35,427 INFO    :b'OTA upgrade completed with success - dc41/01 0019 Version: 0x002745ff Type: 0x0015 Code: 0x1021 Status: 00'
2025-11-15 13:15:35,427 INFO    :b'ota_management - sending Upgrade End Response, for dc41 Version: 0x002745FF Type: 0x0015, Manuf: 0x1021'
2025-11-15 13:15:35,428 INFO    :b'Device: RadiateurBaptiste_FilPilote has been updated with firmware 2573823 in 0 hour 13 min 30 sec'
2025-11-15 13:15:35,435 INFO    :b'cleanup_after_completed_upgrade - Cleanup and house keeping dc41 00'
2025-11-15 13:15:35,435 INFO    :b"cleanup_after_completed_upgrade - After cleanup self.ListInUpdate['Nwkid']: None self.ListInUpdate['AuthorizedForUpdate']: []"
Mais quand je regarde dans les infos raw", il apparaît avec l'ancien firmware. J'ai éteint à nouveau, refait l'upgrade, en relançant entre temps le plugin, ... rien à faire.

Le plugin me dit que l'update se passe bien et est terminé, mais aucun changement côté objet.

J'ai testé sur deux Legrand différents, même résultat.
Domoticz 2025.1 sur Raspberry 5/Bookworm
+ 2 RFlink (std+RTS)
+ SonoffZigbee 3.0 (E)
+ KLF200
- Alexicz
- Shelly (1, 1L, 2.5, TRV, 1Plus, ...)
- thermomètres, capteurs
- SIM+EG25-G
- caméras Tapo
- ...
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: OTA timed out

Message par pipiche »

Et maintenant est-ce que la puissance est remontée ?
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
AchilleTalon
Messages : 112
Inscription : 26 sept. 2020, 13:47

Re: OTA timed out

Message par AchilleTalon »

Toujours pas.
Mais les objets et le plugin ne montrent aucun signe que la mise à jour a bien été faite, à par les messages dans les logs.
Domoticz 2025.1 sur Raspberry 5/Bookworm
+ 2 RFlink (std+RTS)
+ SonoffZigbee 3.0 (E)
+ KLF200
- Alexicz
- Shelly (1, 1L, 2.5, TRV, 1Plus, ...)
- thermomètres, capteurs
- SIM+EG25-G
- caméras Tapo
- ...
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: OTA timed out

Message par pipiche »

Peux-tu essayer un re-appairage ?

Tu vas dans WebUI > provisionning
Et tu mets ton device Legrand en mode reset pour ré-appairage
Puis tu mets le plug-in en mode appairage
Puis tu fais un reset du device
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
AchilleTalon
Messages : 112
Inscription : 26 sept. 2020, 13:47

Re: OTA timed out

Message par AchilleTalon »

Toujours pas de succès.

J'ai essayé :
- passer l'objet en mode reset (comme tu m'as indiqué) : j'ai vu un message "proREQ" au lieu de "inDB" (il me semble)
- ré-appairer avec le plugin
L'objet revient bien, mais toujours pas de mise à jour du firmware.

Puis :
- redémarrer l'objet (coupure du disjoncteur puis rétablissement)
- redémarrer le plugin
- faire l'OTA
- redémarrer le plgin
- redémarre l'objet
- mettre à jour le plugin
- redémarrer domoticz, le plugin ...

Toujours pas. J'ai bien des messages disant que tout s'est bien passé, mais pas de nouveau firmware ni de remontée de la conso.

extrait du log:

Code : Tout sélectionner

2025-11-16 14:52:23,060 INFO    :b"ota_heartbeat - NwkId: dc41 Process: OnGoing Loaded: 0x21 Time: 1763300330.4606543 Notified: 1763300333.0854974 Retry: 0 Authorized: ['dc41']"
2025-11-16 14:52:24,612 INFO    :b'Decode8503 - Request Firmware Completed df01001902dc41002745ff0015102100/32'
2025-11-16 14:52:24,612 INFO    :b'OTA upgrade completed - dc41/01 0019 Version: 0x002745ff Type: 0x0015 Code: 0x1021 Status: 00'
2025-11-16 14:52:24,612 INFO    :b'OTA upgrade completed with success - dc41/01 0019 Version: 0x002745ff Type: 0x0015 Code: 0x1021 Status: 00'
2025-11-16 14:52:24,612 INFO    :b'ota_management - sending Upgrade End Response, for dc41 Version: 0x002745FF Type: 0x0015, Manuf: 0x1021'
2025-11-16 14:52:24,613 INFO    :b'Device: RadiateurBaptiste_FilPilote has been updated with firmware 2573823 in 0 hour 13 min 28 sec'
2025-11-16 14:52:24,620 INFO    :b'cleanup_after_completed_upgrade - Cleanup and house keeping dc41 00'
2025-11-16 14:52:31,567 INFO    :b'OTA Query Next Image request for dc41/01 [e0] - 0 1021 0015 00174203'
2025-11-16 15:52:29,511 INFO    :b'OTA Query Next Image request for dc41/01 [f9] - 0 1021 0015 00174203'
Domoticz 2025.1 sur Raspberry 5/Bookworm
+ 2 RFlink (std+RTS)
+ SonoffZigbee 3.0 (E)
+ KLF200
- Alexicz
- Shelly (1, 1L, 2.5, TRV, 1Plus, ...)
- thermomètres, capteurs
- SIM+EG25-G
- caméras Tapo
- ...
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: OTA timed out

Message par pipiche »

peux-tu me donner un export.json que je regarde ce qu'il y a comme données pour cet objet


j'ai un fil pilote , je vais essayer l'upgrade, par contre il est à 400 Km d'ici don je n'ai pas trop de possibilité de Power Off;-)
Je te tiens au jus.

J'ai récupéré le fichier OTA directement cez legrand (https://developer.legrand.com/productio ... -download/)
pour passer de la version 13 à 39

Code : Tout sélectionner

Zigbee OTA Firmware Header:

Field                          Value                          Hex
--------------------------------------------------------------------------------
file_identifier                200208670                      0xBEEF11E
header_version                 256                            0x100
header_length                  56                             0x38
field_control                  0                              0x0
manufacturer_code              4129                           0x1021
image_type                     21                             0x15
file_version                   2573823                        0x2745FF
zigbee_stack_version           2                              0x2
header_string
total_image_size               250695                         0x3D347
security_cred_version          0                              0x0
upgrade_file_destination       4503599691532544               0x10000003D30900
minimum_hardware_version       0                              0x0
maximum_hardware_version       979                            0x3D3
--------------------------------------------------------------------------------
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: OTA timed out

Message par pipiche »

Je te confirme.

Le firmware est b ien téléchargé.
On a bien la confirmation

Par contre il effectivement la version reste à l'ancienne
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
AchilleTalon
Messages : 112
Inscription : 26 sept. 2020, 13:47

Re: OTA timed out

Message par AchilleTalon »

Ok, merci d'avoir vérifié : tu as donc bien le même comportement, à savoir tout a l'air ok, mais la mise à jour ne se fait pas.

Ca sent plus un problème Legrand que domoticz, non ? (et ça ne m'arrange pas plus que ça...)
Domoticz 2025.1 sur Raspberry 5/Bookworm
+ 2 RFlink (std+RTS)
+ SonoffZigbee 3.0 (E)
+ KLF200
- Alexicz
- Shelly (1, 1L, 2.5, TRV, 1Plus, ...)
- thermomètres, capteurs
- SIM+EG25-G
- caméras Tapo
- ...
Répondre