Aller au contenu

Intégration station Netatmo dans HC3


Sanderic

Messages recommandés

Hello,

 

Sorry for the late replay, I was not at home for last five weeks.

 

I do not understand why you have problems with tokens. I have turned off my HC3 when I left home five weeks ago. After turning it back on today, all my QA continue to work properly including Netatmo weather and Netatmo indoor Air Quality QA without needing to refresh manually tokens. They are still working now 6 hours after restarting my HC3 :)

Lien vers le commentaire
Partager sur d’autres sites

cela fonctionne

Le probleme c'est qu'il y a de longue périodes sans informations et ce de façon cyclique

[20.08.2024] [16:13:10] [DEBUG] [QA_NETATMO_1021]: Token expiry time: 20.08.24 @ 17:53 Current time: 20.08.24 @ 16:13
[20.08.2024] [16:13:10] [DEBUG] [QA_NETATMO_1021]: INFO Updating Netatmo station(s)
[20.08.2024] [16:13:10] [DEBUG] [QA_NETATMO_1021]: Found station ID: 70:ee:50:06:ac:ea Name: Maison Tignet (T° / Humidité Salon) Last seen: 20.08.24 @ 16:12
[20.08.2024] [16:13:15] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a un moment
[20.08.2024] [16:13:55] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 01 minutes
[20.08.2024] [16:14:55] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 02 minutes
[20.08.2024] [16:15:55] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 03 minutes
[20.08.2024] [16:16:55] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 04 minutes
[20.08.2024] [16:17:55] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 05 minutes
[20.08.2024] [16:18:55] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 06 minutes
[20.08.2024] [16:19:55] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 07 minutes
[20.08.2024] [16:20:55] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 08 minutes
[20.08.2024] [16:21:55] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 09 minutes
[20.08.2024] [16:22:55] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 10 minutes
[20.08.2024] [16:23:15] [DEBUG] [QA_NETATMO_1021]: Token expiry time: 20.08.24 @ 17:53 Current time: 20.08.24 @ 16:23
[20.08.2024] [16:23:15] [DEBUG] [QA_NETATMO_1021]: INFO Updating Netatmo station(s)
[20.08.2024] [16:23:16] [DEBUG] [QA_NETATMO_1021]: ERROR Received response status: 403 Message: invalid_grant Please check your credentials
[20.08.2024] [16:23:16] [DEBUG] [QA_NETATMO_1021]: Set Netatmo weather unreachable
[20.08.2024] [16:23:20] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a un moment
[20.08.2024] [16:24:15] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 01 minutes
[20.08.2024] [16:25:15] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 02 minutes
[20.08.2024] [16:26:15] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 03 minutes
[20.08.2024] [16:27:15] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 04 minutes
[20.08.2024] [16:28:16] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 05 minutes
[20.08.2024] [16:29:16] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 06 minutes
[20.08.2024] [16:30:16] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 07 minutes
[20.08.2024] [16:31:16] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 08 minutes
[20.08.2024] [16:32:16] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 09 minutes
[20.08.2024] [16:33:16] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 10 minutes
[20.08.2024] [16:33:36] [DEBUG] [QA_NETATMO_1021]: Token expiry time: 20.08.24 @ 17:53 Current time: 20.08.24 @ 16:33
[20.08.2024] [16:33:36] [DEBUG] [QA_NETATMO_1021]: INFO Updating Netatmo station(s)
[20.08.2024] [16:33:36] [DEBUG] [QA_NETATMO_1021]: ERROR Received response status: 403 Message: invalid_grant Please check your credentials
[20.08.2024] [16:33:41] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a un moment
[20.08.2024] [16:34:36] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 01 minutes
[20.08.2024] [16:35:36] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 02 minutes
[20.08.2024] [16:36:36] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 03 minutes
[20.08.2024] [16:37:36] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 04 minutes
[20.08.2024] [16:38:36] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 05 minutes
[20.08.2024] [16:39:36] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 06 minutes
[20.08.2024] [16:40:36] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 07 minutes
[20.08.2024] [16:41:36] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 08 minutes
[20.08.2024] [16:42:36] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 09 minutes
[20.08.2024] [16:43:36] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 10 minutes
[20.08.2024] [16:43:56] [DEBUG] [QA_NETATMO_1021]: Token expiry time: 20.08.24 @ 17:53 Current time: 20.08.24 @ 16:43
[20.08.2024] [16:43:56] [DEBUG] [QA_NETATMO_1021]: INFO Updating Netatmo station(s)
[20.08.2024] [16:43:56] [DEBUG] [QA_NETATMO_1021]: ERROR Received response status: 403 Message: invalid_grant Please check your credentials
[20.08.2024] [16:44:01] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a un moment
[20.08.2024] [16:44:56] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 01 minutes
[20.08.2024] [16:45:56] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 02 minutes
[20.08.2024] [16:46:56] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 03 minutes
[20.08.2024] [16:47:56] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 04 minutes
[20.08.2024] [16:48:56] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 05 minutes
[20.08.2024] [16:49:56] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 06 minutes
[20.08.2024] [16:50:56] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 07 minutes
[20.08.2024] [16:51:56] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 08 minutes
[20.08.2024] [16:52:56] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 09 minutes
[20.08.2024] [16:53:56] [DEBUG] [QA_NETATMO_1021]: Station [1] updated Il y a 10 minutes
[20.08.2024] [16:54:16] [DEBUG] [QA_NETATMO_1021]: Token expiry time: 20.08.24 @ 17:53 Current time: 20.08.24 @ 16:54
[20.08.2024] [16:54:16] [DEBUG] [QA_NETATMO_1021]: INFO Updating Netatmo station(s)
[20.08.2024] [16:54:16] [DEBUG] [QA_NETATMO_1021]: Set Netatmo weather reachable
[20.08.2024] [16:54:16] [DEBUG] [QA_NETATMO_1021]: Found station ID: 70:ee:50:06:ac:ea Name: Maison Tignet (T° / Humidité Salon) Last seen: 20.08.24 @ 16:53

 

Lien vers le commentaire
Partager sur d’autres sites

Hello @flacon030,

 

Netatmo app and generated refresh and access token should be used only by one QA and no other. If you use same Netatmo app for some other device then there will be a clash, since other code will change access token and QA still uses its own access token that is then not valid any more until it is refreshed by QA.

 

Make sure that only Netatmo QA uses that one Netatmo app with its generated tokens.

 

 

Lien vers le commentaire
Partager sur d’autres sites

merci cela doit effectivement venir de la le problème car je l'utilise aussi pour home assistant

je vais en créer un nouveau

Merci pour ces explications

Modifié par flacon030
Lien vers le commentaire
Partager sur d’autres sites

×
×
  • Créer...