Netatmo authentication changes Oct 2022

Moderator: leecollings

Post Reply
woodrjh
Posts: 2
Joined: Thursday 30 November 2017 13:45
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Netatmo authentication changes Oct 2022

Post 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
Kazaa2978
Posts: 2
Joined: Wednesday 27 December 2017 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by Kazaa2978 »

Same question here..
Toulon7559
Posts: 843
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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?
Last edited by Toulon7559 on Thursday 13 October 2022 23:46, edited 1 time in total.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
JenniferDowner
Posts: 1
Joined: Thursday 15 September 2022 22:18
Target OS: Windows
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by JenniferDowner »

I also got the same email. Thanks for letting me know as well. :)
dgilbert2
Posts: 84
Joined: Wednesday 16 August 2017 8:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: UK
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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?
dgilbert2
Posts: 84
Joined: Wednesday 16 August 2017 8:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: UK
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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?
dgilbert2
Posts: 84
Joined: Wednesday 16 August 2017 8:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: UK
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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 :)
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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
Quality outlives Quantity!
dgilbert2
Posts: 84
Joined: Wednesday 16 August 2017 8:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: UK
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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 ;) ).
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Netatmo authentication changes Oct 2022

Post by gizmocuz »

Yes I think you're right and it should just continue to work
Quality outlives Quantity!
Rob67ert
Posts: 17
Joined: Tuesday 24 December 2019 13:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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...
lacha07
Posts: 2
Joined: Tuesday 16 November 2021 11:33
Target OS: -
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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
cgu6dom
Posts: 1
Joined: Monday 07 November 2022 13:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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 !
Rob67ert
Posts: 17
Joined: Tuesday 24 December 2019 13:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by Rob67ert »

Hi,

Yes for me it also worked again when I changed my password and removed the @ and #.
Thanks @cgu6dom
Emax
Posts: 11
Joined: Wednesday 23 August 2017 10:39
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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.
leef22
Posts: 1
Joined: Friday 18 November 2022 14:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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...
marcojpolet
Posts: 63
Joined: Thursday 04 February 2016 20:18
Target OS: -
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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!
marcojpolet
Posts: 63
Joined: Thursday 04 February 2016 20:18
Target OS: -
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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
vandermark1977
Posts: 11
Joined: Sunday 11 December 2016 20:10
Target OS: -
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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
jackslayter
Posts: 59
Joined: Tuesday 07 October 2014 11:00
Target OS: Raspberry Pi / ODroid
Domoticz version: stable
Location: France RA
Contact:

Re: Netatmo authentication changes Oct 2022

Post 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
RPi2 + RFLink, Domoticz
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest