Page 1 of 10

Netatmo authentication changes Oct 2022

Posted: Tuesday 16 August 2022 11:08
by woodrjh
Hi,

I've just received this email from Netatmo:


===========================================
Netatmo API Security Update

Dear Netatmo developer,

To improve the security of our products, we inform you that the Client Credentials grant type method will be completely removed. It will no longer be possible to authenticate with the username and password of the user.

The effective date of this update is October 2022.

How can you authenticate with Netatmo API ?
From this date, the OAuth2 authorization code flow must be followed for authentication.

You can find details on this method on our website:

Netatmo Connect | Authentication
For tests, you can also get an Access Token from our developper portal.

Netatmo Developer Portal

Log in
Go on your account
Select the application for your test
Click on "Generate a Token"

You can now use this Access Token for 3 hours.
===========================================

Can anyone comment on whether this will stop the Netatmo devices from working?

Cheers,

Rick

Re: Netatmo authentication changes Oct 2022

Posted: Tuesday 23 August 2022 19:14
by Kazaa2978
Same question here..

Re: Netatmo authentication changes Oct 2022

Posted: Wednesday 24 August 2022 10:18
by Toulon7559
Surely Netatmo will take care that it's own applications will continue running.
.
For DIY and 3rd party applications accessing Netatmo-data generally a change of authentication will require that those applications need to be checked.
Perhaps the custodian of the Netatmo-plugin for Domoticz may enlighten us?

Re: Netatmo authentication changes Oct 2022

Posted: Thursday 15 September 2022 22:20
by JenniferDowner
I also got the same email. Thanks for letting me know as well. :)

Re: Netatmo authentication changes Oct 2022

Posted: Thursday 22 September 2022 13:03
by dgilbert2
Hopefully Domoticz will get updated for the new Netatmo authentication changes as it's temperature values are some of the key inputs to my setup?

Re: Netatmo authentication changes Oct 2022

Posted: Monday 03 October 2022 20:51
by dgilbert2
I've now seen that the "old" Netatmo authentication will get switched off on 22nd October 2022. The question is, will Domoticz (stable) still work with Netatmo after this date, or has the Beta version been updated, does anyone know please?

Re: Netatmo authentication changes Oct 2022

Posted: Tuesday 04 October 2022 8:54
by dgilbert2
I believe I can answer my own question?

I've compared the Domoticz Netatmo hardware code for the stable release (2022.1) and the latest beta on Github. In terms of authentication, they appear identical. I then looked up the OAuth2 authorization code flow from

https://dev.netatmo.com/apidocumentation/oauth

and the good news is that its requirements are already incorporated.

So if I'm correct, its good news and credit to the Domoticz Netatmo developer :)

Re: Netatmo authentication changes Oct 2022

Posted: Tuesday 04 October 2022 9:17
by gizmocuz
Maybe you could give this a try

https://www.diversit.eu/post/2021/01/17 ... ridge.html

https://github.com/diversit/mqtt-netatmo-bridge

In Domoticz add the MQTT Auto Discovery and make use of the above docker

Re: Netatmo authentication changes Oct 2022

Posted: Tuesday 04 October 2022 14:08
by dgilbert2
gizmocuz wrote: Tuesday 04 October 2022 9:17 Maybe you could give this a try

https://www.diversit.eu/post/2021/01/17 ... ridge.html ..........
Thank you for the suggestion, it certainly looks like an option to try if the Domoticz built-in Netatmo has problems, although having looked at the Domoticz authorisation code itself, I'm pretty confident its already been changed over to OAuth2. I could not see if MQTT has been updated (it looks quite complicated at first ;) ).

Re: Netatmo authentication changes Oct 2022

Posted: Tuesday 04 October 2022 14:09
by gizmocuz
Yes I think you're right and it should just continue to work

Re: Netatmo authentication changes Oct 2022

Posted: Friday 21 October 2022 13:22
by Rob67ert
Well just got an email; your netatmo account is temp locked, a third party app (Domoticz_API) tried to logon.
So hope someone know how to fix this...

Re: Netatmo authentication changes Oct 2022

Posted: Thursday 03 November 2022 17:12
by lacha07
Hello,
Since 2 days I m getting the error
Error: Netatmo: No access granted, check username/password...
Do you know how to bypass it ?
Thanks

