Releases: springfall2008/batpred
Renamed Discharge and Idle to Export and Demand
What's Changed
Renamed Idle to Demand and Discharging to Exporting
*** This is a breaking change, but the impact is small ****
Renamed Idle to Demand and Discharging to Exporting. This is to help avoid future confusion as to the meaning of these terms.
As a result a number of entities have changed names, meaning the battery Apex chart needs a small update.
Changes include:
- best_discharge_limit_kw -> best_export_limit_kw
- best_discharge_limit -> best_export_limit
- best_discharge_start -> best_export_start
- best_discharge_end -> best_export_end
- discharge_limit_kw -> export_limit_kw
- discharge_limit -> export_limit
- discharge_start -> export_start
- discharge_end -> export_end
- binary_sensor.predbat_discharging -> binary_sensor.predbat_exporting
If you have automations that depend on Predbat status or on the discharging binary sensor then this has also been renaming to exporting.
A number of configuration options inside Home Assistant have also changed name:
- metric_min_improvement_discharge -> metric_min_improvement_export
- calculate_discharge_oncharge -> calculate_discharge_export
- combine_discharge_slots -> combine_export_slots
- set_discharge_freeze_only -> set_export_freeze_only
- set_discharge_freeze -> set_export_freeze
The old configuration values should be ported across automatically on first run.
The HTML plan has changed to show Dis (short for Discharge) now as Exp (short for Export). This will likely break the custom plan card that some people are using.
- Rename Discharge to Export and Idle to Demand by @springfall2008 in #1633
Bug fixes
- Predheat - fix typo with flow_difference_target by @springfall2008 in #1641
- Typo by @springfall2008 in #1634
- Fix crash in old name code by @springfall2008 in #1636
- Unit testing work by @springfall2008 in #1631
Full Changelog: v8.6.1...v8.7.0
Minor fixes to inverter control + doc updates
What's Changed
Bug fixes to inverter control
- Immediate charge control had the wrong SOC target during charge/discharge freeze (probably unused right now)
- Hold charge as enabled when at 100% - #1623
- In calibration mode ensure all inverters are reset to the default (not just the first one)
Documentation updates
Added freeze charge/discharge service to apps.yaml section
Updated the example energy rate chart to include 24 hours back
- Update apps-yaml.md by @springfall2008 in #1628
- Update example_chart.yml & apps-yaml.md by @springfall2008 in #1629
Full Changelog: v8.6.0...v8.6.1
Initial GivTCP v3.0 REST support, bug fixes
What's Changed
Features
Determine automatically if GivTCP V3 is installed and use new REST API for Pause mode
- GivTCP v3 support - #1617
- Ignore pause start/end time REST if the registers are commented out of apps.yaml by @springfall2008 in #1619
Bug fixes
- fix bug where charge and discharge can try to happen at once by @springfall2008 in #1617
Predheat
- Update predheat.yaml typo by @dandwhelan in #1616
Full Changelog: v8.5.11...v8.6.0
Predheat configurable curves, bug fixes
What's Changed
New features
- Predheat, make curves configurable by @springfall2008 in #1611
See the new Predheat template https://github.com/springfall2008/batpred/blob/main/templates/predheat.yaml for details on the new configuration options
Bug fixes
- Fix issue with discharge stop/charge stop coming after discharge start by @springfall2008 in #1612 @springfall2008 in #1614
- Fix crash with empty soc_Kwh data by @springfall2008 in #1615
Full Changelog: v8.5.10...v8.5.11
Fix p/kWh figures, fix Predheat cost calculation, new glitch filter
What's Changed
### Fixes
- Fixing p/kWh calculations by @springfall2008 in #1605
The p/kWh calculation didn't work very well as it was based on energy imported-exported which can be close zero creating spikes. Changed the calculation to use load energy and account for the change in current battery level in the estimated cost.
- Predheat cost calculation was broken by @springfall2008 in #1610
Preadheat cost calculation was totally wrong due to a typo, fix this.
- Glitch filter for incrementing data by @springfall2008 in #1606
Remove single datapoint glitches on incrementing data e.g. load_kwh, if a value goes up and then returns back down again the spike is removed.
- Fix Changed to Error: Exception raised local variable 'day_load_pkwh' referenced by @springfall2008 in #1608
YAML Template updates
- Change of Octopus Intelligent GO ready time sensor name to match latest integration by @springfall2008 in #1609
- Add template for LuxPower inverters by @raldred in #1594
New Contributors
Full Changelog: v8.5.9...v8.5.10
Fix bug in value per kwh attributes
What's Changed
Bug fixes
- Fix bug in value per kwh attributes by @springfall2008 in #1591
- Fix currency symbols where hard-coded by @springfall2008 in #1592
Full Changelog: v8.5.8...v8.5.9
Fix bugs in p/kWh and cost today, updated Energy rate chart template
What's Changed
- Bugs in p/kWh and cost today code by @springfall2008 in #1589
Full Changelog: v8.5.7...v8.5.8
New hourly cost per kWh
What's Changed
Added hourly p/kWh cost entity and added this to the rate chart: @springfall2008 in #1587
Exposed predicted battery value in predbat.soc_kw_best sensor.
Full Changelog: v8.5.6...v8.5.7
Removing standard charge from p/kWh tracking
What's Changed
Minor fix to p/kWh tracking to exclude standing charge which causes a big skew
Tidy up some debug output (remove prints)
- Tidy debug output, don't include standing charge in p/kWh figures by @springfall2008 in #1585
Full Changelog: v8.5.5...v8.5.6
Tracking of p/kWh
What's Changed
Predbat now tracks average p/kWh each day, will show in attributes in cost_today/cost_yesterday/cost_today_car/cost_yesterday_car/cost_today_import/cost_today_export and also on the Web Interface 'Rates' chart.
- Add p/kWh to cost today, remove debug output in futurerate by @springfall2008 in #1580
- Divide by zero fix by @springfall2008 in #1581
- Rename p/kWh at add average by @springfall2008 in #1582
- Put back timing of yesterday data by @springfall2008 in #1583
Full Changelog: v8.5.4...v8.5.5