How can we help?


Failed to get oAuth token NETATMO (Authentication failure)

Fixed

Comments

99 comments

  • Official comment
    Avatar
    RainMachine Nicholas

    Client credentials grant type should still be available if you access only your own station data. To use it in RainMachine Personal NetAtmo Parser should be used and should be configured with your own cliend_id and client_secret in parser config dialog in RainMachine Weather Services > Community > Personal Netatmo.

    The parser can be installed from Community Weather Services or by uploading: https://raw.githubusercontent.com/sprinkler/rainmachine-developer-resources/da4370337855eb5931d0dbcd0a56aa4d34a4c721/sdk-parsers/RMParserFramework/parsers/personalnetatmo-parser.py

     

    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    Hi,

    Did you try to press Disable then DEFAULTS then Enable and Save from Web UI > Settings > Weather ?

     

     

    0
    Comment actions Permalink
  • Avatar
    vova

    Yes. That's what I did. Doesn't help.
    Turned off the weather with Netatmo for several hours in the settings. Then Netatmo connected in the application on the phone (there was such a tip on the forum for a long time). Entered login and password. Got Succes. But when updating, the data did not load. The date on which the data was last received remained the same.
    Some time has passed and the application again indicates an incorrect authorization.

    I turned off Netatmo again. It's been two days. In the web interface on the computer, I connected Netatmo, reset settings, entered my login and password. Saved, updated the data. Data is not updated. Again, an authorization error.

    0
    Comment actions Permalink
  • Avatar
    vova (Edited )

    It is very bad that technical support is so not operational in its assistance.... ((

    Here I bring screenshots from the application. Netatmo configuration has been disabled for several days. After connecting, entering a login and password, I get succes, but the information does not update after Refresh. And when you exit the settings, we see an authorization error.

     

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas (Edited )

    Probably we can't figure out through forums, it would be best if you can send us an email to tech@rainmachine.com mentioning your Remote Access email so we can take a look.

    0
    Comment actions Permalink
  • Avatar
    vova (Edited )

    support@rainmachine.com

    do not work....((((

    error 

    The message was not delivered because the support@rainmachine.com address was not found or does not accept incoming emails.

     

    550 5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipient's email address for typos or unnecessary spaces. Learn more at https://support.google.com/mail/?p=NoSuchUser b12sor3046751lft.176 - gsmtp

     

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    I edited my answer. The email that should be used is tech@rainmachine.com

    0
    Comment actions Permalink
  • Avatar
    RainMachine Support

    Hi.
    All fixed now.
    Let us know if anything happens in the future and please check your connectivity on NetAtmo/RainMachine location.

    Thank you!
    Julian
    RainMachine Support

    0
    Comment actions Permalink
  • Avatar
    Sebastian

    Hello, 

    does anyone else experience issues? I get the same message since 3 days. 

    Netatmo does not update and the log shows 

     

    HTTPError: HTTP Error 400: 
    2023-07-18 14:33:53,329 - ERROR - user-personalnetatmo-parser:243 - Failed to get oAuth token
    2023-07-18 14:33:53,336 - ERROR - user-personalnetatmo-parser:70 - Error: Authentication failure
    0
    Comment actions Permalink
  • Avatar
    vova

    Netatmo wines here. They changed the way they authorized.... (((

    I'm pretty sure that Netatmo has finally depricated "Client credentials grant type" in favour of "Authorization code grant type".
    Go to https://dev.netatmo.com/apidocumentation/oauth and look for 'Client credentials grant type'

    Some programs where authorization from Netatmo is needed stopped logging in on June 30... ((

    0
    Comment actions Permalink
  • Avatar
    vova (Edited )

    Parser has long been installed. The weather reception from Netatmo switched off on June 18. Authorization does not pass now!!!

     

     

     

     

    0
    Comment actions Permalink
  • Avatar
    vova

    "To use it in RainMachine Personal NetAtmo Parser should be used and should be configured with your own cliend_id and client_secret in parser config dialog in RainMachine Weather"

    cliend_id and client_secret  - Should Netatmo provide this data? But his app doesn't have that data.

     

    0
    Comment actions Permalink
  • Avatar
    vova

    0
    Comment actions Permalink
  • Avatar
    vova

     

    0
    Comment actions Permalink
  • Avatar
    RainMachine Support

    Hi.
    Please follow this link to learn how to update your Personal NetAtmo Weather service auth credentials
    https://support.rainmachine.com/hc/en-us/articles/13251844688151-NetAtmo-Weather-Service-2023-Update-Fix-

    Thank you!

    1
    Comment actions Permalink
  • Avatar
    vova

    Thank you! But it doesn't work out. I do everything according to the instructions. But in the end, Netatmo does not have a new resolution in my account in the list of third-party applications. And the information is not updated in the parser.

    0
    Comment actions Permalink
  • Avatar
    vova

    0
    Comment actions Permalink
  • Avatar
    vova

    0
    Comment actions Permalink
  • Avatar
    RainMachine Support

    Hi,
    Check the Enable checkbox and then Save
    Return to the parser and see if the settings are visible.
    Thanks

    0
    Comment actions Permalink
  • Avatar
    vova

    My home weather station Netatmo also transmits data to the smart mirror module, and the data stopped displaying there at the end of June...., although all the data is correct (login, password and two codes)

    0
    Comment actions Permalink
  • Avatar
    vova

    0
    Comment actions Permalink
  • Avatar
    vova

    0
    Comment actions Permalink
  • Avatar
    vova

    I have already deleted the parser twice, installed it again and re-entered all authorization data.... ((

    0
    Comment actions Permalink
  • Avatar
    vova

    0
    Comment actions Permalink
  • Avatar
    Sebastian

    @RainmachineSupport: Looking at what happens in the background, I'm pretty sure the Parser needs an update.

    1
    Comment actions Permalink
  • Avatar
    vova

    All input in the parser is saved and correct. Checked many times....

    0
    Comment actions Permalink
  • Avatar
    vova

    0
    Comment actions Permalink
  • 0
    Comment actions Permalink
  • Avatar
    RainMachine Support

    Have you tried removing the RainMachine NetAtmo app and create a new one?

    0
    Comment actions Permalink
  • Avatar
    vova

    Deleted your parser.
    It is not possible to delete an application in the https://dev.netatmo.com/, you can only deactivate it.

    Created a new application.
    Received new authorization data.
    Installed the parser again.
    Entered new authorization information.

    The result is the same - authorization does not pass. And in the list of Partner Applications, a new RainMachine partner does not appear in the Netatmo account
    It seems to me that your parser is outdated or Netatmo has changed the way you authorize tokens.

    0
    Comment actions Permalink

Please sign in to leave a comment.