Skip to content

planner exports live PV surplus while idle on forecasted load deficit #536

Description

@frahlg

bug description

community report from Discord (#troubleshooting): planner stayed in idle — import to cover load through the morning while live PV surplus was exported, even though battery would later be charged from grid.

observed snapshot

  • time: 12:15
  • mode/status: idle — import to cover load
  • price: 126.7 / 41.4 (as shown in plan table)
  • confidence: 1.00
  • action/expected balance: -2.02 kW
  • forecast load: 4.96 kW
  • scheduled battery: 0 W
  • forecast PV: 2.94 kW
  • SoC: 34.0%
  • live values reported by user: actual load about 1.5 kW, PV about 4 kW

expected behavior

when live PV exceeds live load and the battery has headroom, control should opportunistically absorb surplus instead of exporting now and charging later from grid.

actual behavior

planner appears to honor the forecasted current-slot deficit / idle action and misses live surplus PV absorption.

notes

this may be in the energy-dispatch path: slot Wh target / forecast-load logic overriding a live surplus capture guard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions