Skip to content

Releases: springfall2008/batpred

Renamed Discharge and Idle to Export and Demand

21 Nov 08:10
2d5c3ee
Compare
Choose a tag to compare

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.

Bug fixes

Full Changelog: v8.6.1...v8.7.0

Minor fixes to inverter control + doc updates

16 Nov 15:23
ed4d027
Compare
Choose a tag to compare

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)

#1627

Documentation updates

Added freeze charge/discharge service to apps.yaml section
Updated the example energy rate chart to include 24 hours back

Full Changelog: v8.6.0...v8.6.1

Initial GivTCP v3.0 REST support, bug fixes

12 Nov 08:09
292ec4d
Compare
Choose a tag to compare

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

Predheat

Full Changelog: v8.5.11...v8.6.0

Predheat configurable curves, bug fixes

10 Nov 18:03
ca2f33c
Compare
Choose a tag to compare

What's Changed

New features

See the new Predheat template https://github.com/springfall2008/batpred/blob/main/templates/predheat.yaml for details on the new configuration options

Bug fixes

Full Changelog: v8.5.10...v8.5.11

Fix p/kWh figures, fix Predheat cost calculation, new glitch filter

10 Nov 10:31
f4d06e9
Compare
Choose a tag to compare

What's Changed

### Fixes

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.

Preadheat cost calculation was totally wrong due to a typo, fix this.

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

04 Nov 08:10
b6b49f7
Compare
Choose a tag to compare

What's Changed

Bug fixes

Full Changelog: v8.5.8...v8.5.9

Fix bugs in p/kWh and cost today, updated Energy rate chart template

03 Nov 19:03
c64bbf3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.5.7...v8.5.8

image

New hourly cost per kWh

03 Nov 13:40
652c6fe
Compare
Choose a tag to compare

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

03 Nov 10:25
f8acc45
Compare
Choose a tag to compare

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)

Full Changelog: v8.5.5...v8.5.6

Tracking of p/kWh

02 Nov 17:10
9ac2b02
Compare
Choose a tag to compare

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.

Full Changelog: v8.5.4...v8.5.5