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

DEV V4.0 Lifetime energy incorrectly displayes 0kWh #153

Closed
glynhudson opened this issue Feb 24, 2021 · 7 comments
Closed

DEV V4.0 Lifetime energy incorrectly displayes 0kWh #153

glynhudson opened this issue Feb 24, 2021 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@glynhudson
Copy link
Collaborator

Screenshot 2021-02-24 15 55 49

Correct value should be:

Screenshot 2021-02-24 15 56 57

@glynhudson glynhudson added the bug Something isn't working label Feb 24, 2021
@jeremypoulter
Copy link
Collaborator

Is this the same issue as #148 ? If not can you provide the debug/rapi output?

@glynhudson
Copy link
Collaborator Author

Ah yes it's a duplicate. Just reading your replies to the #148 you mention that energy states are only received when charging. I think this is the issue, I just updated the WiFi firmware on my home EVSE which has a non-zero lifetime energy value. I've not yet started a charge since updated. Presumably the value will update once I perform a charging session? I'll confirm tonight.

It will be confusing for users updating the WiFi firmware. Does this also mean the lifetime energy display will always display 0Wh after a power cycle? Ideally the lifetime kWh value would be retrieved from the controller at startup.

@jeremypoulter
Copy link
Collaborator

I think it should be retrieved after boot, I will double check. I have a habit of leaving my dev setup in charging.

@glynhudson
Copy link
Collaborator Author

I tried a couple of reboots and the lifetime energy value was not retrieved.

After a charging session was started the lifetime kWh was retrieved correctly. However, if the WiFi module is rebooted the lifetime kWh counter reverts to 0kWh until a charging session is started.

It's important that the lifetime kWh is retrieved at startup.

@glynhudson
Copy link
Collaborator Author

I've just tested running latest version and after restarting the WiFi module the lifetime total still displays 0 kWh before any charging session occurs.

@TheBluProject
Copy link

Firmware built from the most recent commits for WiFi / GUI / Libs. Both reseting the ESP32 and powering down and powering up the entire unit results in the correct behaviour - lifetime totals as they are suppose to be.

@glynhudson
Copy link
Collaborator Author

Apologies, I just realised I was seeing 0kWh since I had just flashed new FW to my EVSE which reset the lifetime energy! This is now fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants