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

Force Refresh of Status Data #110

Closed
smar000 opened this issue Sep 19, 2023 · 2 comments
Closed

Force Refresh of Status Data #110

smar000 opened this issue Sep 19, 2023 · 2 comments
Labels
question Further information is requested

Comments

@smar000
Copy link

smar000 commented Sep 19, 2023

Hi

Many thanks for this library!

I am using it to get data from an I-Pace. One issue I am experiencing is that the 12V battery voltage value (from get_status()) returned by the API ordinarily seems to stay fixed and not change over time, regardless of how often I call get_status(), e.g. it is fixed at 14.1V. Once the ignition is off, this value should drop to 12.8v, and then gradually decline further over time, but instead I am seeing the same 14.1V even after leaving the car parked overnight. I cannot seem to get an updated value regardless of how often I call get_status().

If I check in WattCat (on its Details page), I initially see the same value as reported by your library. However, if I then do a refresh on WattCat, the value reported in WattCat drops to the 12.8V (or some lower amount). Going back to get_status() with your library now also returns the same 12.8V as WattCat.

Is there any way to force a refresh using your library in the same way that WattCat seems to do?

@ardevd
Copy link
Owner

ardevd commented Sep 19, 2023

Hi.

A call to get_health_status() will trigger a refresh. It's what WattCat does as well.

@ardevd ardevd added the question Further information is requested label Sep 19, 2023
@smar000
Copy link
Author

smar000 commented Sep 19, 2023

Thanks for that! All working nicely :)

@smar000 smar000 closed this as completed Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants