Intelligent Octopus: a boost started outside a dispatch is priced as an unlisted smart charge (6.5p) for the rest of its half hour
On Intelligent Octopus Go, a bump charge (boost) started outside a dispatch can make Predbat price the rest of that half hour at the dispatch rate (6.5p instead of the 36.44p day rate). Octopus bills boosts at the day rate, so Predbat may then plan a grid charge of the house battery at what it thinks is the cheap rate.
Reading octopus.py, this looks like octopus_charging_unlisted(). It treats a charging car as an unlisted smart charge when the Octopus component's current_state is SMART_CONTROL_IN_PROGRESS. The docstring says a boost is BOOSTING and excluded, but the component's current_state lags the real start of the boost. In that gap the car is already charging while the state still reads SMART_CONTROL_IN_PROGRESS, so octopus_held_update() holds the half hour. Because the car was charging, octopus_held_withdrawn() never releases it.
Timeline, 12 Nov 2026 (UK time = UTC)
| Time | Event |
|---|---|
| 21:45:41 | Bump charge requested (Octopus Energy integration intelligent_bump_charge switch) |
| 21:45:57 | Charger starts charging (Hypervolt, ~7.1 kW); car_charging_now on |
| 21:46:22 | predbat.rates 36.44 → 6.5 |
| 21:46:28 | Predbat Octopus component dispatch sensor: current_state SMART_CONTROL_IN_PROGRESS → BOOSTING, planned dispatch source: BOOST |
| 22:00:06 | predbat.rates back to 36.44 |
The Octopus Energy integration's dispatching sensor listed no SMART dispatch in that window; it only gained the BOOST entry later. So the cheap half hour came from the unlisted-charge path, not from a listed dispatch (my reading of the code, not yet confirmed from the log).
The same thing happened on 10 Nov, with 6.5p appearing seconds after boosts started and stopped, and Predbat force-charged the battery from the grid. I currently work around it with an HA automation that keeps Manual Demand selected around each boost.
Expected behaviour
A boost should never make its half hour off-peak. Possible fixes:
- don't treat a charge as unlisted while a BOOST / bump-charge dispatch is planned or the bump-charge switch is on;
- re-read
current_statebefore holding the half hour; - let a later
BOOSTINGstate release a half hour held asCHARGING_UNLISTED.
Predbat version
v9.7.9
Environment details
- Fox KH10 inverter, 18.6 kWh battery, HAOS
- Intelligent Octopus Go; Hypervolt Home 3 Pro (Octopus-controlled)
- Predbat Octopus component (API key) plus BottleCapDave Octopus Energy integration
octopus_intelligent_charging,_dynamic,_trust_slotsand_ignore_unpluggedon
Log file
Can provide predbat.log for 21:45–22:00 on 12 Nov if useful.
@craiguk52 please include FULL log file and debug.yaml as per the template not just the AI guess as to what is going on or we can't practically investigate this
Automated first-pass triage — a maintainer will review before any action is taken.
Classified as a bug report (bug applied, priority not yet set), but it has no predbat.log or predbat_debug.yaml attached and the write-up is a code reading rather than log evidence, so detailed triage — duplicate search, root cause and priority — is on hold until the files below are attached. As @gcoan says, the full files are what's needed, not an excerpt.
Please attach:
- For the 12 Nov 21:45–22:00 incident (and the 10 Nov one if it is still inside the retention window — with default settings only around the last 48 hours are kept, so please grab these soon): the debug snapshot for that time, from the Debug column on the plan's History view (Predbat web interface → Plan → History), next to the affected half hour. Details: debug history.
predbat.logcovering 21:45–22:00 on 12 Nov — yes please, as you offered, the fuller the better.- If the problem happens again — e.g. the next time you let a boost run without your Manual-Demand workaround:
predbat_debug.yamlandpredbat.logcaptured while it is happening, both from the Debug panel on Predbat's web interface. The debug file downloads aspredbat_debug.yaml.txtand can be attached as-is. - If convenient, which would help this particular report: your
apps.yamlrenamed toapps.txt, and a screenshot of HA history for the Octopus Energy integration's dispatching sensor and Predbat's Octopus component dispatch sensor over 21:30–22:15 on 12 Nov.
Once those are here the full triage continues.
Please - always logs and debug file unless you are sure they are not needed. "I can provide if needed.." always makes more work for us and the bots.
Ok no problem. My bill confirms the 12 Nov half hour was charged at 36.44p peak; a repeat test tonight didn’t reproduce it; I’ll attach predbat.log and predbat_debug.yaml when it next happens. I will close this for now and re-open a new issue if/when it re-occurs. Thanks.