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

Fix manual-charge-energy reading #42

Open
4 tasks done
torbennehmer opened this issue Aug 7, 2023 · 0 comments
Open
4 tasks done

Fix manual-charge-energy reading #42

torbennehmer opened this issue Aug 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@torbennehmer
Copy link
Owner

System Health details

./.

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

The reading manual-charge-energy seems to work in strange ways. It is given in kAh using the individual cell's voltage as a baseline, but somehow counted across all cells.

This is a f'up on #40.

Reproduction steps

Charge 100 Wh
Afterwards, the reading is approx. 0,027 at a indvidual cell voltage of approx. 3,65. Multiplying it, you get back to the 0,1 kWh.

Debug logs

Taken with the 100Wh sample
...
      "manual-charge-energy": 0.027804025694444467,
...
            "voltages": [
              3.65,
...

Diagnostics dump

./.

@torbennehmer torbennehmer added the bug Something isn't working label Aug 7, 2023
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

1 participant