Skip to content

Partial intelligent slots not counting as off-peak rate #3328

@raldred

Description

@raldred

Describe the bug
Our intelligent octopus has given our car 45 min charge between 19:30 and 20:15
However, batpred only shows the off-peak rate against the 19:30 slot.

If octopus gives you a charge slot outside of the regular off-peak 23:30 - 05:30, then the entire slot becomes off-peak, even if the charge slot is only for 1 minute.

So for this IOG slot:

  - start: "2026-02-07T19:30:00+00:00"
    end: "2026-02-07T20:15:00+00:00"
    power: 7.68
    energy: 5.76

Expected behaviour
A slot should show as off-peak if IOG gives a charge slot even if the charge doesn't span the entire 30min slot.
So in this example both the 19:30 and 20:00 slot should show as off-peak.

Predbat version

v8.32.14

Environment details

  • FoxESS using Predbat Fox component
  • Standard HAOS installer

Screenshots

Image
slots:
  - start: "2026-02-07T13:37:11+00:00"
    end: "2026-02-07T13:38:27+00:00"
    power: 7.58
    energy: 0.16
  - start: "2026-02-07T19:30:00+00:00"
    end: "2026-02-07T20:15:00+00:00"
    power: 7.68
    energy: 5.76
  - start: "2026-02-08T00:30:00+00:00"
    end: "2026-02-08T01:00:00+00:00"
    power: 7.68
    energy: 3.84
  - start: "2026-02-08T02:00:00+00:00"
    end: "2026-02-08T04:30:00+00:00"
    power: 7.68
    energy: 19.2
  - start: "2026-02-08T05:00:00+00:00"
    end: "2026-02-08T05:19:42+00:00"
    power: 7.68
    energy: 2.52

You can download the logfile from the WebUI on the Dash tab select predbat_debug.log

Predbat debug yaml file

predbat_debug.yaml

predbat.log

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions