Feat: add configurable EV stop strategy and stabilize peak shaving#141
Feat: add configurable EV stop strategy and stabilize peak shaving#141joma999 wants to merge 1 commit into
Conversation
- add EV Stop Trigger strategy selector for Full stop vs Standby / peak shave - keep manual Full stop prioritized over EV-trigger standby mode - update dashboard EV status and executing-flow display to show applied strategy - make Standby / peak shave report its user-facing display name - latch peak-shave direction and limit during release/hold phase to prevent import/export flip-flopping - add dashboard warning for low import peak-shave limits below 2500 W - bump release version to 4.11.0 and add release notes
|
I think it'd be good to also allow for:
Considering the in-flight work for supporting per-phase peak-shaving/protection + most good EV chargers also having some form of phase protection, we might not want to block:
|
|
Thanks for your comments. I do have a few considerations, though. First, when charging slowly—typically with a 10A charger—you may not want to enable this feature at all. After all, EV Stop is optional. Second, when charging at full speed, which is typically 11 kW, I do not expect there to be much excess energy left for “Charge PV”, unless you have a very large PV installation. Regarding charging the battery during low-price periods while also charging an EV: the 3×25A connection is indeed a limiting factor. I do not think you would want the charger to start load balancing simply because the battery is charging. In any case, charging your car during the most expensive hours of the day is generally not a good idea. I would expect HBC users to be proactive about that. ;-) That said, I do think it would be useful to expand EV Stop with strategies beyond a full stop. My initial thought would be to introduce a standby mode. This could at least prevent dynamic load balancing from being triggered when, for example, you switch on the oven on the same phase. For the rest, the strategy should make practical sense. Otherwise, leaving EV Stop disabled should remain an option. |
) (#157) Integrates PR #141 (joma999) onto current main (v4.12.0), re-targeted to v4.13.0. The PR's branch was based on an old main (v4.10.1) and main has since re-exported the Node-RED flows with regenerated node IDs, so the PR could not be merged textually. Changes were re-applied semantically: - EV Stop Trigger strategy: new selectable `Full stop` vs `Standby / peak shave` behaviour; manual Full stop still takes precedence. New `input_select.house_battery_strategy_ev_stop_trigger_strategy` helper and a new `EV Stop Trigger Strategy` api-current-state node spliced into the start-flow strategy-selection chain (against main's regenerated IDs). - Peak shaving: latch import/export direction and power limit at the moment of the real grid-limit violation to prevent import/export flip-flopping during the release timeout. - Dashboard: reflect the applied strategy, show Standby / peak shave, add a low import peak-shave limit (<2500 W) warning, expose Trigger strategy. - Re-applied the same functional edits to all-flows-in-one-file.json and bumped all version labels to v4.13.0. contribute/check.ps1 passes. Co-authored-by: joma999 <johan._@live.nl>
|
Thank you for this contribution, @joma999! 🙏 This shipped in v4.13.0. Because
Your authorship is preserved via |
|
Superseded by 7eea667 (v4.13.0). |
This PR adds a configurable EV Stop Trigger strategy and improves peak-shaving stability.
Users can now choose whether an active EV stop trigger should force Full stop or keep the battery in Standby / peak shave. Manual Full stop from the main strategy selector still takes priority, so the battery can always be explicitly shut down.
The dashboard now reflects the actually applied strategy more accurately, including correct Standby / peak shave display instead of misleading internal Self-consumption variants.
Peak shaving now latches the import/export direction and limit when a real grid-limit violation occurs. This prevents import peak shaving from accidentally flipping into export behavior during the release/hold timeout after a load step change.
Changes
Validation
** Screenshots**
New option to select Standby / peak shave during EV stop tigger:

Now showing correct flow when selecting Standy / peak shave:

Example previous flipping behaviour during peak shaving when low limits were set:

Additional warning when setting very low peak shaving limits:
