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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Save token when it is refreshed #63

wants to merge 3 commits into from

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.

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