Fatal error deamon poeleagua

Bonjour

Je te remercie pour tes investigations et le temps passé.
Pour l’heure je vais me contenter d’ignorer ces erreurs, dans la mesure où ton plugin répond à mes attentes.
Sais-tu s’il y aurait moyen de faire remonter la date/heure de la dernière remontée d’informations qui s’est bien passée ?
Autre chose, si je fais un reset de mon module WiFi, cela va-t-il influer sur le plugin et/ou sur Jeedom ?

Bonsoir

Je pense avoir trouvé la cause de toutes ces erreurs et sois rassuré cela ne vient pas du plugin.
J’ai regardé le comportement de mon module WiFi et je me suis rendu compte qu’une led verte supposée être fixe, ne fait que clignoter une fois le poêle raccordé au module.
Après quelques minutes toutes les connexions (voyants orange) se mettent à s’agiter, puis tout se coupe, comme si le module rebootait, puis cela redémarre.
Et c’est à ce moment là que le deamon génère une erreur :

2022-11-24 16:15:44]ERROR : [deamon] error : [agua-iot] [device] __update_device_information–> Error while fetching device information

C’est systématique :confused:.

De ton côté, tu as aussi un module Micronova Navel ?

1 « J'aime »

Micronova est un fournisseur de solution de gestion de poêle clim et autre. Leur plateforme pour les poêle est agua iot https://www.micronovasrl.com/en/technologies/iot-agua/. Ils fournissent beaucoup de constructeurs sur le matériel et la solution logiciel. Il y a différents hardware et des spécificités pour chacun de leur client mais la base reste la même. D’où la compatibilité du plugins avec de nombreuse marques.
Sur mon poêle jollymec le module est intégré au poêle mais reste une carte séparée de l’intelligence du poêle.

Bonjour

Je suis les évolutions de ton plugin et j’ai vu que tu avais publié 2 béta.
Tu précises : "Attention il faut maintenant préciser la version exacte "
A quelle documentation faut-il se référer pour connaitre la version Micronova que l’on utilise sur son module (ou poele ?) ?

Merci pour ton retour

C’est assez compliqué dans la doc du plugins, dans le tableau avec la config tu as la version « par défaut » 1.6.0.
Certaines marques ( piazzetta, MySuperior) ont fait évoluer le protocole de communication. Je mets à jour la doc au fur et à mesure.
Mais si la communication fonctionnait avant alors c’est 1.6.0

Merci de ton retour.
Et cette doc on la trouve où ?

Quand tu es sur la page de configuration du plugins, en haut à droite tu doit avoir un lien

Bonjour et bonne année !

Ce matin en effectuant une mise à jour du core, cela m’a mis à jour le plugin dans sa dernière version béta.
Et impossible de faire démarrer le deamon, il passait systématiquement en NOK
J’ai pourtant bien renseigné version 1 dans la page de configuration (j’ai même essayé avec 1.60) mais rien à faire. Idem après avoir relancé les dépendances.
Contenu des logs :

[2023-01-01 10:10:08][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:10:08][ERROR] : [deamon] Connexion error : Connection to None not possible
[2023-01-01 10:10:19][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:10:19][ERROR] : [deamon] Fatal error : Connection to None not possible
[deamon] Lancement du fichier deamon
[2023-01-01 10:15:08][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:15:08][ERROR] : [deamon] Connexion error : Connection to None not possible
[2023-01-01 10:15:18][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:15:18][ERROR] : [deamon] Fatal error : Connection to None not possible
[deamon] Lancement du fichier deamon
[2023-01-01 10:20:08][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:20:08][ERROR] : [deamon] Connexion error : Connection to None not possible
[2023-01-01 10:20:19][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:20:19][ERROR] : [deamon] Fatal error : Connection to None not possible
[deamon] Lancement du fichier deamon
[2023-01-01 10:25:01][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:25:01][ERROR] : [deamon] Connexion error : Connection to None not possible
[2023-01-01 10:25:12][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:25:12][ERROR] : [deamon] Fatal error : Connection to None not possible
[deamon] Lancement du fichier deamon
[2023-01-01 10:26:33][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:26:33][ERROR] : [deamon] Connexion error : Connection to None not possible
[2023-01-01 10:26:44][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:26:44][ERROR] : [deamon] Fatal error : Connection to None not possible
[deamon] Lancement du fichier deamon
[2023-01-01 10:28:24][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:28:24][ERROR] : [deamon] Connexion error : Connection to None not possible
[2023-01-01 10:28:35][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:28:35][ERROR] : [deamon] Fatal error : Connection to None not possible
[deamon] Lancement du fichier deamon
[2023-01-01 10:30:08][ERROR] : [agua-iot] handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
[2023-01-01 10:30:08][ERROR] : [deamon] Connexion error : Connection to None not possible

Du coup j’ai réinstallé la dernière version stable du 2022-12-10 et ça refonctionne.

Je penses que vous avez inversé url et url de login!

Je n’ai rien inversé puisque tout était déjà pré-rempli dans la version actuelle. Le seul champ à remplir était celui de la version, où vous indiquez de mettre 1.

Alors il serait interressant de voir les logs depuis le démarrage du démon en Debug. Ca évitera les mauvaises surprises au passage en stable

Pouvez vous réssayer avec la derniere beta et en version 1.6.0?
Je voudrais passer la beta en stable mais ne voudrais pas creer de probleme.

Bonsoir
Je testerai ça demain dans la journée et vous ferai un retour.
Dans le champ « version » il faut bien saisir 1.6.0 ?

Édit : ce qui me chagrine c’est que la dernière stable est du 03/01 et celle qui fonctionne chez moi date du 10/12.
Si ça ne fonctionne pas, je ne pourrai pas revenir en arrière.

Non pas de soucis, si vous regardez le change log les seuls modif concerne la mise à jour de la documentation.
La documentation a été revue et les liens ont été modifiés d’où la mise à jour.
Pas de modification sur le core du plugins entre les deux versions.
Et sinon je m’engage à faire refonctionner!:wink:

Bonjour

J’ai installé la dernière béta ce matin :

image

Le démon est bien OK cette fois-ci.
Par contre je n’ai pas le champ pour saisir la version 1.6.0 comme cela avait été le cas la dernière fois.

image

Mais j’ai toujours les mêmes erreurs dans les logs (cf. event 402) :

