Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

Values are not updated #2

Closed
tooh opened this issue Jan 16, 2020 · 1 comment
Closed

Values are not updated #2

tooh opened this issue Jan 16, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tooh
Copy link

tooh commented Jan 16, 2020

@dhayab , thanks for making this plugin. Had give up hope that somebody would make the effort.

After using the plugin for a couple of weeks, it seems that the temperature value is not updated.

I checked on the Withings portal and they are correct there.

Can you advise me how to debug your plugin to assert that my assumptions are correct?

@dhayab
Copy link
Owner

dhayab commented Jan 16, 2020

Hi, thanks for reporting this issue. What's happening is that the plugin logs into the Withings website just once, on initialization, and stores the session cookie for subsequent API calls. After a few days, the session expires, so all requests will fail.

I'll add a way to refresh the session cookie, so that these errors won't happen again.

@dhayab dhayab self-assigned this Jan 16, 2020
@dhayab dhayab added the bug Something isn't working label Jan 16, 2020
@dhayab dhayab closed this as completed in 2366065 Jan 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants