Page 20 of 21
Re: Netatmo authentication changes Oct 2022
Posted: Tuesday 15 April 2025 19:56
by sailmich
waltervl wrote: ↑Tuesday 15 April 2025 14:59
@gizmocuz is a couple of weeks absent pull requests and beta builds have some delay.
Thx for the information!
Re: Netatmo authentication changes Oct 2022
Posted: Wednesday 16 April 2025 9:00
by cadkey
sailmich wrote: ↑Tuesday 15 April 2025 14:32
Not for me. I'm on domoticz beta 16626. I always get errors after a couple of hours.
To get rid of it I do have to hit the update button for netatmo on domoticz hardware page.
Cheers
Obviously, your version is older than the change made on github! ^^
Re: Netatmo authentication changes Oct 2022
Posted: Monday 21 April 2025 20:08
by MartinAndersson
Updated to beta 16626.
Followed instructions on the wiki page.
When I activate the netatmo hardware, i get error "No access granted, forcing login again (Refresh tokens): invalid_grant".
Re: Netatmo authentication changes Oct 2022
Posted: Tuesday 22 April 2025 12:59
by Thuis
sailmich wrote: ↑Tuesday 15 April 2025 14:32
Not for me. I'm on domoticz beta 16626. I always get errors after a couple of hours.
- Spoiler: show
Code: Select all
2025-04-15 14:11:13.036 Error: Netatmo: Error data ... url: https://api.netatmo.com/api/homesdata?&get_favorites=true&, response: {
2025-04-15 14:11:13.036 "error": {
2025-04-15 14:11:13.036 "code": 3,
2025-04-15 14:11:13.036 "message": "Access token expired"
To get rid of it I do have to hit the update button for netatmo on domoticz hardware page.
Cheers
Yes me also, 16626, after a while errors, then in hardware click update and it is correct, for a while. So manually update every 2 to 3 hours or so to keep everything going.
2025-04-24 10:52:33.058 Error: Netatmo Thuis: Error data ... url:
https://api.netatmo.com/api/homesdata?& ... rites=true&, response: {
2025-04-24 10:52:33.058 "error": {
2025-04-24 10:52:33.058 "code": 3,
2025-04-24 10:52:33.058 "message": "Access token expired"
2025-04-24 10:52:33.058 }
2025-04-24 10:52:33.058 }
Re: Netatmo authentication changes Oct 2022
Posted: Thursday 24 April 2025 20:43
by homeJLB
today the Pull Request with the needed changes are merged.
Hopefully everybody can use the update.
Kind Regards
Re: Netatmo authentication changes Oct 2022
Posted: Thursday 24 April 2025 22:03
by jcb2
Hello,
Thanks for this PR merged.
We wait the new beta release for use your new feature

Re: Netatmo authentication changes Oct 2022
Posted: Friday 25 April 2025 11:49
by Thuis
Yes, again thank you very much for all the hard work, making it going along with the future
Re: Netatmo authentication changes Oct 2022
Posted: Friday 25 April 2025 23:12
by waltervl
I see that all beta build versions have been created today. Previously only the Windows version was up to date.
So latest Netatmo fix should be available!
Re: Netatmo authentication changes Oct 2022
Posted: Saturday 26 April 2025 9:54
by jcb2
Hello,
OK for two hours.
After I have these errors :
2025-04-26 09:48:14.006 Error: Météo: cloud Dashboard for module [Buanderie] no longer updated (module possibly disconnected) since Sat Apr 26 05:58:58 2025
2025-04-26 09:48:14.006
2025-04-26 09:48:14.006 Error: Météo: cloud Dashboard for module [cave] no longer updated (module possibly disconnected) since Sat Apr 26 05:58:32 2025
2025-04-26 09:48:14.006
2025-04-26 09:48:14.007 Error: Météo: cloud Dashboard for module [Salon] no longer updated (module possibly disconnected) since Sat Apr 26 05:58:44 2025
2025-04-26 09:48:14.007
2025-04-26 09:48:14.007 Error: Météo: cloud Dashboard for module [Météo abri] no longer updated (module possibly disconnected) since Sat Apr 26 05:55:05 2025
2025-04-26 09:48:14.007
2025-04-26 09:48:14.007 Error: Météo: cloud Dashboard for module [Serre] no longer updated (module possibly disconnected) since Sat Apr 26 05:54:48 2025
2025-04-26 09:48:14.007
2025-04-26 09:48:14.007 Error: Météo: cloud Dashboard for module [Chambre] no longer updated (module possibly disconnected) since Sat Apr 26 05:54:16 2025
2025-04-26 09:48:14.007
2025-04-26 09:48:14.007 Error: Météo: cloud Dashboard for module [unknown06:00:00:04:**:**] no longer updated (module possibly disconnected) since Sat Apr 26 05:55:00 2025
2025-04-26 09:48:14.007
2025-04-26 09:48:14.007 Error: Météo: cloud Dashboard for module [unknown05:00:00:07:**:**] no longer updated (module possibly disconnected) since Sat Apr 26 05:55:00 2025
2025-04-26 09:48:14.007
I have try one stop/start of plugin and one reboot.
Always in error ...
Sorry but this is not again stable

Re: Netatmo authentication changes Oct 2022
Posted: Saturday 26 April 2025 11:49
by cadkey
jcb2 wrote: ↑Saturday 26 April 2025 9:54
Always in error ...
Sorry but this is not again stable
The error messages are not related to authentication but to requests on the weather modules. These queries are only made after authentication. So the authentication worked. It's a cloud problem, disconnection of the weather modules at the station, wifi interruption, etc.
If you look at the API documentation, it was the getstationsdata request that returned the errors.
https://dev.netatmo.com/apidocumentatio ... ationsdata
Re: Netatmo authentication changes Oct 2022
Posted: Saturday 26 April 2025 12:56
by homeJLB
@jcb2
Code: Select all
cloud Dashboard for module [unknown06:00:00:04:**:**] no longer updated
this error is when the time from "module last seen" is older than 5 min. so we don't keep filling our sensor with old data.
What I find strange is the "Unknown" in the message, normally the code uses the names returned from the API.
Maybe if you enable Debug you can see more message and you can identify the problem.
What Types off devices do you Have ?
Buanderie, cave, Salon, Météo abri, Serre, Chambre, unknown06:00:00:04:**:**, unknown05:00:00:07:**:**
Re: Netatmo authentication changes Oct 2022
Posted: Saturday 26 April 2025 16:29
by GJKNL
I updated domoticz about 4 hours ago to the newest release 16657. Up to now no interruptions anymore!
Re: Netatmo authentication changes Oct 2022
Posted: Saturday 26 April 2025 20:02
by cadkey
homeJLB wrote: ↑Saturday 26 April 2025 12:56
What Types off devices do you Have ?
These are most likely additional weather modules (the small modules). This would mean three (or two) homes declared in your installation given the number of modules.
I assume you removed additional modules? The IDs of these modules are still attached to a main Netatmo weather module but not returned in the query since these modules are no longer present (disconnected as I explained above).
@jcb2 do you confirm?
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 27 April 2025 3:52
by jcb2
Hello,
I use the weather devices (2x bases + additionals modules, wind, rain)
I have deleted the app in Netatmo and after I have theses errors :
Code: Select all
2025-04-27 03:43:33.110 Status: Météo: Worker started...
2025-04-27 03:43:34.111 Status: Météo: Requesting new access_token
2025-04-27 03:43:34.286 Error: Météo: No access granted, forcing login again (Refresh tokens): invalid_grant
2025-04-27 03:43:34.286 Error: Météo: Refresh token false 0
2025-04-27 03:43:35.286 Status: Météo: Requesting new access_token
2025-04-27 03:43:35.443 Error: Météo: No access granted, forcing login again (Refresh tokens): invalid_grant
2025-04-27 03:43:35.444 Error: Météo: Refresh token false 0
2025-04-27 03:43:36.444 Status: Météo: Requesting new access_token
2025-04-27 03:43:36.615 Error: Météo: No access granted, forcing login again (Refresh tokens): invalid_grant
2025-04-27 03:43:36.616 Error: Météo: Refresh token false 0
2025-04-27 03:43:51.154 Status: Météo: Requesting new access_token
2025-04-27 03:43:51.419 Error: Météo: No access granted, forcing login again (Refresh tokens): invalid_grant
2025-04-27 03:43:51.419 Error: Météo: Refresh token false 0
2025-04-27 03:43:51.916 Status: Météo: Worker stopped...
Now I wait a little bit and retry later.
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 27 April 2025 3:54
by jcb2
cadkey wrote: ↑Saturday 26 April 2025 20:02
These are most likely additional weather modules (the small modules). This would mean three (or two) homes declared in your installation given the number of modules.
I assume you removed additional modules? The IDs of these modules are still attached to a main Netatmo weather module but not returned in the query since these modules are no longer present (disconnected as I explained above).
@jcb2 do you confirm?
Hello,
Yes it is exactly my situation

