Bonjour à tous,
J’aurais besoin d’un petit coup de main car je n’arrive pas à m’en sortir tout seul.
J’ai migré depuis quelques temps, mon Jeedom sur Proxmox et une nouvelle machine pour plus de performance. En même temps je suis passé en Debian 11 et également monté de version Jeedom (4.3 vers 4.4). Tous s’est relativement bien passé avec peu d’anomalie.
Depuis je suis les montées de version, car j’avoue auparavant voir pris un peu de retard.
J’ai effectuée pas mal de mise à jour, core et plugins
Il y a quelques jours, j’ai redémarré mon Jeedom pour un problème de mémoire.
Suite à cela, j’ai des erreurs dans le démon .
[2024-11-03 10:48:37.362] DEBUG : Signal 15 caught, exiting...
[2024-11-03 10:48:37.362] DEBUG : Shutdown
[2024-11-03 10:48:37.363] DEBUG : Removing PID file /tmp/jeedom/xiaomihome/deamon.pid
[2024-11-03 10:48:37] INFO : Lancement démon xiaomihome : /usr/bin/python3 /var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py --loglevel debug --socketport 55019 --callback http://192.168.50.35/plugins/xiaomihome/core/php/jeeXiaomiHome.php --apikey wAWSrGkWrXV7m5VZlg0VM8AwGqRyli2w --cycle 0.05 --pid /tmp/jeedom/xiaomihome/deamon.pid
[2024-11-03 10:48:37.491] INFO : Start xiaomihomed
[2024-11-03 10:48:37.491] INFO : Log level : debug
[2024-11-03 10:48:37.491] INFO : Socket port : 55019
[2024-11-03 10:48:37.491] INFO : Socket host : 127.0.0.1
[2024-11-03 10:48:37.491] INFO : PID file : /tmp/jeedom/xiaomihome/deamon.pid
[2024-11-03 10:48:37.491] INFO : Apikey : wAWSrGkWrXV7m5VZlg0VM8AwGqRyli2w
[2024-11-03 10:48:37.491] INFO : Callback : http://192.168.50.35/plugins/xiaomihome/core/php/jeeXiaomiHome.php
[2024-11-03 10:48:37.491] INFO : Cycle : 0.05
[2024-11-03 10:48:37.491] DEBUG : Writing PID 3339872 to /tmp/jeedom/xiaomihome/deamon.pid
[2024-11-03 10:48:37.491] DEBUG : Init request module v2.0.0
[2024-11-03 10:48:37.493] INFO : Starting new HTTP connection (1): 192.168.50.35
[2024-11-03 10:48:37.493] DEBUG : Setting read timeout to None
[2024-11-03 10:48:37] DEBUG : Format Invalide
[2024-11-03 10:48:37.495] DEBUG : "GET /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=wAWSrGkWrXV7m5VZlg0VM8AwGqRyli2w HTTP/1.1" 200 0
[2024-11-03 10:48:37.496] DEBUG : Socket interface started
[2024-11-03 10:48:37.496] DEBUG : LoopNetServer Thread started
[2024-11-03 10:48:37.496] DEBUG : Listening on: [127.0.0.1:55019]
[2024-11-03 10:48:37.496] INFO : Start listening...
[2024-11-03 10:48:37.496] DEBUG : Read Socket Thread Launched
[2024-11-03 10:48:37.496] DEBUG : Aquara Thread Launched
[2024-11-03 10:48:39.837] DEBUG : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '34ce00fb56e2', 'short_id': '0', 'token': '7IoSrtnswPF3Vq9m', 'data': '{"ip":"192.168.50.22"}'}
[2024-11-03 10:48:39.853] DEBUG : Send to jeedom : {'devices': {'aquara_34ce00fb56e2': {'model': 'gateway', 'sid': '34ce00fb56e2', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.50.22', 'token': '7IoSrtnswPF3Vq9m', 'data': {'ip': '192.168.50.22'}}}}
[2024-11-03 10:48:39.853] ERROR : Error on send request to jeedom request() got an unexpected keyword argument 'json' retry : 1/3
[2024-11-03 10:48:39.854] ERROR : Error on send request to jeedom request() got an unexpected keyword argument 'json' retry : 2/3
[2024-11-03 10:48:39.854] ERROR : Error on send request to jeedom request() got an unexpected keyword argument 'json' retry : 3/3
[2024-11-03 10:48:39.854] ERROR : Critical error on send_changes_async local variable 'r' referenced before assignment
[2024-11-03 10:48:39.888] DEBUG : {'cmd': 'get_id_list', '34ce00fb56e2': '34ce00fb56e2'}
[2024-11-03 10:48:41] DEBUG : execute : action wifi refresh
[2024-11-03 10:48:41] DEBUG : Envoi : {"apikey":"wAWSrGkWrXV7m5VZlg0VM8AwGqRyli2w","type":"wifi","cmd":"refresh","model":"airmonitorb1","dest":"192.168.50.187","token":"706252507246794d4c7a50576c477249","devtype":"08f3","serial":"4b01"}
[2024-11-03 10:48:41.385] DEBUG : Client connected to [127.0.0.1:34830]
[2024-11-03 10:48:41.385] DEBUG : Message read from socket: b'{"apikey":"wAWSrGkWrXV7m5VZlg0VM8AwGqRyli2w","type":"wifi","cmd":"refresh","model":"airmonitorb1","dest":"192.168.50.187","token":"706252507246794d4c7a50576c477249","devtype":"08f3","serial":"4b01"}'
[2024-11-03 10:48:41.385] DEBUG : Client disconnected from [127.0.0.1:34830]
[2024-11-03 10:48:41.401] DEBUG : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2024-11-03 10:48:41.401] DEBUG : SOCKET-READ------Received command from jeedom : refresh
[2024-11-03 10:48:41.401] DEBUG : SOCKET-READ------Refreshing : airmonitorb1
[2024-11-03 10:48:41.401] DEBUG : refreshing {'apikey': 'wAWSrGkWrXV7m5VZlg0VM8AwGqRyli2w', 'type': 'wifi', 'cmd': 'refresh', 'model': 'airmonitorb1', 'dest': '192.168.50.187', 'token': '706252507246794d4c7a50576c477249', 'devtype': '08f3', 'serial': '4b01'}
[2024-11-03 10:48:41.965] DEBUG : vacuum "battery_state":"charging","co2":506,"humidity":63.8,"pm25":7,"temperature":19.1,"tvoc":193
[2024-11-03 10:48:41.965] DEBUG : {'battery_state': 'charging', 'co2': 506, 'humidity': 63.8, 'pm25': 7, 'temperature': 19.1, 'tvoc': 193}
[2024-11-03 10:48:41.966] DEBUG : Send to jeedom : {'devices': {'wifi_192.168.50.187': {'model': 'airmonitorb1', 'ip': '192.168.50.187', 'get_air_data': {'battery_state': 'charging', 'co2': 506, 'humidity': 63.8, 'pm25': 7, 'temperature': 19.1, 'tvoc': 193}}}}
[2024-11-03 10:48:41.966] ERROR : Error on send request to jeedom request() got an unexpected keyword argument 'json' retry : 1/3
[2024-11-03 10:48:41.966] ERROR : Error on send request to jeedom request() got an unexpected keyword argument 'json' retry : 2/3
[2024-11-03 10:48:41.966] ERROR : Error on send request to jeedom request() got an unexpected keyword argument 'json' retry : 3/3
[2024-11-03 10:48:41.966] ERROR : Critical error on send_changes_async local variable 'r' referenced before assignment
J’ai juste 2 modules dessus:
J’ai tenté pour commencer la réinstall des dépendances
Ensuite sur le forum j’ai appliqué les modifications proposées: Rendre le plugin XiaomiHome fonctionnel sous Debian 12 - #2 par jerryzz
J’ai également essayé de modifier des choses de mon coté, sans succès
Là maintenant, je suis revenu au point de départ avant toutes les modifications effectuées pour repartir sur un état stable avant de demander de l’aide.
Voici la page santé de mon Jeedom