Skip to content

Plan card: replace the k slider with planning styles a household can read #1482

Closed

Description

@frahlg

Problem

A beta tester asked why the plan would not put today's solar surplus into the battery. The plan counted on less sun than the forecast, because of the forecast margin (safety_k, default 1). The Plan card did not make that clear:

  • The card is titled "Follow the forecast", but moving right follows the forecast less, and the number rises as trust falls.
  • "k 1" has no unit, and the card does not show the range (0–2).
  • "Shown intervals: … Load forecast 33.1 kWh; plan uses 35.5 kWh" reads as if the plan consumes 35.5 kWh.
  • The chart shows the careful plan as if it were the expected outcome. The dashed and solid green lines are hard to tell apart on a phone.
  • Nothing says that live solar beyond the plan can still charge the battery. Core does this when the plan buys grid energy later (livePVSurplusSoCCap), but the plan API does not expose it.

Proposal

  • Five planning styles on the Plan card, from Very careful to Very bold, like a fund's risk profile. The middle leans toward the forecast.
  • One sentence per style, and one line with today's effect: how much sun beyond the home's use the forecast expects, and how much of it the plan counts on.
  • "Safety limits are the same in every style."
  • Fine-tuning of k under Settings → Planner, with the sun and use margins shown read-only.
  • Chart: shade the sun the plan does not count on.
  • Core exposes the per-slot live-PV capture permission, so the UI can say when extra sun goes into the battery.
  • k per style comes from a replay of recorded plans, not from taste.

safety_k stays the stored value. A stored k between two styles shows the nearest style and the exact number.

Out of scope

Separate margins for sun and use. Once a box has history, Core sets the margin on net use, and two margins would be larger than one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions