Page 16 of 21
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 18:44
by DomoFlits
Yes, also tried with newly created app at dev.netatmo.com.
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 20:02
by homeJLB
Thuis wrote: ↑Friday 21 March 2025 11:11
I do not need saved credentials in my browser, as i am on my local lan network.
Thank you for the explanation of the network settings, but all the ip's are in the known network settings.
This morning i installed latest beta and i get another warning, the 403 is gone now it is this:
Error: Netatmo Thuis: No access granted, forcing login again (Refresh tokens): invalid_grant
I also did a reset on the netatmo site as well before login with domoticz and grant access.
At least there is a change ...
Invalid Grand
I believe this is when you have selected the wrong scope or provided incorrect credentials
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 20:06
by homeJLB
DomoFlits wrote: ↑Friday 21 March 2025 17:12
I've just upgraded to 16583 also after reading the latest 2 messages.
re-enabled the Netatmo hardware
used the login button to login at Netamo and approved access to the weatherstation and was send back to domoticz again.
unfortunately "computer says no"
Code: Select all
2025-03-21 17:01:33.069 Status: Netatmo2: Worker started...
2025-03-21 17:01:38.069 Status: Netatmo2: Use refresh token from database...
2025-03-21 17:01:38.069 Status: Netatmo2: Requesting refreshed tokens
2025-03-21 17:01:38.220 Error: Netatmo2: Invalid/no data received (refresh tokens)... HTTP/2 403
when you have this message you must stop the request to Netatmo for minimum 20 minutes
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 22:11
by jpaul
Hi,
My feeling is that Netatmo has banned some Apps without any communication.
For example, since mid-March 2025, I'm not able to renew the token (invalid grant) on my current Apps used by the stable domoticz 2024.7 version, no matter of the client used (domoticz or a php one:
https://github.com/Phil353556/netatmo-manage-tokens.git ).
If I create a new Netatmo App, token renewal works with the php client and the dev Domoticz version (or not, depending on the moon phase).
Has anyone contacted Netatmo to report this issue ? I used this form:
https://dev.netatmo.com/contact-us-form paragraph "I need support with the Netatmo API", waiting for an answer ...
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 22:19
by DomoFlits
homeJLB wrote: ↑Friday 21 March 2025 20:06
DomoFlits wrote: ↑Friday 21 March 2025 17:12
Code: Select all
2025-03-21 17:01:33.069 Status: Netatmo2: Worker started...
2025-03-21 17:01:38.069 Status: Netatmo2: Use refresh token from database...
2025-03-21 17:01:38.069 Status: Netatmo2: Requesting refreshed tokens
2025-03-21 17:01:38.220 Error: Netatmo2: Invalid/no data received (refresh tokens)... HTTP/2 403
when you have this message you must stop the request to Netatmo for minimum 20 minutes
I have the hardware disabled continuesly to prevent my logfile filling up with Netatmo errors.
I only enable it for testing possible solutions mentioned in this topic.
Re: Netatmo authentication changes Oct 2022
Posted: Saturday 22 March 2025 9:40
by homeJLB
jpaul wrote: ↑Friday 21 March 2025 22:11
Hi,
My feeling is that Netatmo has banned some Apps without any communication.
For example, since mid-March 2025, I'm not able to renew the token (invalid grant) on my current Apps used by the stable domoticz 2024.7 version, no matter of the client used (domoticz or a php one:
https://github.com/Phil353556/netatmo-manage-tokens.git ).
If I create a new Netatmo App, token renewal works with the php client and the dev Domoticz version (or not, depending on the moon phase).
Has anyone contacted Netatmo to report this issue ? I used this form:
https://dev.netatmo.com/contact-us-form paragraph "I need support with the Netatmo API", waiting for an answer ...
When Netatmo permanently block a App without communication, we can try so much but always fail.
As I read this thread correctly there are users with a New App on dev.netatmo.com but they still have issues.
Not sure what happens there.
Re: Netatmo authentication changes Oct 2022
Posted: Saturday 22 March 2025 11:42
by Thuis
It just does not work, what ever i do.
Re: Netatmo authentication changes Oct 2022
Posted: Saturday 22 March 2025 14:32
by lost
homeJLB wrote: ↑Saturday 22 March 2025 9:40
When Netatmo permanently block a App without communication, we can try so much but always fail.
As always, only solution to avoid this kind of issue that almost always occurs (only unknown there is when?) on devices whose manufacturers do not allow 100% local control: Never buy!!!
Re: Netatmo authentication changes Oct 2022
Posted: Saturday 22 March 2025 19:36
by pipiche
no luck. Latest domoticz build on Docker, create a new app on Netatmo, still
Error: Netatmo Energy: Invalid/no data received (refresh tokens)... HTTP/2 403
will give up
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 23 March 2025 7:57
by jcb2
Hello,
I have the same issue.
Last béta, reset key, new app, wait severals hours, ... but never the communication with Netatmo.
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 23 March 2025 14:26
by cadkey
You can run this test to verify if the API is working.
In a browser like Chrome, type this line:
https://api.netatmo.com/api/homesdata?access_token=xyz
Make sure to replace xyz with your valid access_token (not the refresh_token), without single or double quotes.
You should receive a JSON response beginning with: {"body":{"homes":[
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 23 March 2025 15:29
by jcb2
Hello,
Yes I have one result :

- 2025-03-23_15-25-06.png (123.76 KiB) Viewed 1600 times
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 23 March 2025 15:53
by cadkey
I'm not surprised. You're receiving a json file because the API is working, which I've been reporting since March 20th. The URL query bug only lasted a few hours. The problem lies elsewhere. You need to look into the connection with the third-party application (on the Netatmo side) or the Domoticz integration (on the Domoticz side). I can't help you further because I don't use Domoticz; all my home automation is managed with my own scripts, Netatmo, Philips Hue, Sonoff and more.
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 23 March 2025 16:31
by homeJLB
When I try a restart off the plugin
Code: Select all
2025-03-23 16:06:32.920 Error: Netatmo: Invalid/no data received (refresh tokens)... HTTP/2 403
2025-03-23 16:06:32.923 Status: Netatmo: Login 0
2025-03-23 16:10:18.035 Status: Closing application!...
2025-03-23 16:10:18.035 Status: Stopping worker...
Then on the command line I stop the Domoticz-service
and wait 20 minutes
Code: Select all
2025-03-23 16:30:15.640 Status: Domoticz V2025.1 (build 16651) (c)2012-2025 GizMoCuz
2025-03-23 16:30:27.548 Status: Netatmo: Status 1
I believe the authentication is functioning but something keeps in memory and blocks the request.
This needs to be found in the source code off the plugin.
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 23 March 2025 19:34
by Thuis
Well i got back to beta 16490 or something, and just let it go fill my logfile with the netatmo errors. Before this I did reset the app client and secret on netatmo and i logged in with new clientid and secret and the scope. After one day i looked and it was working. Somehow? Also i see different icons on the CO2 sensors. Nice!
Then i did updatebeta and it seems to keep working, no errors. The only thing i see is firefox has a different behavior then edge and chrome. I did deleted all the history and cookie data though. Probably a firefox thing.

Re: Netatmo authentication changes Oct 2022
Posted: Sunday 23 March 2025 19:41
by Wimpi
upgrade to 16583 did the trick!
Netatmo works again

Re: Netatmo authentication changes Oct 2022
Posted: Sunday 23 March 2025 19:48
by dgilbert2
Has the latest beta updated the Netatmo plugin?
Re: Netatmo authentication changes Oct 2022
Posted: Sunday 23 March 2025 19:55
by Thuis
Restarted the domoticz.service and i spoke too soon got error again:
Netatmo Thuis: Invalid/no data received (refresh tokens)... HTTP/2 403
So i now disabled the netatmo hardware and see what happends if i enable it after 2 hours or so...
Re: Netatmo authentication changes Oct 2022
Posted: Monday 24 March 2025 10:30
by Thuis
Waited a few hours and turned the hardware back on.
So i did the login again, granted permission. Then restarted domoticz and it seems to be working again.
I just hope i do not have to do this every time i restart the computer. We'll see.
Re: Netatmo authentication changes Oct 2022
Posted: Monday 24 March 2025 12:01
by jcb2
Hello,
One new PR is available into new beta about issue of Netatmo.
For me this is always not good. I have wait 20 minutes but always one other error : "No access granted, forcing login again (Refresh tokens): invalid_client"
I have check and check again, make a new app but nothing ...