Repository navigation
Highlights
- Setup suggestions from your history: BattMind reads the recorder and suggests the battery power sign and whether the house consumption includes charging and discharging
- Cable Juice Planner chargers are left out of the house consumption automatically, so your EV doesn't end up in the consumption forecast
- What-if simulator on the dashboard: a What-if tab with entities, progress bar and results, no custom card
- More accurate analysis: energy per hour is measured more carefully, so a sensor that blinks no longer counts as hours of charging
⚠️ Before you update
- Days to plan now defaults to 7 (was 3). This applies to new setups; check Days to plan under Advanced if you want to keep a shorter plan, as more days cost more CPU and rely on price forecasts.
- Testing mode is removed, and the 🧪 marker in the current rule is gone with it.
- Timer Bar Card: the dashboard now also needs the HACS card
timer-bar-card(for the what-if progress bar). If a card is missing, a notification lists it with a link. - Ignore Cable Juice Planner chargers is on by default. If your house consumption sensor does not include the chargers (e.g. a separate meter), turn it off, otherwise consumption that was never there is subtracted from the forecast.
- Analysis history: older days are checked against Home Assistant's long-term statistics. If the charged or discharged energy of a day differs by more than 0.25 kWh, its energy sums are replaced and the score of that day is removed, because it cannot be calculated again. The charging history of the last 48 hours is also measured again once. Older charging history is not changed.
- Edited dashboards: a dashboard you have edited in the UI is not changed. Press Reset dashboard to get the new content.
✨ New
- Check the battery and consumption settings: the last page of Configure → Home battery and House consumption suggests Invert power flow and whether the consumption includes charging and discharging, with the numbers it used. Tick Detect again to look again. What the history can't decide is left unchanged.
- Ignore Cable Juice Planner chargers (Consumption page, on by default): BattMind subtracts the charger power of your Cable Juice Planner cars from the house consumption, also for cars added later. A charger that is also in Ignored consumers is only subtracted once. A charger that has not reported for over 30 minutes while it still shows a number other than 0 is treated as stuck and not subtracted; a warning is logged.
- What-if tab on the dashboard: set history days, battery size, a range of sizes, battery modules and the scenario's rules and settings with entities; start with the Run simulation switch (turn it off to cancel) and follow the progress. Reset to current clears the scenario values. The status is in
sensor.<prefix>_what_if_statusand the progress insensor.<prefix>_what_if_progress. - Missing dashboard cards: a notification lists the HACS cards the dashboard needs that Home Assistant can't find, with links.
- Repairs for Strømligning and Solcast sensors: a repair names sensors that are disabled, renamed or missing hourly detail, e.g. Solcast's forecast sensors for day 3 and on, which Solcast disables by default.
🔧 Improvements
- Analysis uses the time each sensor state was held, so the hourly energy is time weighted. The economy table's Spread is now called Margin/kWh, and the breakdown handles the energy the battery started with.
- House consumption used for the solar surplus is never below 0 W, even if ignored consumers report more.
- What-if simulator: solar used by ignored consumers (e.g. an EV) counts as surplus, and the status messages are clearer.
- Texts and translations (Danish, German, English, Polish, Ukrainian) were improved.
🐛 Fixes
- A battery power sensor that blinks between 0 and a few kW is no longer counted as hours of charging.
- A Cable Juice Planner charger without statistics no longer stops the whole energy backfill.
What's Changed
- Enhance Ukrainian localization and improve dashboard analysis documentation by @dezito in #115
- Implement next version suggestion script and enhance release workflow by @dezito in #116
- Add start energy cost handling in breakdown by @dezito in #117
- Add comprehensive tests for what-if view calculations by @dezito in #118
- Update testing instructions for parallel execution and environment setup by @dezito in #119
- Refactor what-if simulation handling and improve documentation by @dezito in #120
- Refactor documentation and improve formatting by @dezito in #121
- Update translations and improve text formatting in BattMind by @dezito in #122
- Update prediction days to 7 and enhance documentation by @dezito in #123
- Enhance dashboard functionality and notifications by @dezito in #124
- Remove testing mode from configuration and backup restoration by @dezito in #125
- Add support for ignoring Cable Juice Planner chargers in consumption calculations by @dezito in #126
- Add support for Solcast and Strømligning sensor repairs by @dezito in #127
- Enhance battery and consumption detection features by @dezito in #128
- Enhance handling of ignored consumers and charger states by @dezito in #129
- Enhance dashboard analysis and testing for energy statistics by @dezito in #130
- Enhance state retrieval with compressed state format by @dezito in #131
Full Changelog: v1.0.9...v1.1.0