Re: Netatmo authentication changes Oct 2022
Posted: Sunday 27 April 2025 4:42
by jcb2
Hello,
Sorry, into my new apps I have put a wrong IP number.
Now with the correct IP, I have one connection :
Code: Select all
2025-04-27 04:34:26.630 Status: Météo: Station Data parsed Buanderie
2025-04-27 04:34:26.630 Status: Météo: Station Data parsed Météo abri
2025-04-27 04:34:26.630 Status: Météo: Weather 1
2025-04-27 04:34:26.630 Status: Météo: Get HomesData Details
2025-04-27 04:34:26.849 Status: Météo: Home id METEO updated.
2025-04-27 04:34:26.849 Status: Météo: Home id Buanderie et cave updated.
2025-04-27 04:34:26.850 Status: Météo: Home id Abri et serre updated.
2025-04-27 04:34:26.850 Status: Météo: Home Status Details, size (number of homes) is 3
2025-04-27 04:34:27.177 Status: Météo: Parse Persons
2025-04-27 04:34:27.177 Status: Météo: HomeStatus parsed
2025-04-27 04:34:27.325 Status: Météo: Parse Persons
2025-04-27 04:34:27.325 Status: Météo: HomeStatus parsed
2025-04-27 04:34:27.644 Status: Météo: Scenarios Data Recieved
2025-04-27 04:34:27.950 Status: Météo: Scenarios Data Recieved
2025-04-27 04:34:27.951 Status: Météo: Status 1
But I don't retrieve my devices into device list. (I have alowed the creation into parameters)
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 27 April 2025 7:49
by cadkey
I think you can delete modules that are no longer installed.
You have to do it on
https://home.netatmo.com or from the smartphone app.
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 27 April 2025 9:29
by homeJLB
jcb2 wrote: ↑Sunday 27 April 2025 4:42
Hello,
Sorry, into my new apps I have put a wrong IP number.
Now with the correct IP, I have one connection
But I don't retrieve my devices into device list. (I have alowed the creation into parameters)
Have you looked by the "Not Used" tab in the devices page?
Your log output seems OK to have devices.
But enabling Debug can give more information.
Kind Regards
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 27 April 2025 10:15
by jcb2
OK the wifi was down for both station

Now I have all devices in not used at first time
MANY THANKS !
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 27 April 2025 10:38
by homeJLB
jcb2 wrote: ↑Sunday 27 April 2025 10:15
OK the wifi was down for both station

Now I have all devices in not used at first time
MANY THANKS !
Yes if your Wifi is down the devices are not created. (Last seen is more than 5 minutes)
I'm happy It works for you now.
Kind Regards