Sache bien que il y a aussi plusieurs données dans mqtt qui ne sont pas (encore) bien utilisé. Cette intégration est basé sur l’ancien truc. J’ai juste re-fait la connection, ajouté statistisques et quelques bugs.
Ce que j’envisage est une carte avec les tableaux pour 7 jours et 12 mois…peut-être vers la fin de l’année
Hello, n’hésite pas si tu as besoin d’aide !
Toujours…si t’as du temps pour génerer des stats et son sensor pour ces données
Bonjour à tous,
Déjà merci pour toutes vos contributions.
J’ai essayé de faire remonter les infos du gaz mais j’ai cette erreur
2024-08-06 16:16:12,224 INFO Unable to login to GRDF website
2024-08-06 16:16:12,228 INFO Wait 11 minutes before next try
2024-08-06 16:26:52,329 INFO Connexion to GRDF, try 5/14...
2024-08-06 16:26:52,350 DEBUG Starting new HTTPS connection (1): monespace.grdf.fr:443
2024-08-06 16:26:52,450 DEBUG https://monespace.grdf.fr:443 "GET /client/particulier/accueil HTTP/1.1" 302 None
2024-08-06 16:26:52,468 DEBUG Starting new HTTPS connection (1): connexion.grdf.fr:443
2024-08-06 16:26:52,957 DEBUG https://connexion.grdf.fr:443 "GET /oauth2/xxxxxxx/v1/authorize?response_type=code&scope=openid+profile+email&client_id=xxxxx&state=%2Fclient%2Fparticulier%2Faccueil&redirect_uri=https://monespace.grdf.fr/_codexch&nonce=CvvUdPUfnVn0j4ZG9MovIA9jLoG9CjrhSOJcPSGKAcs&by_pass_okta=1&capp=meg HTTP/1.1" 200 None
2024-08-06 16:26:52,967 DEBUG Cookies ok.
2024-08-06 16:26:52,968 DEBUG auth_nonce: xxxxx
2024-08-06 16:26:52,969 DEBUG Logging ...
2024-08-06 16:26:52,969 DEBUG Logging payload : {'email': 'xxxxxx@gmail.com', 'password': 'xxxxx', 'capp': 'meg', 'goto': 'https://sofa-connexion.grdf.fr:443/openam/oauth2/externeGrdf/authorize'}
2024-08-06 16:26:52,982 DEBUG Starting new HTTPS connection (1): login.monespace.grdf.fr:443
2024-08-06 16:26:53,062 DEBUG https://login.monespace.grdf.fr:443 "POST /sofit-account-api/api/v1/auth HTTP/1.1" 302 None
2024-08-06 16:26:53,082 DEBUG Logging returned : <html>
<head><title>302 Found</title><script type="text/javascript" src="/ruxitagentjs_ICA7NVfgqrux_10291240606133530.js" data-dtconfig="rid=RID_-1017566506|rpid=1403858796|domain=grdf.fr|reportUrl=/rb_28b71b64-4e54-4ada-9d42-8518f652345d|app=ba8bbae595af8ce5|cuc=2hlb4rsn|mel=100000|featureHash=ICA7NVfgqrux|dpvc=1|ssv=4|lastModification=1720006023771|tp=500,50,0|rdnt=0|uxrgce=1|bp=3|agentUri=/ruxitagentjs_ICA7NVfgqrux_10291240606133530.js"></script></head>
<body>
<center><h1>302 Found</h1></center>
<hr><center>nginx/1.19.0</center>
</body>
</html>
Mais il indique toujours que je ne peux pas me logguer sur le site GRDF. Avez-vous une idée?
Ma config:
GRDF_USERNAME: "xxxxxx@gmail.com"
GRDF_PASSWORD: "xxxxxxxxx"
SCHEDULE_TIME: 19:00
STANDALONE_MODE: false
HASS_DISCOVERY: true
HASS_PREFIX: homeassistant
HASS_DEVICE_NAME: gazpar
HASS_SSL: true
HASS_LTS_DELETE: false
HASS_LTS: true
HASS_LTS_HOST: "http://ip:8123"
HASS_LTS_TOKEN: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
MQTT_TOPIC: gazpar_haos
MQTT_CLIENTID: gazpar_client_haos
MQTT_HOST: core-mosquitto
MQTT_PORT: 1883
MQTT_SSL: false
MQTT_USERNAME: xxxxxx
MQTT_PASSWORD: xxxxxxx
TZ: Europe/Paris
DEBUG: true
Merci!
Bonjour,
C’est juste chez moi ou grdf est à l’arrache pour les relevés ?
Pas de relevés depuis le 15 juillet.
Merci.
Bonjour,
Je suis preneur d’un fichier prices.csv à jour s’il vous plaît. (Je ne comprends pas grand chose à ma facture…)
Le prix dépend de ton contrat et donc ils apparaissent sur ta facture …
Hello,
j’ai réussi à implémenter la solution et j’ai des relevés même si j’ai besoin de voir si la data est cohérente.
par contre je vois pas quelle input est à envoyer dans le dashboard énergie.
Bonsoir,
Comme je lutte avec un device zigbee de chez Lixee (le ZiPulses) et que j’ai découvert que le capcha de GRDF avait disparu, je me suis lancé dans l’installation de cet add-on dans Home Assistant. Tout a fonctionné parfaitement bien dans un HAOS à jour, installé sur un Raspberry 4.
J’ai ainsi profité des Long Term Statistics et du dashboard Energy avec un historique de 3 ans.
Une fois tout bien validé, je suis passé sur mon Home Assistant « de production » qui tourne dans une VM sur mon NAS Synology et qui est adressable par une adresse publique. Là encore, tout a parfaitement bien fonctionné (en rajoutant simplement HASS_SSL à true dans le fichier de config pour le websocket wss).
Merci beaucoup !
Bonjour,
installé hier. Sans le SCHEDULE_TIME: ‹ 06:30 ›, ça bouclait.
Beau travail.
Soucis connu mais pas du temps … voir l’issue sur github pour l’alternative
Bonjour, et merci pour ce travail, j’attends un nouveau plugin fonctionnel depuis longtemps !
J’ai bien la connexion au broker MQTT (installé en tant que module sur mon HA) mais je ne parviens pas à me connecter au site GRDF…Mes identifiants sont OK, voici ce que j’obtiens…
2024-10-02 09:29:22,099 INFO -----------------------------------------------------------
2024-10-02 09:29:22,099 INFO # Welcome to gazpar2mqtt #
2024-10-02 09:29:22,099 INFO -----------------------------------------------------------
2024-10-02 09:29:22,099 INFO Program version : 0.8.2
2024-10-02 09:29:22,100 INFO Database version : 0.8.0
2024-10-02 09:29:22,100 INFO Influxdb version : 0.8.0
2024-10-02 09:29:22,100 INFO Please note that the the tool is still under development, various functions may disappear or be modified.
2024-10-02 09:29:22,100 INFO -----------------------------------------------------------
2024-10-02 09:29:22,101 INFO # Program parameters #
2024-10-02 09:29:22,101 INFO -----------------------------------------------------------
2024-10-02 09:29:22,101 INFO GRDF config : username = ******@****.**, password = ******
2024-10-02 09:29:22,101 INFO MQTT broker config : host = core-mosquitto, port = 1883, clientId = gazpar_client_haos, qos = 1, topic = gazpar_haos, retain = False, ssl = False
2024-10-02 09:29:22,101 INFO Standlone mode : Enable = True
2024-10-02 09:29:22,102 INFO Home Assistant discovery : Enable = True, Topic prefix = homeassistant, Device name = gazpar
2024-10-02 09:29:22,102 INFO Thresold options : Warning percentage = 80
2024-10-02 09:29:22,102 INFO Influxdb config : Enable = False
2024-10-02 09:29:22,102 INFO Price config : Default price = 0.07 €/kWh, default fix price = 0.9 €/day, path to file = /data
2024-10-02 09:29:22,103 INFO Database options : Force reinitialization = False, Path = /data
2024-10-02 09:29:22,103 INFO Debug mode : Enable = False
2024-10-02 09:29:22,103 INFO Check parameters...
2024-10-02 09:29:22,103 INFO Parameters are ok !
2024-10-02 09:29:22,103 INFO -----------------------------------------------------------
2024-10-02 09:29:22,104 INFO # Connexion to SQLite database #
2024-10-02 09:29:22,104 INFO -----------------------------------------------------------
2024-10-02 09:29:22,104 INFO Connexion to SQLite database...
2024-10-02 09:29:22,105 INFO SQLite database connected !
2024-10-02 09:29:22,106 INFO Last execution date 2024-10-01 15:57:15.190950, program was in version 0.8.2.
2024-10-02 09:29:22,106 INFO Checking database version...
2024-10-02 09:29:22,107 INFO Your database is already up to date : version 0.8.0.
2024-10-02 09:29:22,107 INFO Retrieve database statistics...
2024-10-02 09:29:22,108 INFO 0 informatives measures stored
2024-10-02 09:29:22,108 INFO 0 PCE(s)
2024-10-02 09:29:22,108 INFO First measure : None
2024-10-02 09:29:22,109 INFO Last measure : None
2024-10-02 09:29:22,109 INFO -----------------------------------------------------------
2024-10-02 09:29:22,109 INFO # Connexion to Mqtt broker #
2024-10-02 09:29:22,109 INFO -----------------------------------------------------------
2024-10-02 09:29:22,109 INFO Connect to Mqtt broker...
2024-10-02 09:29:26,118 INFO Mqtt broker connected !
2024-10-02 09:29:26,118 INFO -----------------------------------------------------------
2024-10-02 09:29:26,118 INFO # Get data from GRDF website #
2024-10-02 09:29:26,118 INFO -----------------------------------------------------------
2024-10-02 09:29:26,119 INFO Connexion to GRDF, try 1/14...
2024-10-02 09:29:26,667 INFO Unable to login to GRDF website
2024-10-02 09:29:26,667 INFO Wait 20 seconds (0 min) before next try
2024-10-02 09:29:46,686 INFO Connexion to GRDF, try 2/14...
2024-10-02 09:29:47,156 INFO Unable to login to GRDF website
2024-10-02 09:29:47,157 INFO Wait 113 seconds (2 min) before next try
2024-10-02 09:31:40,258 INFO Connexion to GRDF, try 3/14...
2024-10-02 09:31:40,853 INFO Unable to login to GRDF website
2024-10-02 09:31:40,853 INFO Wait 5 minutes before next try
2024-10-02 09:36:52,891 INFO Connexion to GRDF, try 4/14...
2024-10-02 09:36:53,647 INFO Unable to login to GRDF website
2024-10-02 09:36:53,647 INFO Wait 11 minutes before next try
2024-10-02 09:47:33,746 INFO Connexion to GRDF, try 5/14...
2024-10-02 09:47:34,360 INFO Unable to login to GRDF website
2024-10-02 09:47:34,361 INFO Wait 19 minutes before next try
2024-10-02 10:06:12,459 INFO Connexion to GRDF, try 6/14...
2024-10-02 10:06:13,066 INFO Unable to login to GRDF website
2024-10-02 10:06:13,067 INFO Wait 29 minutes before next try
2024-10-02 10:35:37,099 INFO Connexion to GRDF, try 7/14...
2024-10-02 10:35:37,694 INFO Unable to login to GRDF website
2024-10-02 10:35:37,694 INFO Wait 43 minutes before next try
2024-10-02 11:18:50,794 INFO Connexion to GRDF, try 8/14...
2024-10-02 11:18:51,375 INFO Unable to login to GRDF website
2024-10-02 11:18:51,376 INFO Wait 60 minutes before next try
2024-10-02 12:19:11,477 INFO Connexion to GRDF, try 9/14...
2024-10-02 12:19:12,030 INFO Unable to login to GRDF website
2024-10-02 12:19:12,030 INFO Wait 81 minutes before next try
2024-10-02 13:40:12,130 INFO Connexion to GRDF, try 10/14...
2024-10-02 13:40:12,717 INFO Unable to login to GRDF website
2024-10-02 13:40:12,717 INFO Wait 105 minutes before next try
2024-10-02 15:25:37,780 INFO Connexion to GRDF, try 11/14...
2024-10-02 15:25:38,436 INFO Unable to login to GRDF website
2024-10-02 15:25:38,436 INFO Wait 134 minutes before next try
Mon fichier de config :
GRDF_USERNAME: xxxxxxxxx@gmail.com #your GRDF login (ex : myemail@email.com)
GRDF_PASSWORD: xxxxxxxxxx #your GRDF password
MQTT_HOST: core-mosquitto #hostname or ip adress of the MQTT broker.
MQTT_USERNAME: mqtt
MQTT_PASSWORD: xxxxxxxxxx
MQTT_TOPIC: gazpar_haos
MQTT_CLIENTID: gazpar_client_haos
HASS_DISCOVERY: True
HASS_PREFIX: homeassistant
HASS_DEVICE_NAME: gazpar
SCHEDULE_TIME: 06:30
DEBUG_MODE: True
TZ: Europe/Paris
Bonjour, exactement le meme soucis …
2024-10-04 14:23:07,464 INFO -----------------------------------------------------------
2024-10-04 14:23:07,465 INFO # Welcome to gazpar2mqtt #
2024-10-04 14:23:07,465 INFO -----------------------------------------------------------
2024-10-04 14:23:07,465 INFO Program version : 0.8.2
2024-10-04 14:23:07,465 INFO Database version : 0.8.0
2024-10-04 14:23:07,465 INFO Influxdb version : 0.8.0
2024-10-04 14:23:07,465 INFO Please note that the the tool is still under development, various functions may disappear or be modified.
2024-10-04 14:23:07,465 INFO -----------------------------------------------------------
2024-10-04 14:23:07,466 INFO # Program parameters #
2024-10-04 14:23:07,466 INFO -----------------------------------------------------------
2024-10-04 14:23:07,466 INFO GRDF config : username = ******@****.**, password = ******
2024-10-04 14:23:07,466 INFO MQTT broker config : host = 192.168.1.96, port = 1883, clientId = gazpar_client_haos, qos = 1, topic = gazpar_haos, retain = False, ssl = False
2024-10-04 14:23:07,466 INFO Standlone mode : Enable = True
2024-10-04 14:23:07,466 INFO Home Assistant discovery : Enable = True, Topic prefix = homeassistant, Device name = gazpar
2024-10-04 14:23:07,466 INFO Thresold options : Warning percentage = 80
2024-10-04 14:23:07,466 INFO Influxdb config : Enable = False
2024-10-04 14:23:07,466 INFO Price config : Default price = 0.07 €/kWh, default fix price = 0.9 €/day, path to file = /data
2024-10-04 14:23:07,466 INFO Database options : Force reinitialization = False, Path = /data
2024-10-04 14:23:07,466 INFO Debug mode : Enable = False
2024-10-04 14:23:07,466 INFO Check parameters...
2024-10-04 14:23:07,466 INFO Parameters are ok !
2024-10-04 14:23:07,466 INFO -----------------------------------------------------------
2024-10-04 14:23:07,466 INFO # Connexion to SQLite database #
2024-10-04 14:23:07,466 INFO -----------------------------------------------------------
2024-10-04 14:23:07,466 INFO Connexion to SQLite database...
2024-10-04 14:23:07,467 INFO SQLite database connected !
2024-10-04 14:23:07,467 INFO Last execution date 2024-10-04 14:21:53.247263, program was in version 0.8.2.
2024-10-04 14:23:07,467 INFO Checking database version...
2024-10-04 14:23:07,467 INFO Your database is already up to date : version 0.8.0.
2024-10-04 14:23:07,467 INFO Retrieve database statistics...
2024-10-04 14:23:07,467 INFO 0 informatives measures stored
2024-10-04 14:23:07,467 INFO 0 PCE(s)
2024-10-04 14:23:07,467 INFO First measure : None
2024-10-04 14:23:07,467 INFO Last measure : None
2024-10-04 14:23:07,468 INFO -----------------------------------------------------------
2024-10-04 14:23:07,468 INFO # Connexion to Mqtt broker #
2024-10-04 14:23:07,468 INFO -----------------------------------------------------------
2024-10-04 14:23:07,468 INFO Connect to Mqtt broker...
2024-10-04 14:23:11,474 INFO Mqtt broker connected !
2024-10-04 14:23:11,474 INFO -----------------------------------------------------------
2024-10-04 14:23:11,474 INFO # Get data from GRDF website #
2024-10-04 14:23:11,474 INFO -----------------------------------------------------------
2024-10-04 14:23:11,474 INFO Connexion to GRDF, try 1/14...
2024-10-04 14:23:11,905 INFO Unable to login to GRDF website
2024-10-04 14:23:11,905 INFO Wait 20 seconds (0 min) before next try
2024-10-04 14:23:31,925 INFO Connexion to GRDF, try 2/14...
2024-10-04 14:23:32,364 INFO Unable to login to GRDF website
2024-10-04 14:23:32,364 INFO Wait 113 seconds (2 min) before next try
2024-10-04 14:25:25,443 INFO Connexion to GRDF, try 3/14...
2024-10-04 14:25:25,901 INFO Unable to login to GRDF website
2024-10-04 14:25:25,901 INFO Wait 5 minutes before next try
2024-10-04 14:30:37,994 INFO Connexion to GRDF, try 4/14...
2024-10-04 14:30:38,529 INFO Unable to login to GRDF website
2024-10-04 14:30:38,529 INFO Wait 11 minutes before next try
@Tonejay et @neuroverflow … les logs en DEBUG donnent quoi?
EDIT…j’ai vu DEBUG_MODE: True mais je pense que c’est DEBUG: True (pas à la maison pour vérifier)
Stp re-essayer
@vingerha la mise à jour 2024.10 génère des alertes sur le state_class pour plusieurs sensors.
J’ai ajouté cela dans customize.yaml pour les corriger, mais peut être que tu peux modifier ton intégration directement cela serait plus propre.
merci d’avance
sensor.gazpar_22231837867122_consumption_stat:
state_class: measurement
sensor.gazpar_22231837867122_consumption_kwh_stat:
state_class: measurement
sensor.gazpar_22231837867122_consumption_pub_stat:
state_class: measurement
sensor.gazpar_22231837867122_consumption_kwh_pub_stat:
state_class: measurement
sensor.gazpar_22231837867122_consumption_cost_stat:
state_class: measurement
sensor.gazpar_22231837867122_consumption_cost_pub_stat:
state_class: measurement
Oui…pareil ici mais ils ne sont plus utiles, oublié de ma part. C’était une idée de créer des sensors pour l’utiliser dans Apexcharts. Je vais les enlever prochainement (dès plus de temps pour tester)
J’ai modifié le DEBUG: True
Voilà ce que je vois dans « info » :
2024-10-05 09:55:17,821 INFO -----------------------------------------------------------
2024-10-05 09:55:17,821 INFO # Get data from GRDF website #
2024-10-05 09:55:17,821 INFO -----------------------------------------------------------
2024-10-05 09:55:17,821 INFO Connexion to GRDF, try 1/14...
2024-10-05 09:55:17,831 DEBUG Starting new HTTPS connection (1): monespace.grdf.fr:443
2024-10-05 09:55:17,939 DEBUG https://monespace.grdf.fr:443 "GET /client/particulier/accueil HTTP/1.1" 302 None
2024-10-05 09:55:17,959 DEBUG Starting new HTTPS connection (1): connexion.grdf.fr:443
2024-10-05 09:55:18,262 DEBUG https://connexion.grdf.fr:443 "GET /oauth2/aus5y2ta2uEHjCWIR417/v1/authorize?response_type=code&scope=openid+profile+email&client_id=0oa95ese18blzdg3p417&state=%2Fclient%2Fparticulier%2Faccueil&redirect_uri=https://monespace.grdf.fr/_codexch&nonce=K4GwvYuwd24byhsYkycrCgdKt6P-SdtGIq9H6TiGeVQ&by_pass_okta=1&capp=meg HTTP/1.1" 200 None
2024-10-05 09:55:18,277 DEBUG Cookies ok.
2024-10-05 09:55:18,278 DEBUG auth_nonce: c9f0c3d24bc021266fec854eeb4b5edf
2024-10-05 09:55:18,278 DEBUG Logging ...
2024-10-05 09:55:18,279 DEBUG Logging payload : {'email': 'xxxxxxxxxxxxx@gmail.com', 'password': 'xxxxxxxxxxx', 'capp': 'meg', 'goto': 'https://sofa-connexion.grdf.fr:443/openam/oauth2/externeGrdf/authorize'}
2024-10-05 09:55:18,295 DEBUG Starting new HTTPS connection (1): login.monespace.grdf.fr:443
2024-10-05 09:55:18,401 DEBUG https://login.monespace.grdf.fr:443 "POST /sofit-account-api/api/v1/auth HTTP/1.1" 302 None
2024-10-05 09:55:18,408 DEBUG Logging returned : <html>
<head><title>302 Found</title><script type="text/javascript" src="/ruxitagentjs_ICA7NVfgqrux_10291240606133530.js" data-dtconfig="rid=RID_-1017566506|rpid=462779895|domain=grdf.fr|reportUrl=/rb_28b71b64-4e54-4ada-9d42-8518f652345d|app=ba8bbae595af8ce5|cuc=2hlb4rsn|mel=100000|featureHash=ICA7NVfgqrux|dpvc=1|ssv=4|lastModification=1724683775360|tp=500,50,0|rdnt=0|uxrgce=1|bp=3|agentUri=/ruxitagentjs_ICA7NVfgqrux_10291240606133530.js"></script></head>
<body>
<center><h1>302 Found</h1></center>
<hr><center>nginx/1.19.0</center>
</body>
</html>
2024-10-05 09:55:18,409 INFO Unable to login to GRDF website
2024-10-05 09:55:18,409 INFO Wait 20 seconds (0 min) before next try
Est ce que c’est suffisant, si non, ou trouver d’autres infos ?
Ancienne version, il faut installer 0.8.6 ou 0.8.7 (depuis ce matin)
EDIT: pour version container, prend toujours ‹ latest ›
Ok Je viens d’install la 8.7
Voilà les infos :
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Copying config
GRDF_USERNAME: xxxxxxxxxxx@gmail.com does not follow the correct structure. Please check your yaml file.
GRDF_PASSWORD: xxxxxxxxxxx does not follow the correct structure. Please check your yaml file.
MQTT_HOST: core-mosquitto does not follow the correct structure. Please check your yaml file.
MQTT_USERNAME: mqtt does not follow the correct structure. Please check your yaml file.
MQTT_PASSWORD: xxxxxxxxx does not follow the correct structure. Please check your yaml file.
MQTT_TOPIC: gazpar_haos does not follow the correct structure. Please check your yaml file.
MQTT_CLIENTID: gazpar_client_haos does not follow the correct structure. Please check your yaml file.
HASS_DISCOVERY: True does not follow the correct structure. Please check your yaml file.
HASS_PREFIX: homeassistant does not follow the correct structure. Please check your yaml file.
HASS_DEVICE_NAME: gazpar does not follow the correct structure. Please check your yaml file.
SCHEDULE_TIME: 06:30 does not follow the correct structure. Please check your yaml file.
DEBUG: True does not follow the correct structure. Please check your yaml file.
TZ: Europe/Paris does not follow the correct structure. Please check your yaml file.
[10:39:25] INFO: ... mqtt_autodiscover is defined in options, attempting autodiscovery...
[10:39:25] INFO: ... MQTT service found, fetching server detail (you can enter those manually in your config file) ...
MQTT_HOST=core-mosquitto
MQTT_PORT=1883
MQTT_SSL=false
MQTT_USERNAME=addons
MQTT_PASSWORD=muw9voh4Rohkeequooc4Gi9yieshiYeeT3iy1iequeewoojah5loh9oSh0shoo8s
2024-10-05 10:39:27,558 INFO -----------------------------------------------------------
2024-10-05 10:39:27,559 INFO # Welcome to gazpar2mqtt #
2024-10-05 10:39:27,559 INFO -----------------------------------------------------------
2024-10-05 10:39:27,559 INFO Program version : 0.8.7
2024-10-05 10:39:27,560 INFO Database version : 0.4.0
2024-10-05 10:39:27,560 INFO Influxdb version : 0.1.0
2024-10-05 10:39:27,560 INFO Please note that the the tool is under development, various functions may disappear or be modified.
2024-10-05 10:39:27,560 INFO -----------------------------------------------------------
2024-10-05 10:39:27,560 INFO # Program parameters #
2024-10-05 10:39:27,560 INFO -----------------------------------------------------------
2024-10-05 10:39:27,560 INFO MQTT broker config : host = core-mosquitto, port = 1883, clientId = gazpar2mqtt, qos = 1, topic = gazpar, retain = True, ssl = False
2024-10-05 10:39:27,560 INFO Standlone mode : Enable = False
2024-10-05 10:39:27,561 INFO Home Assistant discovery : Enable = False, Topic prefix = homeassistant, Device name = gazpar
2024-10-05 10:39:27,561 INFO Threshold options : Warning percentage = 80
2024-10-05 10:39:27,561 INFO Database options : Force reinitialization = False, Path = /data
2024-10-05 10:39:27,561 INFO Debug mode : Enable = False
2024-10-05 10:39:27,561 INFO Check parameters...
2024-10-05 10:39:27,561 WARNING Both Standalone mode and Home assistant discovery are disable. No value will be published to MQTT ! Please check your parameters.
2024-10-05 10:39:27,561 INFO Parameters are ok !
2024-10-05 10:39:27,562 INFO -----------------------------------------------------------
2024-10-05 10:39:27,562 INFO # Connection to SQLite database #
2024-10-05 10:39:27,562 INFO -----------------------------------------------------------
2024-10-05 10:39:27,562 INFO Connection to SQLite database...
2024-10-05 10:39:27,562 INFO SQLite database connected !
2024-10-05 10:39:27,563 INFO Last execution date 2024-10-05 10:34:43.691124, program was in version 0.8.7.
2024-10-05 10:39:27,563 INFO Checking database version...
2024-10-05 10:39:27,564 INFO Your database is already up to date : version 0.4.0.
2024-10-05 10:39:27,564 INFO Retrieve database statistics...
2024-10-05 10:39:27,565 INFO 0 informatives measures stored
2024-10-05 10:39:27,565 INFO 0 PCE(s)
2024-10-05 10:39:27,565 INFO First measure : None
2024-10-05 10:39:27,565 INFO Last measure : None
2024-10-05 10:39:27,566 INFO -----------------------------------------------------------
2024-10-05 10:39:27,566 INFO # Connection to Mqtt broker #
2024-10-05 10:39:27,566 INFO -----------------------------------------------------------
2024-10-05 10:39:27,566 INFO Connect to Mqtt broker...
2024-10-05 10:39:31,572 INFO Mqtt broker connected !
2024-10-05 10:39:31,572 INFO -----------------------------------------------------------
2024-10-05 10:39:31,572 INFO # Get data from GRDF website #
2024-10-05 10:39:31,572 INFO -----------------------------------------------------------
2024-10-05 10:39:31,790 INFO Unable to login to GRDF website
2024-10-05 10:39:31,791 INFO Wait 20 seconds (0 min) before next try
Mon YAML :
GRDF_USERNAME= "xxxxxxxxxxx@gmail.com"
GRDF_PASSWORD= "xxxxxxxxxxxx"
MQTT_HOST=core-mosquitto
MQTT_USERNAME=mqtt
MQTT_PASSWORD=xxxxxxxxxx
MQTT_TOPIC=gazpar_haos
MQTT_CLIENTID=gazpar_client_haos
HASS_DISCOVERY=True
HASS_PREFIX=homeassistant
HASS_DEVICE_NAME=gazpar
SCHEDULE_TIME=06:30
DEBUG=True
TZ=Europe/Paris