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

Confusion b/w battery percentage and battery voltage for Li and AGM batteries #14

Open
padhupradheep opened this issue Oct 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@padhupradheep
Copy link
Member

Currently the relayboard firmware sends the battery percentage information in the battery voltage field rather than the battery percentage itself for Lithium batteries.

Thus the battery_voltage field in the state topic publishes the battery percentage and not the battery voltage.

Also in the battery_state topic we again calculate the SOC from the battery voltage that we receive from the firmware, which is a wrong calculation. This calculation is specific only for the AGM batteries.

AFAIK, there are no plans to change the firmware for sending the voltage information from the Lithium batteries. Therefore the data needs to be segregated and adapted according to the above mentioned description.

@padhupradheep padhupradheep added the bug Something isn't working label Oct 1, 2024
@padhupradheep padhupradheep self-assigned this Oct 1, 2024
@padhupradheep padhupradheep changed the title battery_voltage not available for Lithium batteries Confusion b/w battery percentage and battery voltage for Li and AGM batteries Oct 1, 2024
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