0398|[2023-01-12 10:50:04]DEBUG : Starting new HTTPS connection (1): moretti.agua-iot.com:443
0399|[2023-01-12 10:50:05]DEBUG : https://moretti.agua-iot.com:443 "GET /deviceJobStatus/370d27cc-85ee-4b39-9242-0a59c8bc4661 HTTP/1.1" 200 247
0400|[2023-01-12 10:50:05]DEBUG : [agua-iot] handle_webcall --> OK
0401|[2023-01-12 10:50:05]INFO : [agua-iot] [device] __update_device_information--> JOBANSWERSTATUS NOT COMPLETED!
0402|[2023-01-12 10:50:05]ERROR : [deamon] Fatal error : [agua-iot] [device] __update_device_information--> Error while fetching device information
0403|[2023-01-12 10:50:05]INFO : [deamon] Shutdown
0404|[2023-01-12 10:50:05]INFO : [deamon] Removing PID file /tmp/jeedom/PoeleAgua/deamon.pid
0405|[2023-01-12 10:50:05]INFO : LoopNetServer Thread stopped
0406|[2023-01-12 10:50:05]INFO : [deamon] Exit 0
0407|[deamon] Lancement du fichier deamon
0408|[2023-01-12 11:50:05]DEBUG : Deamon_info:nok
0409|[2023-01-12 11:50:06]INFO : Lancement démon PoeleAgua : /usr/bin/python3 /var/www/html/plugins/PoeleAgua/resources/demond/PoeleAgua.py --loglevel debug --PoeleAgua_SERVICE https://moretti.agua-iot.com --PoeleAgua_LoginURL none --PoeleAgua_CUSTOMER_CODE 624813 --PoeleAgua_LOGIN '' --PoeleAgua_UUID 942ac0ed-4ab3-49c7-8e8c-ef0f1ef82529 --PoeleAgua_BRAND_ID 1 --PoeleAgua_PASSWD '' --callback http://127.0.0.1:80/plugins/PoeleAgua/core/php/jeePoeleAgua.php --apikey X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV --pid /tmp/jeedom/PoeleAgua/deamon.pid --socketport 3130
0410|[2023-01-12 10:50:07]INFO : [deamon] Start demond
0411|[2023-01-12 10:50:07]INFO : [deamon] Log level : debug
0412|[2023-01-12 10:50:07]INFO : [deamon] Socket port : 3130
0413|[2023-01-12 10:50:07]INFO : [deamon] PoeleAgua service : https://moretti.agua-iot.com
0414|[2023-01-12 10:50:07]INFO : [deamon] PoeleAgua login url : none
0415|[2023-01-12 10:50:07]INFO : [deamon] PoeleAgua uuid : 942ac0ed-4ab3-49c7-8e8c-ef0f1ef82529
0416|[2023-01-12 10:50:07]INFO : [deamon] PoeleAgua Brand : 1
0417|[2023-01-12 10:50:07]INFO : [deamon] PoeleAgua customer code : 624813
0418|[2023-01-12 10:50:07]INFO : [deamon] PID file : /tmp/jeedom/PoeleAgua/deamon.pid
0419|[2023-01-12 10:50:07]INFO : [deamon] Apikey : X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV
0420|[2023-01-12 10:50:07]INFO : [deamon] creation pid file
0421|[2023-01-12 10:50:07]INFO : Writing PID 9856 to /tmp/jeedom/PoeleAgua/deamon.pid
0422|[2023-01-12 10:50:07]INFO : Init request module v2.28.1
0423|[2023-01-12 10:50:07]INFO : [deamon] creation pid file done
0424|[2023-01-12 10:50:07]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
0425|[2023-01-12 11:50:07]DEBUG : reception callback
0426|[2023-01-12 10:50:07]DEBUG : http://127.0.0.1:80 "GET /plugins/PoeleAgua/core/php/jeePoeleAgua.php?apikey=X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV HTTP/1.1" 200 0
0427|[2023-01-12 10:50:07]INFO : [deamon] creation socket
0428|[2023-01-12 10:50:07]INFO : [deamon] appel main
0429|[2023-01-12 10:50:07]INFO : [deamon] Start Main...
0430|[2023-01-12 10:50:07]INFO : Socket interface started
0431|[2023-01-12 10:50:07]INFO : LoopNetServer Thread started
0432|[2023-01-12 10:50:07]INFO : Listening on: [127.0.0.1:3130]
0433|[2023-01-12 10:50:07]INFO : [deamon] Read Socket Thread Launched
0434|[2023-01-12 10:50:07]INFO : [deamon] Recupere la loop
0435|[2023-01-12 10:50:07]DEBUG : Using selector: EpollSelector
0436|[2023-01-12 10:50:07]INFO : [deamon] Lance l api
0437|[2023-01-12 10:50:07]INFO : [deamon] lance la boucle
0438|[2023-01-12 10:50:07]DEBUG : [deamon] connection au PoeleAgua avec url adr:https://moretti.agua-iot.com
0439|[2023-01-12 10:50:07]DEBUG : [agua-iot] Lancement init
0440|[2023-01-12 10:50:07]DEBUG : [agua-iot] Lancement _login
0441|[2023-01-12 10:50:07]DEBUG : [agua-iot] Register app id with Agua IOT
0442|[2023-01-12 10:50:07]DEBUG : [agua-iot] Correctly set headers for requests to Agua IOT
0443|[2023-01-12 10:50:07]DEBUG : Starting new HTTPS connection (1): moretti.agua-iot.com:443
0444|[2023-01-12 10:50:07]DEBUG : https://moretti.agua-iot.com:443 "POST /appSignup HTTP/1.1" 201 64
0445|[2023-01-12 10:50:07]DEBUG : [agua-iot] Authenticate with email and password to Agua IOT
0446|[2023-01-12 10:50:07]DEBUG : [agua-iot] Authenticate with email : 
0447|[2023-01-12 10:50:07]DEBUG : [agua-iot] Authenticate with password : 
0448|[2023-01-12 10:50:07]DEBUG : [agua-iot] Correctly set headers for requests to Agua IOT
0449|[2023-01-12 10:50:07]DEBUG : Starting new HTTPS connection (1): moretti.agua-iot.com:443
0450|[2023-01-12 10:50:08]DEBUG : https://moretti.agua-iot.com:443 "POST /userLogin HTTP/1.1" 200 816
0451|[2023-01-12 10:50:08]DEBUG : [agua-iot] ressource :{'Success': True, 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiZGQ4ZWZiMmItZTdiMS00NTQ5LWFiNDItZmYwZjAyNzkxM2UwIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjczNTIwNjA4LCJleHAiOjE2NzM2MDcwMDh9.xNhnRnaoDBKrfj5fhz6mwBuE6VEWEN84M98F5BRCwBE', 'refresh_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsInR5cGUiOiJyZWZyZXNoIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjczNTIwNjA4LCJleHAiOjE2ODkwNzI2MDh9.EmoHKSoZNQApzHUllx4jcn0yVlrJvWAfI-9Wmjmz7Fk'}
0452|[2023-01-12 10:50:08]DEBUG : [agua-iot] Fetch heating devices
0453|[2023-01-12 10:50:08]DEBUG : [agua-iot] handle_webcall
0454|[2023-01-12 10:50:08]DEBUG : [agua-iot] Correctly set headers for requests to Agua IOT
0455|[2023-01-12 10:50:08]DEBUG : Starting new HTTPS connection (1): moretti.agua-iot.com:443
0456|[2023-01-12 10:50:08]DEBUG : https://moretti.agua-iot.com:443 "POST /deviceList HTTP/1.1" 200 705
0457|[2023-01-12 10:50:08]DEBUG : [agua-iot] handle_webcall --> OK
0458|[2023-01-12 10:50:08]DEBUG : [agua-iot] handle_webcall
0459|[2023-01-12 10:50:08]DEBUG : [agua-iot] Correctly set headers for requests to Agua IOT
0460|[2023-01-12 10:50:08]DEBUG : Starting new HTTPS connection (1): moretti.agua-iot.com:443
0461|[2023-01-12 10:50:09]DEBUG : https://moretti.agua-iot.com:443 "POST /deviceGetInfo HTTP/1.1" 200 1143
0462|[2023-01-12 10:50:09]DEBUG : [agua-iot] handle_webcall --> OK
0463|[2023-01-12 10:50:09]DEBUG : [agua-iot] [device] Init
0464|[2023-01-12 10:50:09]DEBUG : [agua-iot] Fetch device information of heating devices
0465|[2023-01-12 10:50:09]DEBUG : [agua-iot] [device] Update device information
0466|[2023-01-12 10:50:09]DEBUG : [agua-iot] [device] __update_device_registers_mapping
0467|[2023-01-12 10:50:09]DEBUG : [agua-iot] handle_webcall
0468|[2023-01-12 10:50:09]DEBUG : [agua-iot] Correctly set headers for requests to Agua IOT
0469|[2023-01-12 10:50:09]DEBUG : Starting new HTTPS connection (1): moretti.agua-iot.com:443
0470|[2023-01-12 11:50:09]INFO : Démon PoeleAgua lancé
0471|[2023-01-12 10:50:10]DEBUG : https://moretti.agua-iot.com:443 "POST /deviceGetRegistersMap HTTP/1.1" 200 77700
0472|[2023-01-12 10:50:10]DEBUG : [agua-iot] handle_webcall --> OK
0473|[2023-01-12 10:50:10]DEBUG : [agua-iot] [device] __update_device_registers_mapping --> SUCCESSFULLY UPDATED REGISTERS MAP!
0474|[2023-01-12 10:50:10]DEBUG : [agua-iot] [device] __update_device_registers_mapping --> REGISTERS MAP: {'accensioni_get': {'reg_type': 'GET', 'offset': 33006, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'alarms_enable': {'reg_type': 'ENABLE', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'alarms_get': {'reg_type': 'GET', 'offset': 51, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 65535}, 'calendar_day_set': {'reg_type': 'SET', 'offset': 33019, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 31, 'mask': 65535}, 'calendar_day_week_set': {'reg_type': 'SET', 'offset': 33016, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 7, 'mask': 65535}, 'calendar_month_set': {'reg_type': 'SET', 'offset': 33020, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 12, 'mask': 65535}, 'calendar_year_set': {'reg_type': 'SET', 'offset': 33021, 'formula': '#+2000', 'formula_inverse': '#-2000', 'format_string': '{0}', 'set_min': 15, 'set_max': 50, 'mask': 65535}, 'canalization_1_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 240}, 'canalization_1_lock_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_1_lock_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 6, 'set_max': 6, 'mask': 15}, 'canalization_1_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 6, 'mask': 15}, 'canalization_1_temp_air_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_1_temp_air_get': {'reg_type': 'GET', 'offset': 59, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_1_temp_air_set': {'reg_type': 'SET', 'offset': 32896, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 40, 'mask': 255}, 'canalization_2_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 240}, 'canalization_2_lock_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_2_lock_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#/16', 'formula_inverse': '#*16', 'format_string': '{0}', 'set_min': 6, 'set_max': 6, 'mask': 240}, 'canalization_2_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#/16', 'formula_inverse': '#*16', 'format_string': '{0}', 'set_min': 1, 'set_max': 6, 'mask': 240}, 'canalization_2_temp_air_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_2_temp_air_get': {'reg_type': 'GET', 'offset': 60, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_2_temp_air_set': {'reg_type': 'SET', 'offset': 32897, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 40, 'mask': 255}, 'canalization_man_auto_enable': {'reg_type': 'ENABLE', 'offset': 32917, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_man_auto_set': {'reg_type': 'SET', 'offset': 32899, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'canalization_single_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 240}, 'canalization_single_lock_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_single_lock_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 6, 'set_max': 6, 'mask': 240}, 'canalization_single_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#/16', 'formula_inverse': '#*16', 'format_string': '{0}', 'set_min': 1, 'set_max': 6, 'mask': 240}, 'canalization_single_temp_air_get': {'reg_type': 'GET', 'offset': 59, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_single_temp_air_set': {'reg_type': 'SET', 'offset': 32897, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 40, 'mask': 255}, 'canalization_single_temp_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'chrono_general_enable_set': {'reg_type': 'SET', 'offset': 32844, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_friday_set': {'reg_type': 'SET', 'offset': 32855, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_monday_set': {'reg_type': 'SET', 'offset': 32851, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_saturday_set': {'reg_type': 'SET', 'offset': 32856, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_sunday_set': {'reg_type': 'SET', 'offset': 32857, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_thursday_set': {'reg_type': 'SET', 'offset': 32854, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_tuesday_set': {'reg_type': 'SET', 'offset': 32852, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_wednesday_set': {'reg_type': 'SET', 'offset': 32853, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_power_set': {'reg_type': 'SET', 'offset': 32934, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p1_start_set': {'reg_type': 'SET', 'offset': 32849, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p1_stop_set': {'reg_type': 'SET', 'offset': 32850, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p1_temperature_set': {'reg_type': 'SET', 'offset': 32935, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'chrono_p2_day_friday_set': {'reg_type': 'SET', 'offset': 32864, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_monday_set': {'reg_type': 'SET', 'offset': 32860, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_saturday_set': {'reg_type': 'SET', 'offset': 32865, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_sunday_set': {'reg_type': 'SET', 'offset': 32866, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_thursday_set': {'reg_type': 'SET', 'offset': 32863, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_tuesday_set': {'reg_type': 'SET', 'offset': 32861, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_wednesday_set': {'reg_type': 'SET', 'offset': 32862, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_power_set': {'reg_type': 'SET', 'offset': 32936, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p2_start_set': {'reg_type': 'SET', 'offset': 32858, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p2_stop_set': {'reg_type': 'SET', 'offset': 32859, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p2_temperature_set': {'reg_type': 'SET', 'offset': 32937, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'chrono_p3_day_friday_set': {'reg_type': 'SET', 'offset': 32873, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_monday_set': {'reg_type': 'SET', 'offset': 32869, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_saturday_set': {'reg_type': 'SET', 'offset': 32874, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_sunday_set': {'reg_type': 'SET', 'offset': 32875, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_thursday_set': {'reg_type': 'SET', 'offset': 32872, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_tuesday_set': {'reg_type': 'SET', 'offset': 32870, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_wednesday_set': {'reg_type': 'SET', 'offset': 32871, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_power_set': {'reg_type': 'SET', 'offset': 32938, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p3_start_set': {'reg_type': 'SET', 'offset': 32867, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p3_stop_set': {'reg_type': 'SET', 'offset': 32868, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p3_temperature_set': {'reg_type': 'SET', 'offset': 32939, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'chrono_p4_day_friday_set': {'reg_type': 'SET', 'offset': 32882, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_monday_set': {'reg_type': 'SET', 'offset': 32878, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_saturday_set': {'reg_type': 'SET', 'offset': 32883, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_sunday_set': {'reg_type': 'SET', 'offset': 32884, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_thursday_set': {'reg_type': 'SET', 'offset': 32881, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_tuesday_set': {'reg_type': 'SET', 'offset': 32879, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_wednesday_set': {'reg_type': 'SET', 'offset': 32880, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_power_set': {'reg_type': 'SET', 'offset': 32940, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p4_start_set': {'reg_type': 'SET', 'offset': 32876, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p4_stop_set': {'reg_type': 'SET', 'offset': 32877, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p4_temperature_set': {'reg_type': 'SET', 'offset': 32941, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 1, 'set_max': 40, 'mask': 255}, 'chrono_week_enable_set': {'reg_type': 'SET', 'offset': 32848, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'clock_hour_set': {'reg_type': 'SET', 'offset': 33017, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 23, 'mask': 65535}, 'clock_minute_set': {'reg_type': 'SET', 'offset': 33018, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 59, 'mask': 65535}, 'ore_lavoro_par_get': {'reg_type': 'GET', 'offset': 33004, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'ore_lavoro_tot_get': {'reg_type': 'GET', 'offset': 33002, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'pellet_type_get': {'reg_type': 'GET', 'offset': 32821, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'power_set': {'reg_type': 'SET', 'offset': 32895, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'real_power_get': {'reg_type': 'GET', 'offset': 93, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'status_get': {'reg_type': 'GET', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255, 'value_off': 0}, 'status_managed_get': {'reg_type': 'GET', 'offset': 232, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255, 'value_on': 85, 'value_off': 170}, 'status_managed_off_enable': {'reg_type': 'ENABLE', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'status_managed_on_enable': {'reg_type': 'ENABLE', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'temp_air_get': {'reg_type': 'GET', 'offset': 1, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'temp_air_palm_get': {'reg_type': 'GET', 'offset': 183, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'temp_air_set': {'reg_type': 'SET', 'offset': 32893, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'temp_probe_k_get': {'reg_type': 'GET', 'offset': 87, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'thermostat_contact_1_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'thermostat_contact_1_get': {'reg_type': 'GET', 'offset': 32, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 1}, 'thermostat_contact_2_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'thermostat_contact_2_get': {'reg_type': 'GET', 'offset': 32, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 2}, 'thermostat_contact_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'thermostat_contact_get': {'reg_type': 'GET', 'offset': 32, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 2}, 'vent_main_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 128}, 'vent_main_set': {'reg_type': 'SET', 'offset': 32900, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 6, 'mask': 255, 'value_off': 0}}
0475|[2023-01-12 10:50:10]DEBUG : [agua-iot] [device] __update_device_information
0476|[2023-01-12 10:50:10]DEBUG : [agua-iot] handle_webcall
0477|[2023-01-12 10:50:10]DEBUG : [agua-iot] Correctly set headers for requests to Agua IOT
0478|[2023-01-12 10:50:10]DEBUG : Starting new HTTPS connection (1): moretti.agua-iot.com:443
0479|[2023-01-12 10:50:11]DEBUG : https://moretti.agua-iot.com:443 "POST /deviceGetBufferReading HTTP/1.1" 200 102
0480|[2023-01-12 10:50:11]DEBUG : [agua-iot] handle_webcall --> OK
0481|[2023-01-12 10:50:11]DEBUG : [agua-iot] [device] __update_device_information--> GETBUFFERREADING SUCCEEDED!
0482|[2023-01-12 10:50:11]DEBUG : [agua-iot] [device] __update_device_information--> res['idRequest']= 35fe53df-9fce-4cb4-b81d-857bda2db529
0483|[2023-01-12 10:50:11]DEBUG : [agua-iot] handle_webcall
0484|[2023-01-12 10:50:11]DEBUG : [agua-iot] Correctly set headers for requests to Agua IOT
0485|[2023-01-12 10:50:11]DEBUG : Starting new HTTPS connection (1): moretti.agua-iot.com:443
0486|[2023-01-12 10:50:11]DEBUG : https://moretti.agua-iot.com:443 "GET /deviceJobStatus/35fe53df-9fce-4cb4-b81d-857bda2db529 HTTP/1.1" 200 244
0487|[2023-01-12 10:50:11]DEBUG : [agua-iot] handle_webcall --> OK
0488|[2023-01-12 10:50:11]DEBUG : [agua-iot] [device] __update_device_information--> devicejob status retry: 0
0489|[2023-01-12 10:50:11]DEBUG : [agua-iot] [device] __update_device_information--> res: {'Success': True, 'Text': 'DEVICE_JOB_STATUS_OK', 'jobRequestStatus': 'completed', 'jobAnswerStatus': 'waiting', 'jobAnswerPayload': {'id': 1673520611106, 'jid': 'EC94CB743E00', 'pl': {'BufferId': 1, 'cmd': 'GetBufferReading'}, 'type': 'node'}, 'jobAnswerData': ''}
0490|[2023-01-12 10:50:12]DEBUG : [agua-iot] handle_webcall
0491|[2023-01-12 10:50:12]DEBUG : [agua-iot] Correctly set headers for requests to Agua IOT
0492|[2023-01-12 10:50:12]DEBUG : Starting new HTTPS connection (1): moretti.agua-iot.com:443
0493|[2023-01-12 10:50:13]DEBUG : https://moretti.agua-iot.com:443 "GET /deviceJobStatus/35fe53df-9fce-4cb4-b81d-857bda2db529 HTTP/1.1" 200 912
0494|[2023-01-12 10:50:13]DEBUG : [agua-iot] handle_webcall --> OK
0495|[2023-01-12 10:50:13]DEBUG : [agua-iot] [device] __update_device_information--> res: {'Success': True, 'Text': 'DEVICE_JOB_STATUS_OK', 'jobRequestStatus': 'completed', 'jobAnswerStatus': 'completed', 'jobAnswerPayload': {'id': 1673520611106, 'jid': 'EC94CB743E00', 'pl': {'BufferId': 1, 'cmd': 'GetBufferReading'}, 'type': 'node'}, 'jobAnswerData': {'BufferId': 1, 'Items': [33, 51, 232, 33002, 32865, 32938, 32934, 32878, 32880, 32884, 33019, 32852, 119, 32894, 33006, 32848, 33021, 32851, 32821, 32917, 33016, 32844, 32893, 33018, 32866, 32875, 32863, 32879, 32856, 32900, 32, 32849, 59, 32869, 32877, 32870, 93, 32855, 32882, 32873, 33017, 32867, 32937, 32871, 33020, 32857, 32874, 183, 1, 32872, 32895, 32897, 32941, 32862, 32940, 32859, 32854, 32850, 32936, 32883, 32853, 87, 60, 33004, 32935, 32861, 32868, 32876, 32864, 32896, 32899, 32858, 32860, 32881, 32939], 'Values': [0, 0, 3, 1835, 1, 1, 3, 0, 0, 0, 18, 1, 148, 51, 407, 1, 35, 1, 9, 0, 4, 1, 21, 80, 1, 0, 1, 0, 1, 6, 3, 44, 0, 0, 144, 0, 2, 1, 0, 0, 17, 144, 21, 0, 1, 1, 0, 42, 42, 0, 3, 20, 20, 1, 1, 135, 1, 54, 3, 0, 1, 30, 0, 1835, 21, 1, 144, 144, 1, 20, 1, 144, 1, 0, 20], 'cmd': 'GetBufferReading'}}
0496|[2023-01-12 10:50:13]DEBUG : [agua-iot] [device] __update_device_information--> JOBANSWERSTATUS COMPLETED!
0497|[2023-01-12 10:50:13]DEBUG : [agua-iot] [device] __update_device_information--> SUCCESSFULLY RETRIEVED ITEM IN JOBANSWERDATA!
0498|[2023-01-12 10:50:13]DEBUG : [agua-iot] [device] __update_device_information--> INFORMATION MAP: {33: 0, 51: 0, 232: 3, 33002: 1835, 32865: 1, 32938: 1, 32934: 3, 32878: 0, 32880: 0, 32884: 0, 33019: 18, 32852: 1, 119: 148, 32894: 51, 33006: 407, 32848: 1, 33021: 35, 32851: 1, 32821: 9, 32917: 0, 33016: 4, 32844: 1, 32893: 21, 33018: 80, 32866: 1, 32875: 0, 32863: 1, 32879: 0, 32856: 1, 32900: 6, 32: 3, 32849: 44, 59: 0, 32869: 0, 32877: 144, 32870: 0, 93: 2, 32855: 1, 32882: 0, 32873: 0, 33017: 17, 32867: 144, 32937: 21, 32871: 0, 33020: 1, 32857: 1, 32874: 0, 183: 42, 1: 42, 32872: 0, 32895: 3, 32897: 20, 32941: 20, 32862: 1, 32940: 1, 32859: 135, 32854: 1, 32850: 54, 32936: 3, 32883: 0, 32853: 1, 87: 30, 60: 0, 33004: 1835, 32935: 21, 32861: 1, 32868: 144, 32876: 144, 32864: 1, 32896: 20, 32899: 1, 32858: 144, 32860: 1, 32881: 0, 32939: 20}
0499|[2023-01-12 10:50:13]DEBUG : [deamon] lance la boucle attente commande

Je ne sais pas si cela va vous aider.

Edit: La mise à jour en béta que je viens de faire a été effectuée depuis le market:

image

la dernière fois j’avais effectué la mise à jour depuis la page des updates de Jeedom.

Bon j’ai relancé l’update depuis la page d’update de Jeedom et j’ai relancé l’installation des dépendances, car le deamon s’est remis à planter avec les mêmes erreurs que l’autre jour :

0052|[2023-01-12 13:51:09]INFO : Démon PoeleAgua lancé
0053|[2023-01-12 12:51:17]INFO : [demon]|** |** Re-connexion.
0054|[2023-01-12 12:51:17]DEBUG : [demon]|** |** connection au PoeleAgua apres erreur avec url adr:https://moretti.agua-iot.com
0055|[2023-01-12 12:51:17]DEBUG : [AguaIot] Initialisation pyAguaiot
0056|[2023-01-12 12:51:17]DEBUG : [AguaIot] |-- Lancement pyAguaIOT
0057|[2023-01-12 12:51:17]DEBUG : [AguaIot] |-- |-- Authenticate with email and password to Agua IOT
0058|[2023-01-12 12:51:17]DEBUG : [AguaIot] |-- |-- |-- login header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.co', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'true', 'Authorization': '942ac0ed-4ab3-49c7-8e8c-ef0f1ef82529'}
0059|[2023-01-12 12:51:17]DEBUG : [AguaIot] |-- |-- |-- login url:https://moretti.agua-iot.com/userLogin
0060|[2023-01-12 12:51:17]DEBUG : [AguaIot] |-- |-- |-- login payload:{"email": "", "password": ""}
0061|[2023-01-12 12:51:17]DEBUG : Starting new HTTPS connection (1): moretti.agua-iot.com:443
0062|[2023-01-12 12:51:18]DEBUG : https://moretti.agua-iot.com:443 "POST /userLogin HTTP/1.1" 200 816
0063|[2023-01-12 12:51:18]DEBUG : [AguaIot] |-- |-- |-- ressource :{'Success': True, 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiNGZhNzUyMTctMmEyNy00ZjNlLTlhY2QtYzEzOWFlNDIxZDUwIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjczNTI3ODc3LCJleHAiOjE2NzM2MTQyNzd9.axNlBHK7ypdH_J7xGlfVLZ-6kbjt3MEC51pNFgM7M0g', 'refresh_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsInR5cGUiOiJyZWZyZXNoIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjczNTI3ODc3LCJleHAiOjE2ODkwNzk4Nzd9.58AVbpVEQsGXPFBKwhJoc9ty06Xkl7iSfmW8cQALSDw'}
0064|[2023-01-12 12:51:18]DEBUG : [AguaIot] |-- |-- Authenticate with email and password to Agua IOT OK
0065|[2023-01-12 12:51:18]DEBUG : [AguaIot] |-- |-- Get User Info
0066|[2023-01-12 12:51:18]DEBUG : [AguaIot] |-- |-- |-- handle_webcall
0067|[2023-01-12 12:51:18]DEBUG : [AguaIot] |-- |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.co', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiNGZhNzUyMTctMmEyNy00ZjNlLTlhY2QtYzEzOWFlNDIxZDUwIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjczNTI3ODc3LCJleHAiOjE2NzM2MTQyNzd9.axNlBHK7ypdH_J7xGlfVLZ-6kbjt3MEC51pNFgM7M0g', 'applicationversion': '1', 'url': 'userDetail', 'brand': ''}
0068|[2023-01-12 12:51:18]DEBUG : [AguaIot] |-- |-- |-- |-- handle_webcall url:None
0069|[2023-01-12 12:51:18]DEBUG : [AguaIot] |-- |-- |-- |-- handle_webcall payload:{}
0070|[2023-01-12 12:51:18]DEBUG : [AguaIot] |-- |-- |-- |-- handle_webcall get method
0071|[2023-01-12 12:51:18]ERROR : [AguaIot] |-- |-- |-- |-- handle_webcall --> Erreur : Invalid URL 'None': No scheme supplied. Perhaps you meant http://None?
0072|[2023-01-12 12:51:18]ERROR : [demon]|** |** Fatal error : Connection to None not possible
0073|[2023-01-12 12:51:18]INFO : [demon]|** |** Shutdown
0074|[2023-01-12 12:51:18]INFO : [demon]|** |** |** Removing PID file /tmp/jeedom/PoeleAgua/deamon.pid
0075|[2023-01-12 12:51:18]INFO : LoopNetServer Thread stopped
0076|[2023-01-12 12:51:18]INFO : [demon]|** |** |** Exit 0
0077|[2023-01-12 12:51:18]DEBUG : [demon]|** |** Shutdown OK

Cette fois-ci le champ « version » apparait bien

image

Et le deamon semble rester en OK. Rien d’anormal ne remonte dans les logs depuis quelques minutes. Je vais surveiller et vous ferai un retour si ça évolue .

Je pense avoir trouvé l’origine des déconnexions de mon module WiFi.
En fait ce n’est ni lié au poêle ni au module directement, mais à ma box.
J’ai une Freebox Delta ADSL/4G et la 4G s’active de façon aléatoire suivant que la box juge qu’elle a besoin d’un coup de pouce pour augmenter le débit. Cela n’aurait pas d’incidence si lors de l’activation de la 4G l’adresse IP externe restait celle de la box, mais malheureusement j’ai remarqué que mon IP externe devient celle du modem 4G et non plus l’IP fixe de la box. Du coup j’ai une adresse IP qui alterne en permanence et de façon aléatoire entre IP box et IP 4G.
Le module WiFi étant en liaison permanente avec le serveur Agua-iot, lors d’un changement d’adresse, cela doit lui faire perdre les pédales et il coupe toutes les connexions pour en recréer une nouvelle. D’après mon historique 4G cela se produit une cinquantaine de fois par jour, ce qui correspond aux déconnexions de mon module WiFi.
J’ai désactivé l’agrégation 4G sur ma Freebox et depuis 24h plus le moindre souci ni perte de connexion avec le serveur Agua-iot et les logs sont vierges.
Cela explique pourquoi mon test avec un modem routeur 4G n’avait pas mieux fonctionné. En clair ces modules WiFi ne peuvent pas fonctionner avec un lien 4G ou alors de façon aléatoire.

Voilà une sacrée analyse ! Félicitations :confetti_ball:
Ça va sûrement aiguiller boucoup de gens sur la résolution de leur problème.
Je devrais certainement regarder aussi pour au lieu de réitéré les requêtes attendre un peu et relancer une nouvelle connexion.
Je regarderai ça pour la prochaine beta!

Bonjour

C’est à rien y comprendre. Hier toute la journée ça a très bien fonctionné. Rien dans les logs et ce matin c’est la catastrophe. Le deamon passe systématiquement en NOK après quelques minutes.
J’ai regardé du coté de mon IP et rien n’a bougé. Les premières erreurs sont apparues vers 1h ce matin et depuis impossible de faire fonctionner le plugin correctement.

J’ai réactivé les logs en debug :

PoeleAgua7.txt (173,7 Ko)
PoeleAgua6.txt (276,7 Ko)

J’ignore si cela a une importance, mais j’ai remarqué dans les logs :

[2023-01-15 09:38:28][DEBUG] : [AguaIot][device] |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.co', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'true', 'Authorization': '942ac0ed-4ab3-49c7-8e8c-ef0f1ef82529'}

que le host était nommé : moretti.agua-iot.co
et non pas : moretti.agua-iot.com

D’où provient cette information ? La config de mon plugin est OK et c’est bien indiqué moretti.agua-iot.com

Ce que je n’arrive pas à saisir c’est que cela plante subitement dans la nuit après toute une journée de bon fonctionnement.

Auriez-vous une piste à me suggérer ?

Edit un autre log en debug qui montre que le deamon est repassé en NOK après 40mn
PoeleAgua8.txt (176,6 Ko)

bonjour,

Il y a bien une erreur dans le code du plugins qui tronque le ‹ m ›. C’est corrigé en béta mais cette information n’intervient pas en version 1.6.0

Je suis en test pour relancer une connection complete en cas d’erreur de connexion entre le poele et le serveur (en test chez moi) mais j’ai rarement des plantages…