Netatmo authentication changes Oct 2022

Moderator: leecollings

User avatar
Thuis
Posts: 271
Joined: Tuesday 11 September 2018 11:36
Target OS: Linux
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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
I Love Domoticz ! And the community around it :-)
Wimpi
Posts: 11
Joined: Sunday 07 January 2024 12:52
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Belgium
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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)...
User avatar
Thuis
Posts: 271
Joined: Tuesday 11 September 2018 11:36
Target OS: Linux
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Netatmo authentication changes Oct 2022

Post by Thuis »

And every script depending on the netatmo hardware goes haywire
I Love Domoticz ! And the community around it :-)
homeJLB
Posts: 109
Joined: Tuesday 16 October 2018 23:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Belgium
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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.
User avatar
Thuis
Posts: 271
Joined: Tuesday 11 September 2018 11:36
Target OS: Linux
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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)
I Love Domoticz ! And the community around it :-)
homeJLB
Posts: 109
Joined: Tuesday 16 October 2018 23:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Belgium
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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
homeJLB
Posts: 109
Joined: Tuesday 16 October 2018 23:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Belgium
Contact:

Re: Netatmo authentication changes Oct 2022

Post by homeJLB »

in the portal dev.netatmo.com my app looks like this.
Login 0.png
Login 0.png (18.99 KiB) Viewed 1219 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
User avatar
Thuis
Posts: 271
Joined: Tuesday 11 September 2018 11:36
Target OS: Linux
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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.
I Love Domoticz ! And the community around it :-)
User avatar
Thuis
Posts: 271
Joined: Tuesday 11 September 2018 11:36
Target OS: Linux
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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.
I Love Domoticz ! And the community around it :-)
homeJLB
Posts: 109
Joined: Tuesday 16 October 2018 23:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Belgium
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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
DomoFlits
Posts: 39
Joined: Thursday 06 October 2016 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Bld16583
Location: The Netherlands
Contact:

Re: Netatmo authentication changes Oct 2022

Post by DomoFlits »

Check you settings in Domoticz: in the security tab there is the trusted network field.
Add

Code: Select all

;192.168.10.*
Or whatever IP range in which your computer/phone can be, so no login in Domoticz is required from your computer/phone
User avatar
Thuis
Posts: 271
Joined: Tuesday 11 September 2018 11:36
Target OS: Linux
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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 ...
I Love Domoticz ! And the community around it :-)
phil35
Posts: 21
Joined: Wednesday 02 September 2020 8:27
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: France
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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...
Production platform uses domoticz v2023.1
Production platform (for Netatmo and Zigbee) uses domoticz v2024.7
User avatar
waltervl
Posts: 5785
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
DomoFlits
Posts: 39
Joined: Thursday 06 October 2016 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Bld16583
Location: The Netherlands
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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.
User avatar
waltervl
Posts: 5785
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
wrietvel
Posts: 5
Joined: Wednesday 19 March 2025 15:12
Target OS: Windows
Domoticz version: 2025.1
Contact:

Re: Netatmo authentication changes Oct 2022

Post by wrietvel »

I just tried after upgrade 16583 and it works!!
sailmich
Posts: 245
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Netatmo authentication changes Oct 2022

Post by sailmich »

Same here, upgrade to 16583 did the trick.
DomoFlits
Posts: 39
Joined: Thursday 06 October 2016 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Bld16583
Location: The Netherlands
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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
wrietvel
Posts: 5
Joined: Wednesday 19 March 2025 15:12
Target OS: Windows
Domoticz version: 2025.1
Contact:

Re: Netatmo authentication changes Oct 2022

Post by wrietvel »

Dud you regenerate client ID and client secret??
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests