Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access / Refresh tokens stop to work after N days #46

Open
gregorionuti opened this issue Apr 9, 2024 · 4 comments
Open

Access / Refresh tokens stop to work after N days #46

gregorionuti opened this issue Apr 9, 2024 · 4 comments

Comments

@gregorionuti
Copy link

The code refresh the token after each 3 hours, using refresh_token and then save the response (which includes token and refresh_token), but after some days (about 1-3), the token fetched by using refresh_token doesn't work anymore and I have to reconnect manually to generate a new token. I had a look on Netatmo forum here https://forum.netatmo.com/viewtopic.php?t=21383&start=20 but I didn't find any working solution.

@nono303
Copy link

nono303 commented Jun 5, 2024

Same for me.
And the error return 400 Bad Request (but we should receive a 401 Unauthorized) made me waste another 2 hours to tweak a dirty hack with this refresh_token...
api, website, webapp, forum & co. work less and less at “Legrand Netatmo Bticino"
If someone find a good hack, I'll take it!

@tomasmiksa
Copy link

@nono303
Copy link

nono303 commented Jun 7, 2024

@nono303
Copy link

nono303 commented Mar 3, 2025

Hi,
Did someone here try https://github.com/Phil353556/netatmo-manage-tokens ? (I haven't done it yet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants