Salut,
Normalement à chaque fois que flow-control est à SW cela devrait être des essais avec le Sonoff MG24, juste avant le bout de trace que tu cites on a ceci:
Code : Tout sélectionner
2025-09-30 16:31:35,196 INFO :b'Closing Logging Management'
2025-09-30 16:36:27,910 INFO :b'Z4D is starting with stable7-7.1.022'
2025-09-30 16:36:27,934 INFO :b'Z4D Database found: DeviceList-47.txt'
2025-09-30 16:36:27,935 INFO :b'Z4D Certified devices database /usr/local/lib/python3.9/dist-packages/z4d_certified_devices/'
2025-09-30 16:36:27,936 INFO :b'Z4D loads ZCL Cluster definitions'
2025-09-30 16:36:28,060 INFO :b'Z4D loaded 16 configuration from legacy database.'
2025-09-30 16:36:28,072 INFO :b'++ Overwrite standard configuration model HK-SENSOR-4IN1-A with /home/domo/domoticz/plugins/Domoticz-Zigbee/Conf/Local-Devices/HK-SENSOR-4IN1-A.json'
2025-09-30 16:36:28,074 INFO :b'Z4D loads 1 configuration from the local certified Db.'
2025-09-30 16:36:29,029 INFO :b'Z4D loads 651 certified devices from repository version [6.478]'
2025-09-30 16:36:29,031 INFO :b'Z4D loading plugin database'
2025-09-30 16:36:29,209 INFO :b'Z4D loads 7 entries from /home/domo/domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-47.txt'
2025-09-30 16:36:29,230 INFO :b"Z4D is starting transport Mode: 'ZigpyEZSP' Serial: '/dev/ttyUSB11' IP: '0.0.0.0 'Port: '9999'"
2025-09-30 16:36:32,450 INFO :b'Z4D starting EZSP'
2025-09-30 16:36:32,452 INFO :b"Radio model ezsp Serial Port: /dev/ttyUSB11, Communication specifics: {'SerialMode': 'USB', 'Baudrate': 115200, 'FlowControl': 'software'}"
(...)
A 16:31:35, on a l'arrêt du plugin pour retirer l'ancien coordinateur ZGA008 et changement setup flow-control.
Puis à 16:36:27 le redémarrage sur le Sonoff MG24 débute avec les erreurs qui arrivent moins de 10s plus tard.
Pendant ce temps, côté Domoticz les logs s'arrêtent simplement (le reset périodique des logs est passé donc je les ai plus, mais le dernier log était celui ci dessous recopié du message précédent) avant ceux, périodiques, du thread stoppé:
Code : Tout sélectionner
2025-09-30 16:36:34.986 Status: Zi-Stick: ++ Started radio ezsp port: /dev/ttyUSB11 config {'device': {'path': '/dev/ttyUSB11', 'baudrate': 115200, 'flow_control': 'software'}, 'network': {}, 'ezsp_config': {'CONFIG_TX_POWER_MODE': 3}, 'ota': {}, 'handle_unknown_devices': True}
2025-09-30 16:36:34.987 Status: Zi-Stick: ++ Use of Zigpy Persistent Db
Et c'est tout côté Domoticz... Ensuite c'est les thread stopped unexpectedly, pendant des erreurs côté log plugin derrière ce warning j'imagine:
Code : Tout sélectionner
2025-09-30 16:36:35,082 WARNING :Executing <Task pending name='Task-19129' coro=<start_zigpy_task() running at /home/domo/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py:155> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f7d2ea940>()] created at /usr/lib/python3.9/asyncio/base_events.py:424> cb=[_run_until_complete_cb() at /usr/lib/python3.9/asyncio/base_events.py:184] created at /usr/lib/python3.9/asyncio/base_events.py:621> took 1.203 seconds
Nouvelle action de ma part après avoir laissé 6 minutes, à 16:43:33, pour stopper le plugin:
Code : Tout sélectionner
2025-09-30 16:43:33,100 INFO :b'Flushing plugin database onto disk'
2025-09-30 16:43:33,121 INFO :b'onStop called'
C'est donc pris en compte mais dans la foulée le webUI domoticz reste figé et oblige alors à un redémarrage du service.
Cette séquence de 16:36:27 à 16:43:33 c'est typiquement ce qui se passe, ici c'est juste le démarrage comme la récup backup avait été faite séparément avec zigpy-cli.