Re: Netatmo authentication changes Oct 2022

Posted: Monday 07 November 2022 14:09
by cgu6dom
Hi,

I also experienced this problem with Version: 2022.2: after having deleted my Netatmo hardware device and tried to recreate it.
Logs were also showing "No access granted, check username/password" and receiving emails from netatmo "account is temp locked, a third party app (Domoticz_API) tried to logon"

I could fix it by changing my netatmo password, the old one was using @ and # characters, I suspect it was the root cause of the problem...

Kudos for the great work on Domoticz !

Re: Netatmo authentication changes Oct 2022

Posted: Tuesday 08 November 2022 11:26
by Rob67ert
Hi,

Yes for me it also worked again when I changed my password and removed the @ and #.
Thanks @cgu6dom

Re: Netatmo authentication changes Oct 2022

Posted: Monday 14 November 2022 17:46
by Emax
Just ran into this issue after upgrading to 2022.2. I was using a $ in my password and changed that to a ! as Netatmo requires special characters in the password, however I suspect it is not the special characters causing the issue but just changing the password in itself somewhow solves it.

Re: Netatmo authentication changes Oct 2022

Posted: Friday 18 November 2022 16:34
by leef22
I was also forced to change the password, then it reads the values, but only once. Then I see this error every 15 minutes in the log:
2022-11-18 15:14:38.739 Status: Netatmo: Worker started...
2022-11-18 15:14:45.787 Netatmo: Temp + Humidity + Baro (Netatmo)
2022-11-18 15:14:45.794 Netatmo: Air Quality (NA: CO2)
2022-11-18 15:14:45.800 Netatmo: General/Sound Level (NA: Hluk)
2022-11-18 15:19:46.691 Status: Netatmo: No Weather Station devices found...
2022-11-18 15:34:47.246 Status: Netatmo: No Weather Station devices found...
2022-11-18 15:49:47.809 Status: Netatmo: No Weather Station devices found...
2022-11-18 16:04:48.341 Status: Netatmo: No Weather Station devices found...
2022-11-18 16:19:48.895 Status: Netatmo: No Weather Station devices found...

Re: Netatmo authentication changes Oct 2022

Posted: Tuesday 13 December 2022 20:34
by marcojpolet
Hi all,

Is this issue already solved? I'm seeing the same things. Removed # etc. from my password, initial verification is working, including getting three devices in Domoticz, but only updated once. In Netatmo web, I do see in 'Partner Apps' the authorizid Domoticz API.

Using Domoticz 2022.2 (build 14828)

Any help is very appreciated!

Re: Netatmo authentication changes Oct 2022

Posted: Thursday 15 December 2022 20:53
by marcojpolet
Small update, if I disable & enable the device, there are values entered, but unfortunately only once. Note I only have the CO2/temp/hum/dB device, not a weather station itself, but values are there (once), so I thought it would work?

2022-12-15 20:49:22.582 Status: Netatmo: Worker started...
2022-12-15 20:49:29.146 Netatmo: Temp + Humidity + Baro (THB_Woonkamer)
2022-12-15 20:49:29.168 Netatmo: Air Quality (Woonkamer_CO2)
2022-12-15 20:49:29.186 Netatmo: General/Sound Level (dB_Woonkamer)

Any one have this config up & running? Or perhaps a good alternative with better support? I can still send it back to bol.com :-)

Regards,
Marco

Re: Netatmo authentication changes Oct 2022

Posted: Wednesday 21 December 2022 7:59
by vandermark1977
Today i also receive error in the log that the netatmo pluging can no longer login...
I will try changing the password and really hope we can keep using the netatmo plugin. My thermostat for my heatpump depends on it...

Are there any simple alternatives for temperature & humidity logging in domoticz? If possible without soldering etc... :-)

EDIT: Changing the password didn't help... Plugin can still not login. Very frustrating

Re: Netatmo authentication changes Oct 2022

Posted: Wednesday 21 December 2022 8:48
by jackslayter
Hello, I update to 2022.2 last friday and during the week-end I see the CO2 values doesn't work and connections errors.
Today I rollback to 2002.1 and all working fine, I change the netatmo password in 2022.2 version and update to 2022.1 and works again