Add Dynamic Power Pricing (DPP) Support #138
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds support for E3/DC's Dynamic Power Pricing feature, enabling battery charging optimization based on dynamic electricity prices.
Changes
get_dpp_data()- Read current DPP status and configuration (enabled, price limit, target SOC, active months)set_dpp_battery_charging()- Configure DPP settings with optional parameters (enabled, price_limit, soc_target, months_active)examples/dpp_example.pyExample
Testing
Validated with black, flake8, pyright and tested on E3/DC S10X hardware.
Note: I tried to also integrate the Wallbox DPP control, but couldn't get it to work (didn't reflect the actually configured values on my S10X), so i left it out completely except for the RSCP tags.