Netatmo authentication changes Oct 2022

Moderator: leecollings

jpcasta
Posts: 12
Joined: Saturday 24 November 2018 18:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by jpcasta »

Hello,

For now a week, the Netatmo domoticz process reads correctly all of the data for the Meteo Station (temp, humidity, co2, rain, Wind,...) and the thermostats data but after few hours it stops reading only my Thermostats data.
If I regenerate the password of the Netatmo device on the hardware page as specified in https://wiki.domoticz.com/Netatmo, the thermostats data are read again for few hours. It can be 6 or 8 or 12 hours.
The meteo data continue to be updated.
That means the connection to the Netatmo server is still live.

Is anybody experiencing this behavior?
Does somebody has an idea why the thermostats data stop to be updated while the meteo data continue to be updated?

Thanks
Regards
homeJLB
Posts: 58
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 »

jpcasta wrote: Friday 20 December 2024 16:25 Hello,

For now a week, the Netatmo domoticz process reads correctly all of the data for the Meteo Station (temp, humidity, co2, rain, Wind,...) and the thermostats data but after few hours it stops reading only my Thermostats data.
If I regenerate the password of the Netatmo device on the hardware page as specified in https://wiki.domoticz.com/Netatmo, the thermostats data are read again for few hours. It can be 6 or 8 or 12 hours.
The meteo data continue to be updated.
That means the connection to the Netatmo server is still live.

Is anybody experiencing this behavior?
Does somebody has an idea why the thermostats data stop to be updated while the meteo data continue to be updated?

Thanks
Regards
what is the version you are running ?
Are you using the beta-channel ?
jpcasta
Posts: 12
Joined: Saturday 24 November 2018 18:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by jpcasta »

I am running Domoticz 2024.7 (latest stable)
I am not using the beta-channel.
zxdscp
Posts: 6
Joined: Tuesday 31 December 2024 13:57
Target OS: Linux
Domoticz version: 2024.7
Contact:

Re: Netatmo authentication changes Oct 2022

Post by zxdscp »

jpcasta wrote: Monday 30 December 2024 18:00 I am running Domoticz 2024.7 (latest stable)
I am not using the beta-channel.
Hi,
I'm having exactly the same problem as you with my Netatmo thermostat.
My Domoticz v2024.7 (stable channel / Build Hash: b317cfab1 / Compile Date: 2024-07-13 16:59:31) runs on a Linux Lubuntu 20.04.
Connection to the server works for a few hours then error messages:
Thermostat Netatmo: No access granted, forcing login again...
Thermostat Netatmo: No access granted, check credentials...
Regards,
Franck
homeJLB
Posts: 58
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 »

There where changes from Netamo API, they are adapted in the Beta channel not yet in the Latest Stable.
zxdscp
Posts: 6
Joined: Tuesday 31 December 2024 13:57
Target OS: Linux
Domoticz version: 2024.7
Contact:

Re: Netatmo authentication changes Oct 2022

Post by zxdscp »

homeJLB wrote: Tuesday 31 December 2024 18:30 There where changes from Netamo API, they are adapted in the Beta channel not yet in the Latest Stable.
Hi,
Thanks for your reply !
I will try the Domoticz version of the beta channel to solve this issue.
Regards,
jpcasta
Posts: 12
Joined: Saturday 24 November 2018 18:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by jpcasta »

homeJLB wrote: Tuesday 31 December 2024 18:30 There where changes from Netamo API, they are adapted in the Beta channel not yet in the Latest Stable.
OK Thanks, I will try it as well.
zxdscp
Posts: 6
Joined: Tuesday 31 December 2024 13:57
Target OS: Linux
Domoticz version: 2024.7
Contact:

Re: Netatmo authentication changes Oct 2022

Post by zxdscp »

zxdscp wrote: Thursday 02 January 2025 18:54
homeJLB wrote: Tuesday 31 December 2024 18:30 There where changes from Netamo API, they are adapted in the Beta channel not yet in the Latest Stable.
Hi,
Thanks for your reply !
I will try the Domoticz version of the beta channel to solve this issue.
Regards,
Hi,
After updating my version of Domoticz with the latest version of the beta channel and after more than 24 hours of testing, I no longer get any “No access granted” errors.
Thanks for all homeJLB !
Regards,
Franck,
jpcasta
Posts: 12
Joined: Saturday 24 November 2018 18:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by jpcasta »

jpcasta wrote: Thursday 02 January 2025 22:37
homeJLB wrote: Tuesday 31 December 2024 18:30 There where changes from Netamo API, they are adapted in the Beta channel not yet in the Latest Stable.
OK Thanks, I will try it as well.
Hello,
Same things than "zxdscp". After 24h, it is still returning all of the data using the latest beta version with the new Netatmo login.
Thanks to all!
Regards
wpsabek
Posts: 3
Joined: Sunday 05 January 2025 9:11
Target OS: Linux
Domoticz version: 2024.7
Contact:

Re: Netatmo authentication changes Oct 2022

Post by wpsabek »

qqlapraline wrote: Tuesday 05 November 2024 21:48
Under 16325 build, I have tried the following
- Enter <ClientID> in the clientID field and <Client Secret> in the client secret field.
- a popup appears to confirm access to the appropriate scope.
- the login seems successfull but when I click on « add » a popup tells me that I am not logged on.
What type hardware must be? If I chose "Netatmo" I don't see field clientID and client secret only Username: and Password:

Version: 2024.7
Build Hash: b317cfab1
jpcasta
Posts: 12
Joined: Saturday 24 November 2018 18:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by jpcasta »

@wpsabek, I am using beta version Domoticz 2024.7 (build 16406)
There is the following change that has been implemented:
- Changed: Improved and automated login process for Netatmo devices (to obtain client ID and Password with user selectable scopes)
Adding Netatmo hardware you should get fields "Client ID" and "Client Secret".
In the "Scope" field you select the information you want to get from Netatmo.
Regards
homeJLB
Posts: 58
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 »

wpsabek wrote: Sunday 05 January 2025 13:41
qqlapraline wrote: Tuesday 05 November 2024 21:48
Under 16325 build, I have tried the following
- Enter <ClientID> in the clientID field and <Client Secret> in the client secret field.
- a popup appears to confirm access to the appropriate scope.
- the login seems successfull but when I click on « add » a popup tells me that I am not logged on.
What type hardware must be? If I chose "Netatmo" I don't see field clientID and client secret only Username: and Password:

Version: 2024.7
Build Hash: b317cfab1
For Netatmo you use the correct Hardware.
Your Version 2024.7 is the Last Stable and still use the old Netatmo API code, the changed code is now in the Beta-channel
With that version you have to use the Old way https://wiki.domoticz.com/index.php?tit ... ldid=18755


Kind Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests