Netatmo authentication changes Oct 2022

Moderator: leecollings

hnogueira
Posts: 25
Joined: Saturday 28 November 2015 12:10
Target OS: Windows
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by hnogueira »

Hello all:

I'm also having the same problem and I'm trying to follow instruction. the redirect URL http://localhost/netatmo is confusing me. Is it the same to all?
When I run the URL to get the CODE I have "site note acceble". Can anyone help?

Thanks in advance,
Helder Nogueira
southmind
Posts: 11
Joined: Wednesday 22 January 2020 10:07
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2 -
Location: French Riviera
Contact:

Re: Netatmo authentication changes Oct 2022

Post by southmind »

Yes you have to write exactly " http://localhost/netatmo" in your setup.

(When I run the URL to get the CODE I have "site note acceble". )
It's correct. You just have to copy the link of the site answer in your browser, then copy the CODE at the end of the link and use it as password.
Remember you have a short time to do the operation. Don't forget to use the last beta of domoticz
Version: 2023.2
hnogueira
Posts: 25
Joined: Saturday 28 November 2015 12:10
Target OS: Windows
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by hnogueira »

I have it, but on Domoticz still have user/psw error.

What Domoticz version do we need? I have Version: 2023.2 (build 15457)
User avatar
waltervl
Posts: 5149
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 »

kiddigital wrote: Monday 11 September 2023 14:05 Try Beta build 15535 (and up).
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
southmind
Posts: 11
Joined: Wednesday 22 January 2020 10:07
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2 -
Location: French Riviera
Contact:

Re: Netatmo authentication changes Oct 2022

Post by southmind »

This is my version : 2023.2 (build 15640)
Version: 2023.2
southmind
Posts: 11
Joined: Wednesday 22 January 2020 10:07
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2 -
Location: French Riviera
Contact:

Re: Netatmo authentication changes Oct 2022

Post by southmind »

PS : to help installing domoticz versions or returning to the previous, I use this script really usefull (it is in French but easy to understand)

https://easydomoticz.com/forum/viewtopic.php?t=7179
Version: 2023.2
User avatar
waltervl
Posts: 5149
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 »

southmind wrote: Saturday 11 November 2023 8:34 PS : to help installing domoticz versions or returning to the previous, I use this script really usefull (it is in French but easy to understand)

https://easydomoticz.com/forum/viewtopic.php?t=7179
It is not needed anymore. A beta update will make a full backup first an if you do not want to run the beta version you can go back to your previous version ( with the old data!).
See wiki https://www.domoticz.com/wiki/Raspberry ... eta_update
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
southmind
Posts: 11
Joined: Wednesday 22 January 2020 10:07
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2 -
Location: French Riviera
Contact:

Re: Netatmo authentication changes Oct 2022

Post by southmind »

waltervl wrote: Saturday 11 November 2023 9:45
It is not needed anymore. A beta update will make a full backup first an if you do not want to run the beta version you can go back to your previous version ( with the old data!).
See wiki https://www.domoticz.com/wiki/Raspberry ... eta_update
Thanks ! I have to update myself ;)
Version: 2023.2
phil35
Posts: 10
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 »

Hello,

I'm not lucky as many of you :-(

I'have done a fresh install on a pi 3, and install the latest beta: 2023.2 (build 15667)
I followed directives: https://www.domoticz.com/wiki/Netatmo and read the current forum
I'have do it again with recent code, same result
I would appreciate any suggestion
thank you
Phil

however still have messages:
2023-11-24 10:30:37.205 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:31:07.944 Status: Netatmo: Worker started...
2023-11-24 10:31:07.569 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:31:13.360 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:31:14.268 Status: Netatmo: Worker stopped...
2023-11-24 10:31:18.374 Status: Netatmo: Worker started...
2023-11-24 10:31:23.745 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:31:37.930 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:31:54.110 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:32:08.292 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:32:24.496 Error: Netatmo: No access granted, check credentials...
Production platform uses domoticz v2023.1
Production platform (for Netatmo and Zigbee) uses domoticz v2024.7
jpcasta
Posts: 8
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,
I did it yesterday and it works fine but it is important to read carefully the directives.
The username is composed of the "client id" value + ":" + "client secret" value
The password is the code obtained using the URL given in the wiki.
However the code expires quickly.
If you are too slow, you may get the errors you got and you need to regenerate the code and use it quickly.
Regards
phil35
Posts: 10
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 »

Ok, success,
the URL proposed is in the document must used as is , no change except the client ID to update
my mistake seems to have removed read_homecoach in the URL used at the beginning
Still have "Error: Netatmo: No access granted, check credentials..." in the lines see below.
Q: Is this normal ?

However many devices are now displayed:
netatmo station,
rain,
Smart Indoor Camera and accessories,
I don't see camera (internal and external) but I have both.

2023-11-24 10:55:05.961 Status: Netatmo: Worker stopped...
2023-11-24 10:55:05.962 Status: Netatmo: Worker started...
2023-11-24 10:55:13.585 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:55:19.014 Netatmo: Rain (Pluviomètre)
2023-11-24 10:55:19.018 Netatmo: Temp + Humidity (Module extérieur)
2023-11-24 10:55:19.022 Netatmo: Temp + Humidity + Baro (Intérieur)
2023-11-24 10:55:19.024 Netatmo: Air Quality (Intérieur)
2023-11-24 10:55:19.026 Netatmo: General/Sound Level (Intérieur)
2023-11-24 10:55:19.028 Netatmo: Temp + Humidity (Extérieur)
2023-11-24 10:55:19.030 Netatmo: Rain (Pluviomètre)
2023-11-24 10:55:19.034 Netatmo: Temp + Humidity + Baro (Intérieur)
2023-11-24 10:55:19.036 Netatmo: Air Quality (Intérieur)
2023-11-24 10:55:19.038 Netatmo: General/Sound Level (Intérieur)
2023-11-24 10:55:19.041 Netatmo: Temp + Humidity ()
2023-11-24 10:55:19.507 Netatmo: General/Percentage (Pluviomètre - Sig. + Bat. Lvl)
2023-11-24 10:55:19.508 Netatmo: General/Percentage (Module extérieur - Sig. + Bat. Lvl)
2023-11-24 10:55:19.510 Netatmo: General/Percentage (porte haut - Sig. + Bat. Lvl)
2023-11-24 10:55:19.511 Netatmo: General/Percentage (porte bas - Sig. + Bat. Lvl)
2023-11-24 10:55:19.512 Netatmo: General/Percentage (garage droite - Sig. + Bat. Lvl)
2023-11-24 10:55:19.514 Netatmo: General/Percentage (Porte fenêtre droite en sortant - Sig. + Bat. Lvl)
2023-11-24 10:55:19.516 Netatmo: General/Percentage (Porte fenêtre gauche en sortant - Sig. + Bat. Lvl)
2023-11-24 10:55:43.951 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:56:14.304 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:56:44.665 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:57:15.006 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:57:45.376 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:58:15.763 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:58:46.128 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:59:16.492 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:59:48.234 Error: Netatmo: No access granted, check credentials...
2023-11-24 10:59:58.918 Error: CheckAuthToken(051717a94a7f5bb6cb25466c179cc880_ZmFhZTAxYmEtZjM1Zi00NmQ3LWFjOTxxxxxxxxxxxx) : auth token mismatch
2023-11-24 11:00:02.177 Status: Login successful from 192.168.6.18 for user 'admin'
2023-11-24 11:00:02.177 Status: [web:8080] Incoming connection from: 192.168.6.18
2023-11-24 11:00:18.587 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:00:19.979 Netatmo: Rain (Pluviomètre)
2023-11-24 11:00:19.983 Netatmo: Temp + Humidity (Module extérieur)
2023-11-24 11:00:19.987 Netatmo: Temp + Humidity + Baro (Intérieur)
2023-11-24 11:00:19.990 Netatmo: Air Quality (Intérieur)
2023-11-24 11:00:19.994 Netatmo: General/Sound Level (Intérieur)
2023-11-24 11:00:19.997 Netatmo: Temp + Humidity (Extérieur)
2023-11-24 11:00:20.001 Netatmo: Rain (Pluviomètre)
2023-11-24 11:00:20.004 Netatmo: Temp + Humidity + Baro (Intérieur)
2023-11-24 11:00:20.007 Netatmo: Air Quality (Intérieur)
2023-11-24 11:00:20.010 Netatmo: General/Sound Level (Intérieur)
2023-11-24 11:00:20.013 Netatmo: Temp + Humidity (Unknown)
2023-11-24 11:00:48.941 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:01:19.303 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:01:49.695 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:02:20.093 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:02:50.444 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:03:20.810 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:03:51.179 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:04:21.538 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:04:51.938 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:05:22.331 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:05:52.693 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:06:23.040 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:06:53.412 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:07:23.817 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:07:54.171 Error: Netatmo: No access granted, check credentials...
2023-11-24 11:08:25.276 Error: Netatmo: No access granted, check credentials...
Production platform uses domoticz v2023.1
Production platform (for Netatmo and Zigbee) uses domoticz v2024.7
jpcasta
Posts: 8
Joined: Saturday 24 November 2018 18:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by jpcasta »

Hmmm strange....I have no idea.
It looks like there are 2 authentications running.
One that has been done successfully and another one that fails.
phil35
Posts: 10
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 »

https://dev.netatmo.com/apidocumentation/oauth
"This authentification method basically consist in asking the owner of the products for reading and writing rights. Rights are handled through "Scopes". Once the user has given you the permission you need, your server will receive a temporary code with which you will request an access and a refresh token. Once you have the access token, you will be able to retrieve data from the Netatmo API."

Does that mean the access and the refresh token are managed and store by domoticz itself ?
Production platform uses domoticz v2023.1
Production platform (for Netatmo and Zigbee) uses domoticz v2024.7
jpcasta
Posts: 8
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 guess... I did not do anything else than what it is explained in the wiki Netatmo page
chrominator
Posts: 5
Joined: Sunday 25 December 2016 7:27
Target OS: Linux
Domoticz version: 2024.7
Contact:

Re: Netatmo authentication changes Oct 2022

Post by chrominator »

Got the log message

Code: Select all

Error: Netatmo: No access granted, check credentials...
every Friday since I upgraded to the compliant beta version.
Seems my credentials work fine and then expire every 7 days.
Am I the only one?
phil35
Posts: 10
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 »

What I noticed since this morning, when I first install and configure the beta version with netatmo.
- data are collected every 15 mn

- between the period of collect, every 30s there is message like:
2023-11-24 15:46:47.451 Error: Netatmo: No access granted, check credentials...

- level of battery with percentage is only collected when the password (code =xxxx) is put, and device "modified"
It seems no more collected after
I made a test and use the URL as describe to get a new CODE, then level of batteries are collected when the plugin starts for the first time
2023-11-24 16:18:29.330 Netatmo: General/Percentage (xxx : Pluviomètre - batterie)
2023-11-24 16:18:29.335 Netatmo: General/Percentage (xxx : Module extérieur - Batterie)
2023-11-24 16:18:29.340 Netatmo: General/Percentage (xxx : Entrée porte haut)
2023-11-24 16:18:29.345 Netatmo: General/Percentage (xxx : Entrée porte bas)
2023-11-24 16:18:29.349 Netatmo: General/Percentage (garage gauche - Sig. + Bat. Lvl)
2023-11-24 16:18:29.353 Netatmo: General/Percentage (xxx : garage droite)
2023-11-24 16:18:29.359 Netatmo: General/Percentage (xxx : Porte fenêtre droite en sortant)
2023-11-24 16:18:29.364 Netatmo: General/Percentage (xxx : Porte fenêtre gauche en sortant)

for the 7 days potential issue, I will tell you in a week
[EDIT]
a reboot of the pi 3 is good, no more error "Error: Netatmo: No access granted, check credentials.."
[/EDIT]
Production platform uses domoticz v2023.1
Production platform (for Netatmo and Zigbee) uses domoticz v2024.7
phil35
Posts: 10
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 »

Update: one day after.
Works like a charm, the reboot was useful
Update every 15mn not 5mn
Production platform uses domoticz v2023.1
Production platform (for Netatmo and Zigbee) uses domoticz v2024.7
cyberfilou
Posts: 6
Joined: Sunday 24 April 2016 16:17
Target OS: Windows
Domoticz version: V3.4834
Location: Belgium
Contact:

Re: Netatmo authentication changes Oct 2022

Post by cyberfilou »

Bonjour,
J'au eu le meme probleme, je suis passé a la Beta 2023.2 build15686, et tout fonctionne nickel, merci pour votre aide
Cyberfilou
Domoticz Instance + Zwave.Me + zigate+ RFXcom( RPI4 )
GJKNL
Posts: 36
Joined: Monday 31 October 2016 9:33
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by GJKNL »

It took me 2 days to have it running.
I followed the wike. I overlooked to put a seperate <:> between client_id and client_secret in the Domoticz Netatmo login.
jpcasta
Posts: 8
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,
After 12 days, I was able to receive the data for the Netatmo weather station but not for the Thermostats.
I had to regenerate the password to be able to get again the Thermostats data.
Is somebody experiencing the same issue?
Will we need to regenerate the password every 12 days or is there something to be done to keep the same password?
Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest