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

Save token when it is refreshed #63

Merged
merged 3 commits into from
Oct 20, 2024
Merged

Save token when it is refreshed #63

merged 3 commits into from
Oct 20, 2024

Conversation

xperimental
Copy link
Owner

Fixes #54

This adds a feature that has been requested a few times: the exporter should not only save the token when shutting down but also while it is running. The current implementation will save the token every time it is refreshed.

@szermatt I don't think I re-used any of the code in your branches, but I decided to mention your name anyway, because you made the effort and our ideas were so similar 🙂

I've also build a testing image, which is available at ghcr.io/xperimental/netatmo-exporter:save-token. I'll let that marinate on my installation for a bit to see if this actually works.

xperimental and others added 2 commits October 13, 2024 23:15
Co-authored-by: Stephane Zermatten <szermatt@gmx.net>
@xperimental xperimental merged commit c740b24 into master Oct 20, 2024
3 checks passed
@xperimental xperimental deleted the save-token branch October 20, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write token file upon refresh
1 participant