Salut Hugo,
Merci pour l’avancée!
Nouvelle beta mise à jour, mais des erreurs, et pas de data récupérées.
le log jazpar :
[2021-12-13 14:13:39][DEBUG] : Execution de la commande refresh
[2021-12-13 14:13:39][DEBUG] : [Monitoring][Home Conso Gaz] le 12/12/2021 : absence de données
[2021-12-13 14:13:39][INFO] : Mode Force Refresh activé
[2021-12-13 14:14:07][INFO] : [Monitoring][Home Conso Gaz] Authentication in progress..
[2021-12-13 14:14:08][DEBUG] : [Monitoring][Home Conso Gaz] Authent1: {"state":"REINPUT","error":"LOGIN_INVALID_ATTEMPTS","actualLockoutDuration":0,"message":"login.error.invalidattempts","displayCaptcha":true,"surname":"MON NOM","name":"MON PRENOM","email":"monmail@fourn.com"}
[2021-12-13 14:14:08][DEBUG] : [Monitoring][Home Conso Gaz] Authent2: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Mire de connexion</title> <base href="/mire/"> <script type="text/javascript"> var onloadCallback = function() { setTimeout(onloadCallback, 500) }; </script> <meta name="viewport" content="width=device-height, initial-scale=1, maximum-scale=0.42"> <link rel="icon" type="image/x-icon" href="favicon.ico"> <!--<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async></script>--> </head> <body> <app-root></app-root> <script src="runtime.e7df24b5d39b2102df5c.js" defer></script><script src="polyfills.35a5ca1855eb057f016a.js" defer></script><script src="styles.bb6b60ca59ce3dec0b8a.js" defer></script><script src="main.ec88b36544257b014091.js" defer></script></body> </html>
[2021-12-13 14:14:08][INFO] : [Monitoring][Home Conso Gaz] ...authenticated!
[2021-12-13 14:14:08][INFO] : [Monitoring][Home Conso Gaz] Retrieve PCE...
[2021-12-13 14:14:08][DEBUG] : [Monitoring][Home Conso Gaz] PCE: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Mire de connexion</title> <base href="/mire/"> <script type="text/javascript"> var onloadCallback = function() { setTimeout(onloadCallback, 500) }; </script> <meta name="viewport" content="width=device-height, initial-scale=1, maximum-scale=0.42"> <link rel="icon" type="image/x-icon" href="favicon.ico"> <!--<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async></script>--> </head> <body> <app-root></app-root> <script src="runtime.e7df24b5d39b2102df5c.js" defer></script><script src="polyfills.35a5ca1855eb057f016a.js" defer></script><script src="styles.bb6b60ca59ce3dec0b8a.js" defer></script><script src="main.ec88b36544257b014091.js" defer></script></body> </html>
[2021-12-13 14:14:08][INFO] : [Monitoring][Home Conso Gaz] ...PCE retrieved:
[2021-12-13 14:14:08][INFO] : [Monitoring][Home Conso Gaz] Get consumption data...
[2021-12-13 14:14:08][DEBUG] : [Monitoring][Home Conso Gaz] conso: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Mire de connexion</title> <base href="/mire/"> <script type="text/javascript"> var onloadCallback = function() { setTimeout(onloadCallback, 500) }; </script> <meta name="viewport" content="width=device-height, initial-scale=1, maximum-scale=0.42"> <link rel="icon" type="image/x-icon" href="favicon.ico"> <!--<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async></script>--> </head> <body> <app-root></app-root> <script src="runtime.e7df24b5d39b2102df5c.js" defer></script><script src="polyfills.35a5ca1855eb057f016a.js" defer></script><script src="styles.bb6b60ca59ce3dec0b8a.js" defer></script><script src="main.ec88b36544257b014091.js" defer></script></body> </html>
[2021-12-13 14:14:08][INFO] : [Monitoring][Home Conso Gaz] ...consumption data retrieved!
[2021-12-13 14:14:08][INFO] : [Monitoring][Home Conso Gaz] Get comparison data...
[2021-12-13 14:14:08][DEBUG] : [Monitoring][Home Conso Gaz] comparison: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Mire de connexion</title> <base href="/mire/"> <script type="text/javascript"> var onloadCallback = function() { setTimeout(onloadCallback, 500) }; </script> <meta name="viewport" content="width=device-height, initial-scale=1, maximum-scale=0.42"> <link rel="icon" type="image/x-icon" href="favicon.ico"> <!--<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async></script>--> </head> <body> <app-root></app-root> <script src="runtime.e7df24b5d39b2102df5c.js" defer></script><script src="polyfills.35a5ca1855eb057f016a.js" defer></script><script src="styles.bb6b60ca59ce3dec0b8a.js" defer></script><script src="main.ec88b36544257b014091.js" defer></script></body> </html>
[2021-12-13 14:14:08][INFO] : [Monitoring][Home Conso Gaz] ...comparison data retrieved!
Le log http error
[Mon Dec 13 14:14:08.244908 2021] [php7:warn] [pid 12448] [client 194.254.118.32:54498] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/plugins/jazpar/core/class/jazpar.class.php on line 276, referer: https://mon.domaine.fr:port/index.php?v=d&m=jazpar&p=jazpar&id=486
[Mon Dec 13 14:14:08.326511 2021] [php7:warn] [pid 12448] [client 194.254.118.32:54498] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/plugins/jazpar/core/class/jazpar.class.php on line 95, referer: https://mon.domaine.fr:port/index.php?v=d&m=jazpar&p=jazpar&id=486
[Mon Dec 13 14:14:08.326630 2021] [php7:warn] [pid 12448] [client 194.254.118.32:54498] PHP Warning: end() expects parameter 1 to be array, null given in /var/www/html/plugins/jazpar/core/class/jazpar.class.php on line 113, referer: https://mon.domaine.fr:port/index.php?v=d&m=jazpar&p=jazpar&id=486
[Mon Dec 13 14:14:08.326682 2021] [php7:warn] [pid 12448] [client 194.254.118.32:54498] PHP Warning: end() expects parameter 1 to be array, null given in /var/www/html/plugins/jazpar/core/class/jazpar.class.php on line 114, referer: https://mon.domaine.fr:port/index.php?v=d&m=jazpar&p=jazpar&id=486
[Mon Dec 13 14:14:08.326711 2021] [php7:warn] [pid 12448] [client 194.254.118.32:54498] PHP Warning: end() expects parameter 1 to be array, null given in /var/www/html/plugins/jazpar/core/class/jazpar.class.php on line 116, referer: https://mon.domaine.fr:port/index.php?v=d&m=jazpar&p=jazpar&id=486
[Mon Dec 13 14:14:08.326797 2021] [php7:error] [pid 12448] [client 194.254.118.32:54498] PHP Fatal error: Uncaught Error: Call to a member function format() on bool in /var/www/html/plugins/jazpar/core/class/jazpar.class.php:160
Stack trace:
#0 /var/www/html/plugins/jazpar/core/class/jazpar.class.php(116): jazpar->recordIndex(NULL)
#1 /var/www/html/plugins/jazpar/core/class/jazpar.class.php(592): jazpar->pullJazpar()
#2 /var/www/html/core/class/cmd.class.php(1104): jazparCmd->execute(NULL)
#3 /var/www/html/core/ajax/cmd.ajax.php(88): cmd->execCmd(NULL)
#4 {main}
thrown in /var/www/html/plugins/jazpar/core/class/jazpar.class.php on line 160, referer: https://mon.domaine.fr:port/index.php?v=d&m=jazpar&p=jazpar&id=486
A ta dispo si besoin de plus d’info!
[EDIT] j’ai refait toute la conf de l’équipement, et c’est passé, probablement un pb de mot de passe.
Il est allé me chercher tout l’historique, qui s’est superposé au précédent, donc courbe à la ramasse.
Du coup je suis allé effacer à la main l’historique (DELETE FROM historyArch WHERE cmd_id = [id de ma commande])
et relancer la synchro. C’est beaucoup mieux !
J’ai quelques valeurs aberrantes, des conso journalière à 0 sur les kwh (alors qu’en plein été, pas à la maison et tout coupé il me compte 1!), mais qui sont également à 0 en m3.
C’est top, en tout cas un grand merci!