Debian 12 : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement

Bonjour

je viens de réinstaller jeedom sur debian 12

J’ai un problème avec le démon du plugin Xiaomihome.

J’ai réalisé les modifications proposées sur ce post : Rendre le plugin XiaomiHome fonctionnel sous Debian 12

Le démon démarre bien, il me semble que les capteurs remontent bien aussi mais j’ai très régulièrement le message :

Attention je pense qu’il y a un soucis avec le démon que j’ai relancé plus de 3 fois consécutivement

log Xiaomihome

[2026-07-22 09:58:01] ERROR  Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2026-07-22 09:58:02] INFO  Lancement démon xiaomihome : /var/www/html/core/class/../../plugins/xiaomihome/resources/python_venv/bin/python3 /var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py --loglevel debug --socketport 55019 --callback http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php --apikey iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg --cycle 0.05 --pid /tmp/jeedom/xiaomihome/deamon.pid
[2026-07-22 09:58:04] INFO  : Start xiaomihomed
[2026-07-22 09:58:04] INFO  : Log level : debug
[2026-07-22 09:58:04] INFO  : Socket port : 55019
[2026-07-22 09:58:04] INFO  : Socket host : 127.0.0.1
[2026-07-22 09:58:04] INFO  : PID file : /tmp/jeedom/xiaomihome/deamon.pid
[2026-07-22 09:58:04] INFO  : Apikey : iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg
[2026-07-22 09:58:04] INFO  : Callback : http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php
[2026-07-22 09:58:04] INFO  : Cycle : 0.05
[2026-07-22 09:58:04] INFO  : Writing PID 98089 to /tmp/jeedom/xiaomihome/deamon.pid
[2026-07-22 09:58:04] INFO  : Start changes async thread
[2026-07-22 09:58:04] INFO  : Init request module v2.34.2
[2026-07-22 09:58:04] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:58:04] DEBUG  Format Invalide
[2026-07-22 09:58:04] DEBUG  : http://127.0.0.1:80 "GET /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:58:04] INFO  : Socket interface started
[2026-07-22 09:58:04] INFO  : LoopNetServer Thread started
[2026-07-22 09:58:04] INFO  : Start listening...
[2026-07-22 09:58:04] INFO  : Listening on: [127.0.0.1:55019]
[2026-07-22 09:58:04] DEBUG  : Read Socket Thread Launched
[2026-07-22 09:58:04] DEBUG  : Aquara Thread Launched
[2026-07-22 09:58:11] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'ByJmCacoGf1t7uG4', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 09:58:11] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'ByJmCacoGf1t7uG4', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 09:58:11] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:58:11] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:58:11] DEBUG  : {'cmd': 'get_id_list', '34ce00fb6fd9': '34ce00fb6fd9'}
[2026-07-22 09:58:21] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'Uep17MMT1vurBkD3', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 09:58:21] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'Uep17MMT1vurBkD3', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 09:58:21] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:58:21] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:58:24] DEBUG  : {'cmd': 'report', 'model': 'motion', 'sid': '158d0001daf5a3', 'short_id': 4338, 'data': '{"status":"motion"}'}
[2026-07-22 09:58:24] DEBUG  : Send to jeedom: {'devices': {'aquara_158d0001daf5a3': {'model': 'motion', 'sid': '158d0001daf5a3', 'cmd': 'report', 'short_id': 4338, 'source': '192.168.31.226', 'token': '', 'data': {'status': 'motion'}}}}
[2026-07-22 09:58:24] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:58:24] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:58:28] DEBUG  : {'cmd': 'get_id_list_ack', 'sid': '34ce00fb6fd9', 'token': 'I7jMp557LwSB3fyN', 'data': '["158d0002270fb3","158d0002270e91","158d0002278045","158d00022cddea","158d0003a40431","158d0001daf5a3","158d000322bf6d","158d00034cd5ad","158d000322bfc5"]'}
[2026-07-22 09:58:28] DEBUG  : {'cmd': 'read', 'sid': '158d0002270fb3'}
[2026-07-22 09:58:28] DEBUG  : {'cmd': 'read', 'sid': '158d0002270e91'}
[2026-07-22 09:58:28] DEBUG  : {'cmd': 'read', 'sid': '158d0002278045'}
[2026-07-22 09:58:28] DEBUG  : {'cmd': 'read', 'sid': '158d00022cddea'}
[2026-07-22 09:58:28] DEBUG  : {'cmd': 'read_ack', 'model': 'weather.v1', 'sid': '158d0002270fb3', 'short_id': 31587, 'data': '{"voltage":3005,"temperature":"2175","humidity":"4897","pressure":"99561"}'}
[2026-07-22 09:58:28] DEBUG  : Send to jeedom: {'devices': {'aquara_158d0002270fb3': {'model': 'weather.v1', 'sid': '158d0002270fb3', 'cmd': 'read_ack', 'short_id': 31587, 'source': '192.168.31.226', 'token': '', 'data': {'voltage': 3005, 'temperature': '2175', 'humidity': '4897', 'pressure': '99561'}}}}
[2026-07-22 09:58:28] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:58:28] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:58:31] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'EE1OJeozqMb9DQTl', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 09:58:31] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'EE1OJeozqMb9DQTl', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 09:58:31] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:58:31] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:58:41] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'PJvaPvzEx2u2NfJG', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 09:58:41] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'PJvaPvzEx2u2NfJG', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 09:58:41] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:58:41] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:58:51] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'kAheF2ol7DtEyrAU', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 09:58:51] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'kAheF2ol7DtEyrAU', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 09:58:51] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:58:51] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:58:58] DEBUG  : {'cmd': 'report', 'model': 'weather.v1', 'sid': '158d0002270fb3', 'short_id': 31587, 'data': '{"temperature":"2197"}'}
[2026-07-22 09:58:58] DEBUG  : Send to jeedom: {'devices': {'aquara_158d0002270fb3': {'model': 'weather.v1', 'sid': '158d0002270fb3', 'cmd': 'report', 'short_id': 31587, 'source': '192.168.31.226', 'token': '', 'data': {'temperature': '2197'}}}}
[2026-07-22 09:58:58] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:58:58] DEBUG  : {'cmd': 'report', 'model': 'weather.v1', 'sid': '158d0002270fb3', 'short_id': 31587, 'data': '{"humidity":"4802"}'}
[2026-07-22 09:58:58] DEBUG  : {'cmd': 'report', 'model': 'weather.v1', 'sid': '158d0002270fb3', 'short_id': 31587, 'data': '{"pressure":"99548"}'}
[2026-07-22 09:58:58] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:58:58] DEBUG  : Send to jeedom: {'devices': {'aquara_158d0002270fb3': {'model': 'weather.v1', 'sid': '158d0002270fb3', 'cmd': 'report', 'short_id': 31587, 'source': '192.168.31.226', 'token': '', 'data': {'humidity': '4802', 'pressure': '99548'}}}}
[2026-07-22 09:58:58] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:58:58] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:59:01] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'ek9fkPyo5EszLJXO', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 09:59:01] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'ek9fkPyo5EszLJXO', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 09:59:01] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:59:01] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:59:11] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'qiKiD2vhXJKmMDBZ', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 09:59:11] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'qiKiD2vhXJKmMDBZ', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 09:59:11] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:59:11] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:59:21] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'YMHD3LtZkrkEAwxP', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 09:59:21] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'YMHD3LtZkrkEAwxP', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 09:59:21] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:59:21] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:59:31] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'gd6eTEFgVNm65X6P', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 09:59:31] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'gd6eTEFgVNm65X6P', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 09:59:31] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:59:31] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:59:41] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'FlMNf8l903KiZdn2', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 09:59:41] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'FlMNf8l903KiZdn2', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 09:59:41] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:59:41] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 09:59:51] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'mIcBgaB96k8vdiHZ', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 09:59:51] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'mIcBgaB96k8vdiHZ', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 09:59:51] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 09:59:51] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 10:00:01] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'Ue1DYp2q18KERNI1', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 10:00:01] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'Ue1DYp2q18KERNI1', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 10:00:01] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 10:00:01] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 10:00:02] DEBUG  : {'cmd': 'report', 'model': 'weather.v1', 'sid': '158d00022cddea', 'short_id': 38995, 'data': '{"temperature":"1609"}'}
[2026-07-22 10:00:02] DEBUG  : Send to jeedom: {'devices': {'aquara_158d00022cddea': {'model': 'weather.v1', 'sid': '158d00022cddea', 'cmd': 'report', 'short_id': 38995, 'source': '192.168.31.226', 'token': '', 'data': {'temperature': '1609'}}}}
[2026-07-22 10:00:02] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 10:00:02] DEBUG  : {'cmd': 'report', 'model': 'weather.v1', 'sid': '158d00022cddea', 'short_id': 38995, 'data': '{"humidity":"5232"}'}
[2026-07-22 10:00:02] DEBUG  : {'cmd': 'report', 'model': 'weather.v1', 'sid': '158d00022cddea', 'short_id': 38995, 'data': '{"pressure":"99612"}'}
[2026-07-22 10:00:03] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 10:00:03] DEBUG  : Send to jeedom: {'devices': {'aquara_158d00022cddea': {'model': 'weather.v1', 'sid': '158d00022cddea', 'cmd': 'report', 'short_id': 38995, 'source': '192.168.31.226', 'token': '', 'data': {'humidity': '5232', 'pressure': '99612'}}}}
[2026-07-22 10:00:03] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 10:00:03] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 10:00:11] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'QKrXATzpKsQpgEnr', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 10:00:11] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'QKrXATzpKsQpgEnr', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 10:00:11] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 10:00:11] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 10:00:12] DEBUG  : Signal 15 caught, exiting...
[2026-07-22 10:00:12] DEBUG  : Shutdown
[2026-07-22 10:00:12] DEBUG  : Removing PID file /tmp/jeedom/xiaomihome/deamon.pid
[2026-07-22 10:00:13] ERROR  Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2026-07-22 10:00:13] INFO  Lancement démon xiaomihome : /var/www/html/core/class/../../plugins/xiaomihome/resources/python_venv/bin/python3 /var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py --loglevel debug --socketport 55019 --callback http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php --apikey iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg --cycle 0.05 --pid /tmp/jeedom/xiaomihome/deamon.pid
[2026-07-22 10:00:13] INFO  : Start xiaomihomed
[2026-07-22 10:00:13] INFO  : Log level : debug
[2026-07-22 10:00:13] INFO  : Socket port : 55019
[2026-07-22 10:00:13] INFO  : Socket host : 127.0.0.1
[2026-07-22 10:00:13] INFO  : PID file : /tmp/jeedom/xiaomihome/deamon.pid
[2026-07-22 10:00:13] INFO  : Apikey : iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg
[2026-07-22 10:00:13] INFO  : Callback : http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php
[2026-07-22 10:00:13] INFO  : Cycle : 0.05
[2026-07-22 10:00:13] INFO  : Writing PID 99910 to /tmp/jeedom/xiaomihome/deamon.pid
[2026-07-22 10:00:13] INFO  : Start changes async thread
[2026-07-22 10:00:13] INFO  : Init request module v2.34.2
[2026-07-22 10:00:13] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 10:00:13] DEBUG  Format Invalide
[2026-07-22 10:00:13] DEBUG  : http://127.0.0.1:80 "GET /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 10:00:13] INFO  : Socket interface started
[2026-07-22 10:00:13] INFO  : LoopNetServer Thread started
[2026-07-22 10:00:13] INFO  : Listening on: [127.0.0.1:55019]
[2026-07-22 10:00:13] INFO  : Start listening...
[2026-07-22 10:00:13] DEBUG  : Read Socket Thread Launched
[2026-07-22 10:00:13] DEBUG  : Aquara Thread Launched
[2026-07-22 10:00:14] DEBUG  Equipement Yeelight déconnecté : bandeau led
[2026-07-22 10:00:14] DEBUG  Rafraîchissement de Aqara : Gateway 34ce00fb6fd9
[2026-07-22 10:00:17] DEBUG  Equipement Yeelight déconnecté : lumière salon
[2026-07-22 10:00:21] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'lE7aYBVmKDbxRbcu', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 10:00:21] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'lE7aYBVmKDbxRbcu', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 10:00:21] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 10:00:21] DEBUG  : {'cmd': 'get_id_list', '34ce00fb6fd9': '34ce00fb6fd9'}
[2026-07-22 10:00:21] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 10:00:23] DEBUG  : {'cmd': 'report', 'model': 'motion', 'sid': '158d0001daf5a3', 'short_id': 4338, 'data': '{"no_motion":"120"}'}
[2026-07-22 10:00:23] DEBUG  : Send to jeedom: {'devices': {'aquara_158d0001daf5a3': {'model': 'motion', 'sid': '158d0001daf5a3', 'cmd': 'report', 'short_id': 4338, 'source': '192.168.31.226', 'token': '', 'data': {'no_motion': '120'}}}}
[2026-07-22 10:00:23] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 10:00:24] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 10:00:27] DEBUG  : {'cmd': 'heartbeat', 'model': 'sensor_magnet.aq2', 'sid': '158d00034cd5ad', 'short_id': 44861, 'data': '{"voltage":3055,"status":"close"}'}
[2026-07-22 10:00:27] DEBUG  : Send to jeedom: {'devices': {'aquara_158d00034cd5ad': {'model': 'sensor_magnet.aq2', 'sid': '158d00034cd5ad', 'cmd': 'heartbeat', 'short_id': 44861, 'source': '192.168.31.226', 'token': '', 'data': {'voltage': 3055, 'status': 'close'}}}}
[2026-07-22 10:00:27] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 10:00:27] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 10:00:27] DEBUG  : {'cmd': 'get_id_list', '158d00034cd5ad': '158d00034cd5ad'}
[2026-07-22 10:00:31] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'K7vE4MwYua0ya5o5', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 10:00:31] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'K7vE4MwYua0ya5o5', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 10:00:31] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 10:00:31] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0
[2026-07-22 10:00:37] DEBUG  : {'cmd': 'get_id_list_ack', 'sid': '34ce00fb6fd9', 'token': '6v2OTY0uTBCZXosc', 'data': '["158d0002270fb3","158d0002270e91","158d0002278045","158d00022cddea","158d0003a40431","158d0001daf5a3","158d000322bf6d","158d00034cd5ad","158d000322bfc5"]'}
[2026-07-22 10:00:37] DEBUG  : {'cmd': 'read', 'sid': '158d0002270fb3'}
[2026-07-22 10:00:37] DEBUG  : {'cmd': 'read', 'sid': '158d0002270e91'}
[2026-07-22 10:00:37] DEBUG  : {'cmd': 'read', 'sid': '158d0002278045'}
[2026-07-22 10:00:37] DEBUG  : {'cmd': 'read', 'sid': '158d00022cddea'}
[2026-07-22 10:00:41] DEBUG  : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb6fd9', 'short_id': '0', 'token': 'NOdnyZATzsK1RqBw', 'data': '{"ip":"192.168.31.226"}'}
[2026-07-22 10:00:41] DEBUG  : Send to jeedom: {'devices': {'aquara_34ce00fb6fd9': {'model': 'gateway', 'sid': '34ce00fb6fd9', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.31.226', 'token': 'NOdnyZATzsK1RqBw', 'data': {'ip': '192.168.31.226'}}}}
[2026-07-22 10:00:41] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2026-07-22 10:00:41] DEBUG  : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=iDdv7gPTgCsDp3ZHWvtaHGrCi9x0fxbg HTTP/1.1" 200 0

log Xiaomihome package

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_xiaomihome
+ echo 1
+ echo 2
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Atteint :1 http://security.debian.org/debian-security bookworm-security InRelease
Atteint :2 http://deb.debian.org/debian bookworm InRelease
Atteint :3 http://deb.debian.org/debian bookworm-updates InRelease
Atteint :4 https://deb.nodesource.com/node_22.x nodistro InRelease
Atteint :5 https://packagecloud.io/ookla/speedtest-cli/debian bookworm InRelease
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
39 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
+ sudo apt-get install -y python3 python3-pip python3-dev python3-venv
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
python3 est déjà la version la plus récente (3.11.2-1+b1).
python3-pip est déjà la version la plus récente (23.0.1+dfsg-1).
python3-dev est déjà la version la plus récente (3.11.2-1+b1).
python3-venv est déjà la version la plus récente (3.11.2-1+b1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 39 non mis à jour.
+ echo 3
+ sudo python3 -m venv --upgrade-deps /var/www/html/core/class/../../plugins/xiaomihome/resources/python_venv
+ echo 4
+ sudo /var/www/html/core/class/../../plugins/xiaomihome/resources/python_venv/bin/python3 -m pip install --upgrade pip wheel
Requirement already satisfied: pip in ./html/plugins/xiaomihome/resources/python_venv/lib/python3.11/site-packages (26.1.2)
Requirement already satisfied: wheel in ./html/plugins/xiaomihome/resources/python_venv/lib/python3.11/site-packages (0.47.0)
Requirement already satisfied: packaging>=24.0 in ./html/plugins/xiaomihome/resources/python_venv/lib/python3.11/site-packages (from wheel) (26.2)
+ echo 5
+ sudo /var/www/html/core/class/../../plugins/xiaomihome/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade pycrypto
Collecting pycrypto
Using cached pycrypto-2.6.1.tar.gz (446 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: pycrypto
Building wheel for pycrypto (pyproject.toml): started
Building wheel for pycrypto (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for pycrypto (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [84 lines of output]
/tmp/pip-build-env-u14yik2y/overlay/lib/python3.11/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: Public Domain
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for __gmpz_init in -lgmp... yes
checking for __gmpz_init in -lmpir... no
checking whether mpz_powm is declared... yes
checking whether mpz_powm_sec is declared... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memmove... yes
checking for memset... yes
configure: creating ./config.status
config.status: creating src/config.h
In file included from /usr/include/python3.11/Python.h:86,
from src/_fastmath.c:31:
/usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
208 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts);
|                                                            ^~~~~~~~
/usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
213 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
|                                                        ^~~~~~~~
/usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
217 | PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts);
|                                                               ^~~~~~~~
src/_fastmath.c:33:10: fatal error: longintrepr.h: Aucun fichier ou dossier de ce type
33 | #include <longintrepr.h>                                /* for conversions */
|          ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycrypto
Failed to build pycrypto
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> pycrypto
+ echo 6
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end xiaomihome
+ echo 7
+ rm /tmp/jeedom_install_in_progress_xiaomihome
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Informations Jeedom

Core : 4.6.1 (master)
DNS Jeedom : non

Plugin : Xiaomi Home
Version : 2022-06-06 01:02:25 (stable)
Statut Démon : Démarré - (2026-07-22 10:00:13)
Santé
🟢 Matériel : diy
🟢 Système à jour : OK
🟢 Cron actif : OK
🟢 Scénario actif : OK
🟢 Démarré : OK 2026-07-22 08:29:05
🟢 Date système (dernière heure enregistrée) : OK 2026-07-22 10:04:51 (2026-07-22 09:10:01)
🟢 Droits sudo : OK
🟢 Version Jeedom : 4.6.1
🟢 Version OS : debian 12.14
🟢 Version PHP : 8.2.31
🟢 Nombre de processus Apache : 12
🟢 Version OS : Linux Jeedom 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 GNU/Linux  [12.14]
🟢 Version database : 10.11.14-MariaDB-0+deb12u2
🟢 Espace disque libre : 79 %
🟢 Connexion active/max/autorisée : 13/25/151
🟢 Taille base de données : 45.13 MB
🟢 Espace disque libre tmp : 79 %
🟢 Mémoire disponible : 85 % (Total 7941 Mo)
🟢 Mémoire suffisante : 0 
🟢 Erreur I/O : 0
🟢 Swap disponible : 100 % (Total 975 Mo)
🟢 Swappiness : 10 %
🟢 Charge : 0.52 - 0.98 - 0.92
🟢 Configuration réseau interne : OK
🔴 Configuration réseau externe : NOK
🟢 Node : v22.23.1 
🟢 Python 3 : Python 3.11.2 
🟢 Persistance du cache : OK
🟢 Apache private tmp : OK

Comment faire pour ne plus avoir le démon qui redémarre toutes les 5 min ?

Merci

Salut !

Normal sous Debian 12. Je te laisse avec un peu de lecture.

Bonne journée

Bonjour,

relire le message d’origine?
car je ne comprend pas la réponse donnée

2 « J'aime »

My bad, j’ai lu trop vite :sweat_smile: