Skip to the content.

Dynamic Strategy Setup

The dynamic flow is provided for automated charging/discharging based on changing hourly rates. This is only relevant if you have a dynamic/hourly contract.

How it works

The strategy will periodically check for new tarif data from your supplier. It will use charge during the cheapest hours of this day. And charge using your charge settings. It will use self-consumption during the most expensive hours of the day, if the price delta is big enough. Outside of these periods it will use charge PV to capture any surplus (cheap) solar power.

View the explanation videos of the general idea behind this strategy:

SETUP - getting dynamic up and running

How to setup Dynamic

  1. Install Cheapest Energy Hours if you have not done so already
  2. Provide data from your Energy supplier to Home Assistant. See this easy list with addons from TheFes.
    • Follow any instructions provided by the Data Provider addon.
  3. Import the 02 strategy-dynamic.json flow into Node-RED and deploy
  4. Go to your Home Battery Control dashboard in HA
    • Select Full control and Dynamic to activate the strategy
  5. Go to 2nd tab, this shows timed and dynamic planning
    • Select your energy supplier from the dropdown
    • The dashboard should (with a small delay) display when it will be charging/idle/discharing in the next 24 hrs.
  6. Minimum price delta
    • Leave the price delta at €0,06/kWh or set it to your desired value
    • For a Marstek bought at ~ €1250, 6000 cycles at 88% DoD and an 80 RTE = delta at €0,06/kWh
    • If you charge largely using solar power, you can lower the price delta down to €0,00/kWh

Done.

USE - the dynamic strategy

How to use Dynamic

Strategy behavior per period

Note the dynamic and timed strategy share settings for charge / charge pv / self-consumption.

Dashboard controls

Energy supplier / Data source

Minimum price delta (€/kWh)

Cheapest hours (number)

Expensive hours (number)

FAQ

Period start/end times (read-only)

Average tariffs display

← Back to Home