Skip to content

Solar PV Divert and Current Shaper

firstof9 edited this page Sep 28, 2026 · 1 revision

Solar PV Divert & Current Shaper

Two of the most powerful smart-charging features in the OpenEVSE integration are Solar PV Divert and Current Shaper. Both require firmware 4.1.0+.


Solar PV Divert

Solar PV Divert dynamically adjusts the charging current in real-time based on the excess solar power available in your home. Instead of pulling power from the grid, the charger uses solar energy that would otherwise be exported.

How It Works

  1. You configure one or more external power sensors in the integration options (Grid, Solar, or Voltage).
  2. The integration pushes these sensor values to the charger periodically.
  3. The charger's internal divert algorithm computes available solar current and adjusts the charge rate accordingly.
  4. In eco mode, the charger ramps up and down smoothly. In fast mode, it charges at full rate until solar drops, then stops.

Setup

Step 1 — Configure sensors:

Go to Settings → Devices & Services → OpenEVSE → Configure and set:

  • Grid Sensor: A sensor reporting net grid power in Watts.
    • Positive = importing from grid
    • Negative = exporting to grid (or toggle Invert Grid if your meter reports the opposite)
  • Solar Sensor (optional): A sensor reporting solar generation in Watts.
  • Voltage Sensor (optional): A sensor for grid voltage (improves accuracy).

Tip

If you only have a solar generation sensor (no grid meter), use the Solar Sensor field. The divert algorithm can work with either or both.

Step 2 — Enable Solar PV Divert:

Toggle the Solar PV Divert switch on, or call the service:

action: switch.turn_on
target:
  entity_id: switch.openevse_solar_pv_divert

Step 3 — Choose a divert mode:

Use the Divert Mode select entity to choose between:

Mode Behavior
eco Smoothly ramps charging current up/down to track available solar
fast Charges at maximum rate while excess solar is available; stops when it drops

Current Shaper

The Current Shaper prevents your home from exceeding a maximum power threshold. It reduces the EV charging current when other household appliances push total consumption above the configured limit.

How It Works

  1. You configure a Shaper Sensor that reports live household consumption in Watts.
  2. The integration sends this value to the charger periodically.
  3. The charger computes available headroom and adjusts the charge rate to prevent overloading.

Setup

Step 1 — Configure the Shaper Sensor:

Go to Settings → Devices & Services → OpenEVSE → Configure and set:

  • Shaper Sensor: A sensor reporting live household power consumption in Watts.

Step 2 — Enable Current Shaper:

Toggle the Current Shaper switch on, or call the service:

action: switch.turn_on
target:
  entity_id: switch.openevse_current_shaper

Diagnostic Sensors

When Solar PV Divert or Current Shaper is active, several diagnostic sensors become available (disabled by default, enable them in the entity registry):

Sensor Description
PV Available Current Raw available solar current (A)
PV Smoothed Available Current Smoothed/filtered solar current (A)
PV Charge Rate Current charge rate set by divert algorithm (A)
Shaper Power Live household power reported to shaper (W)
Shaper Current Available Current headroom available after shaper calculation (A)
Shaper Max Power Maximum total power limit configured on charger (W)
Divert Mode Currently active divert mode (fast or eco)
Divert Active (binary sensor) Whether divert is currently active
Shaper Active (binary sensor) Whether shaper is currently active

Combining Solar Divert with Charge Limits

Solar Divert and session limits can be used together. For example:

# Enable solar divert AND set a max SoC limit
action: openevse.set_limit
target:
  entity_id: sensor.openevse_charging_status
data:
  type: soc
  value: 80
  auto_release: true

The charger will use available solar power and stop automatically when the vehicle reaches 80% SoC.


Troubleshooting

Problem Solution
Divert/Shaper switch not visible Firmware must be 4.1.0+; check the Controller Firmware sensor
Charger not responding to solar Verify the Grid/Solar sensor entity IDs are correct in integration options
Sensor values not updating The integration pushes sensor data on HA state changes; ensure your sensors update regularly
Divert Active shows off despite solar available Charger needs a minimum current headroom; check charger min/max amps settings

Clone this wiki locally