Page 15 of 21
Re: Netatmo authentication changes Oct 2022
Posted: Thursday 20 March 2025 18:37
by Thuis
cadkey wrote: ↑Thursday 20 March 2025 10:20
Issue fixed with Netatmo, both query methods are now functional again. Everything is back to normal.
No it isn't:
Error: Netatmo Thuis: Invalid/no data received (refresh tokens)... HTTP/2 403
Re: Netatmo authentication changes Oct 2022
Posted: Thursday 20 March 2025 18:46
by Wimpi
Still the same problem here too.
With beta 2025.1.
- Netatmo disable for more than 24h.
-New App and new Client ID and client secret…
- update and upgrade RPi.
- stop and start Domoticz…
Always an error … Error: Netatmo 2024: Invalid/no data received (refresh tokens)...
Re: Netatmo authentication changes Oct 2022
Posted: Thursday 20 March 2025 18:50
by Thuis
And every script depending on the netatmo hardware goes haywire
Re: Netatmo authentication changes Oct 2022
Posted: Thursday 20 March 2025 19:40
by homeJLB
so yesterday I did a restart of domoticz and like most of us, after restarting the loop occurred from "invalid data".
So then I stop this system as it is only for testing and today when I'm back home I start the system and tho Login works.
So it is my understanding that Netatmo only temporally blocks a app.
Re: Netatmo authentication changes Oct 2022
Posted: Thursday 20 March 2025 20:01
by Thuis
I deactivated Netatmo hardware for 48 hours. But still the 403 error.
I reset the netatmo client id and client secret. Still 403 error.
I did all new application from netatmo.
I did a combination of the above, but sadly same outcome.
Also, after login netatmo etc. the yellow sentence is gone and i click add hardware, but then domoticz tells me: "Please login before adding a new Netatmo device". But i am logged into domoticz already and i am on the same network. So this is strange. I never had this warning, Probably something else then, or ??? Already did browser cookie delete too, refresh the whole thing.
Version: 2025.1 (build 16581)
Re: Netatmo authentication changes Oct 2022
Posted: Thursday 20 March 2025 20:47
by homeJLB
Thuis wrote: ↑Thursday 20 March 2025 20:01
I deactivated Netatmo hardware for 48 hours. But still the 403 error.
I reset the netatmo client id and client secret. Still 403 error.
I did all new application from netatmo.
I did a combination of the above, but sadly same outcome.
Also, after login netatmo etc. the yellow sentence is gone and i click add hardware, but then domoticz tells me: "Please login before adding a new Netatmo device". But i am logged into domoticz already and i am on the same network. So this is strange. I never had this warning, Probably something else then, or ??? Already did browser cookie delete too, refresh the whole thing.
Version: 2025.1 (build 16581)
The message
Code: Select all
Please login before adding a new Netatmo device
is from the Netatmo-plugin not Domoticz
with the Netatmo-plugin you can not use the add button.
You must use the Login button.
When there is a hardware selected it will update this hardware, in the other case the login-button will create (add) the hardware for you.
The Netatmo-server is very specific with all his data
Re: Netatmo authentication changes Oct 2022
Posted: Thursday 20 March 2025 20:53
by homeJLB
in the portal dev.netatmo.com my app looks like this.

- Login 0.png (18.99 KiB) Viewed 1226 times
when I stop the Netatmo service for 20 minutes
and then start the login works for me.
I recommend you renew the credentials then go to Hardware and put in client and secret
select the correct scopes for your device
Press login
you will see the pop-up and login / accept
I hope you can get it to work.
kind regards
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 0:06
by Thuis
Well must be my mistake, i click login, i login on netatmo and give permission, return to domoticz and before, i mean like weeks ago, i could click add and i get a new hardware. but now it says i need to login first.
https://ibb.co/1J7qdM9J
Seemed strange to me, it is now saying i need to login. But i guess you are right and i am just tired of it.
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 0:16
by Thuis
Ah and also, normally i use firefox, but suddenly, i need to add admin:password@ in front of the ip:port otherwise it says there is no hardware what so ever, this came up after 2 beta ago.
When i use chrome browser, i can just do ip:port and i get all devices. But before the last 2 beta updates this was also possible with firefox. And because problems arises with netatmo and the login i need to add to view domoticz on my own network i was guessing it perhaps has to do something with eachother. Yes i did delete history cookies etc several times. But after latest beta updates firefox browser needs credentials suddenly.
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 5:29
by homeJLB
Thuis wrote: ↑Friday 21 March 2025 0:16
Ah and also, normally i use firefox, but suddenly, i need to add admin:password@ in front of the ip:port otherwise it says there is no hardware what so ever, this came up after 2 beta ago.
When i use chrome browser, i can just do ip:port and i get all devices. But before the last 2 beta updates this was also possible with firefox. And because problems arises with netatmo and the login i need to add to view domoticz on my own network i was guessing it perhaps has to do something with eachother. Yes i did delete history cookies etc several times. But after latest beta updates firefox browser needs credentials suddenly.
This browser thing you are describing
seems to me that you have a saved credentials from domoticz in Chrome and not in Firefox.
This is something else as the login for the Netatmo-plugin
kind regards
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 6:07
by DomoFlits
Check you settings in Domoticz: in the security tab there is the trusted network field.
Add
Or whatever IP range in which your computer/phone can be, so no login in Domoticz is required from your computer/phone
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 11:11
by Thuis
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 ...
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 12:20
by phil35
Hi,
On wiki:
https://wiki.domoticz.com/Netatmo
it is written: The Redirect_URI has to contain; ""
BUT on netatmo webpage: if "" is put, the message is "must be an URL" see screenshot
https://ibb.co/XZzZqx4y
I have re do all the process with a new netatmo app ... same result: Error: Netatmo: Invalid/no data received...
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 12:44
by waltervl
I suppose the Wiki
https://wiki.domoticz.com/Netatmo is not reflecting the current situation in Beta.... You have to follow this topic.
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 12:55
by DomoFlits
@phil35
Are you on the latest beta? Or on stable 2024.7?
In case you are on stable: you won't have success anyway. As per message from @waltervl
Only some people had succes with the latest beta.
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 13:13
by waltervl
Redirect_URI and Webhook URI in Netatmo APP should be empty (not containing ""). See example in post
viewtopic.php?p=324524#p324524
Then follow in Domoticz the procedure as shown in post
viewtopic.php?p=324480#p324480
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 15:35
by wrietvel
I just tried after upgrade 16583 and it works!!
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 15:50
by sailmich
Same here, upgrade to 16583 did the trick.
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 17:12
by DomoFlits
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
Re: Netatmo authentication changes Oct 2022
Posted: Friday 21 March 2025 17:24
by wrietvel
Dud you regenerate client ID and client secret??