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

Feature - Experimental DoD override #24

Merged
merged 11 commits into from
Jan 22, 2024
Merged

Feature - Experimental DoD override #24

merged 11 commits into from
Jan 22, 2024

Conversation

Codegnosis
Copy link
Owner

@Codegnosis Codegnosis commented Jan 18, 2024

Resolves #20 - adds a new (experimental) feature to configure a custom DoD.

  • Add config option to set custom DoD value as a percentage
  • Add option to enable/disable custom DoD usage

When set, values for the usable capacity and current SOC kWh will be calculated based on the configured DoD value. These will override and be used in place of the sensor.INVERTOR_SERIAL_battery_capacity and sensor.INVERTOR_SERIAL_soc_kwh data supplied by GivTCP when displaying battery data in the card.

Several other fixes, improvements and code refactoring.

@Codegnosis Codegnosis marked this pull request as ready for review January 22, 2024 10:46
@Codegnosis Codegnosis merged commit 6d92fef into main Jan 22, 2024
1 check passed
@Codegnosis Codegnosis deleted the develop branch January 22, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a depth of discharge setting
1 participant