Netatmo – Oath2 login
-
Latest master version (v23.1.6) available from AltAppStore, resolves this issue.
- no need for you to create your own App credentials on the dev.netatmo.com site
- one-off authorization via the Netatmo website to access your own weather station
- no user credentials stored in the app
After installing this update, the above one-off authorization is required. You can access this via the Authorize button on either the AltUI device page or the openLuup console device page. You are redirected to the Netatmo site to login and approve the request. After successful acknowledgement, you should restart openLuup.
A number of previously-existing device variables (all in the Netatmo1 service) will be marked with the value 'nil'. These may be manually deleted:
- ClientID
- ClientSecret
- Username
- Password
- TokenRefresh
- AppMemoryUsed
Thanks once again to @mrFarmer whose interim solution gave me the impetus to revisit and finally resolve this issue.
Also, please note that the latest master version of openLuup is recommended.
-
A akbooer has marked this topic as solved on
-
Latest master version (v23.1.6) available from AltAppStore, resolves this issue.
- no need for you to create your own App credentials on the dev.netatmo.com site
- one-off authorization via the Netatmo website to access your own weather station
- no user credentials stored in the app
After installing this update, the above one-off authorization is required. You can access this via the Authorize button on either the AltUI device page or the openLuup console device page. You are redirected to the Netatmo site to login and approve the request. After successful acknowledgement, you should restart openLuup.
A number of previously-existing device variables (all in the Netatmo1 service) will be marked with the value 'nil'. These may be manually deleted:
- ClientID
- ClientSecret
- Username
- Password
- TokenRefresh
- AppMemoryUsed
Thanks once again to @mrFarmer whose interim solution gave me the impetus to revisit and finally resolve this issue.
Also, please note that the latest master version of openLuup is recommended.
@akbooer Does this update also work for Vera controllers without using openluup or Altui?
-
In theory, yes. The current version, no.
However, anticipating this, I have fired up my one remaining Vera to test things out. I had forgotten what a dreadful platform it is to try and do development on.
I would be interested to know if there are any others here interested in getting this working on Vera.
-
In theory, yes. The current version, no.
However, anticipating this, I have fired up my one remaining Vera to test things out. I had forgotten what a dreadful platform it is to try and do development on.
I would be interested to know if there are any others here interested in getting this working on Vera.
-
@akbooer thanks, but I’ve moved almost fully to Hubitat, Vera still running Sonos & Visonic alarm. Btw, Sonos plugin for MSR would be great!
Off topic but there is a mqtt server for sonos. I had wondered if that would be of any use.
-
Off topic but there is a mqtt server for sonos. I had wondered if that would be of any use.
@a-lurker said in Netatmo – Oath2 login:
Off topic but there is a mqtt server for sonos. I had wondered if that would be of any use.
It would be easy to support via custom mqtt templates. I’m doing the same for SwitchBot. MQTT payloads seems easy to implement.
-
Just seen notification to Netatmo developers that the current password-based login is being disabled as from October.
Oath2 is now a requirement for apps needing access to Netatmo. This will require some changes to my venerable plug-in. I’m not sure how easy this will be with the current libraries in use.
Does anyone out there use the Netatmo plug-in?
Does anyone have any advice on using Oath2?
@akbooer said in Netatmo – Oath2 login:
Just seen notification to Netatmo developers that the current password-based login is being disabled as from October.
Having recently looked at their documentation, I see that this username/password authorization is now simply flagged as deprecated.
AFAIK, there is no set date for it actually being disabled, so current Vera users should be fine for the time being.
-
The latest master version (v23.1.8) now works on Vera too.
Available from the AltAppStore (or GitHub.) -
Just received a further developer update from Netatmo regarding authentication changes.
Happy to say that the latest Netatmo plugin code in the AltApp Store is already compliant, so no changes needed.
(This is just in case anyone still uses this plugin... I do!)