Repository navigation
v2.0.0b1 #940
ffunes
announced in
Announcements
v2.0.0b1
#940
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
[2.0.0b1] - 2026-11-23
Warning
Read before upgrading: you may have to change things
number.omnibattery_predictive_safety_margin_kwhis nownumber.omnibattery_predictive_safety_margin_pct([FEATURE] Settings dashboard: one concept for the predictive charging, weekly and excluded-device cards #828); any value other than 0 resets to 10 %.Important
The battery will behave differently
Added
window_valid,window_import_kwhandwindow_cap_w, and one warning is logged per quarter whose budget is spent.solar_sufficientwith the kWh still needed and the net solar left, re-evaluated when the forecast changes; with Predictive Charging off, a notification warns once when the sun falls short, so an automation can charge from the grid. The new Weekly Full Charge Grid Boost blueprint does that by raising PD Target Grid Power until the run ends.Changed
omnibattery.use_measured_round_trip_efficiency. A stored 0.85 keeps using the measured value (PR#926). Thanks to @anorakophobia.number.omnibattery_predictive_safety_margin_kwhbecomes…_pct; a stored 0 stays 0 %, any other kWh value resets to 10 %.grid_import_cap_active,cap_requested_wandcap_delivered_w, and one warning is logged per episode when the meter stays above the cap for 30 s. The charge planner no longer assumes a no-discharge window leaves the load above the cap to the grid.drivers/registry.pywith its own setup module, and the shared code, config flow included, no longer branches on brand or model.Fixed
pvacSwitchon,gridOffPower2is the battery's Solar Power and enters the system solar. If your Solar Production sensor already includes that inverter, take it out or it counts twice.TZ), PVPC prices, the daily totals and the stored Weekly Full Charge and Charge Delay state turned over at the host's midnight (PR#932). Thanks to @anorakophobia.provider_coverage), drawn as a sawtooth, or put into each hour's first quarter by High-Price Sale.lasts()all-or-nothing) #834): the hours left to the grid before the peak drain the stored energy, and that drain was checked against each night slot alone, which none could hold, so the plan booked 0 kWh. Night slots charged back to back now pay it once, as a group. Thanks to @Varashi for the analysis and approach.lasts()all-or-nothing) #834): with tomorrow's prices published but no dated solar periods (a template forecast sensor, for example), the plan stopped at sunrise and never saw the morning peak. With a mature learned solar profile, tomorrow's sun is taken from it (its shape, scaled to the median of recent days) and the plan covers tomorrow like a dated forecast; without one, the plan runs to tomorrow's solar noon counting no sun for tomorrow. A dated forecast of 0 kWh for tomorrow now counts as a forecast.Internal
tests/scenarios/).pricing/plan_inputs.py.pytest -m sweep -n auto, run by the.githooks/pre-merge-commithook when a merge touches the predictive code (git config core.hooksPath .githooks). Known findings, with their reason, live intests/sweep_known.json.timeout = 300), and the pre-merge hook runs one sweep case in eleven (OMNI_SWEEP_SAMPLE=11, under a minute);pytest -m sweep -n autostill runs them all.This discussion was created from the release v2.0.0b1.
All reactions