Failed to get oAuth token NETATMO (Authentication failure)
FixedGood afternoon!
PRO 8 Module Version 4.0.1163
Does not connect to Netatmo module. Authorization error. Login\password checked, reset to default made.
HTTPError: HTTP Error 400: 2022-02-16 15:46:21,734 - ERROR - netatmo-parser:274 - Failed to get oAuth token 2022-02-16 15:46:21,743 - ERROR - netatmo-parser:79 - Error: Authentication failure 2022-02-16 15:51:21,846 - INFO - netatmo-parser:53 - NetAtmo Parser v1 starting... 2022-02-16 15:51:21,855 - INFO - netatmo-parser:74 - Doing full auth 2022-02-16 15:51:21,865 - INFO - netatmo-parser:309 - Getting data from https://api.netatmo.com/oauth2/token 2022-02-16 15:51:22,595 - ERROR - netatmo-parser:321 - HTTP Error 400: Traceback (most recent call last): File "./RMParserFramework/parsers/netatmo-parser.py", line 318, in postRequest File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen File "/usr/lib/python2.7/urllib2.py", line 435, in open File "/usr/lib/python2.7/urllib2.py", line 548, in http_response File "/usr/lib/python2.7/urllib2.py", line 473, in error File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
-
Mine works at the moment, but I had to reset the Tokens a couple of times over the last two month.
But it didn't work with just the new Tokens, a Rainmachine Restart was required.Next time I'll just try the restart first. If it works again after that, that would mean the issue isn't on Netatmo's side?🤔
-
I've given up on having netatmo on Rainmachine directly. I've added a very simple parser which just gets data from an URL. The URL is generated with a (also) simple Python script on a server with modern software. The entire Netatmo token handling is solved in several libraries which one can use. On the Rainmachine that's not really possible due to the ancient Python 2.7.
-
I’ve received an email from Netatmo as follows:
“ Netatmo API - API Domain Name Change
Dear Netatmo developer,
We hope this message finds you well.We are writing to inform you of an upcoming change to our API domain configuration. As part of our ongoing efforts to streamline and improve our services, we will be retiring the domain api.netatmo.net and consolidating all API traffic under the existing domain api.netatmo.com.
Effective Date:September 8, 2025
To ensure uninterrupted service, we kindly ask you to update your applications to use api.netatmo.com exclusively before the above date. The structure and functionality of the API remain unchanged — only the domain name is affected.
Sincerely,
Legrand - Netatmo - Bticino”
Will this effect the Parser-Routine to fetch data from Netatmo by September, 8.th?
Please sign in to leave a comment.
Comments
106 comments