Releases: springfall2008/batpred
Reduce writes in low power mode, solar charging fix
What's Changed
Improvements
Try to reduce register writes in low power mode but sticking with current charge rate if a change is not required
Minor fix related to modelling of solar charging
- Fix related to solar charging, change to try to reduce register writes in low power mode charge by @springfall2008 in #1882
Documentation
- Update faq.md to talk about losses by @springfall2008 in #1879
- Add repeat to service templates by @springfall2008 in #1880
Full Changelog: v8.11.1...v8.11.2
Optimiser fixes, tweak levelling order and fix for charging with solar
What's Changed
Changes made to the optimiser to catch some corner cases:
- Optimise levels from the end of the plan first
- When charging with solar that won't provide the full rate charge account of the additional export of that solar.
- Fix for issue related to metric self sufficiency by @springfall2008 in #1877
- Fixes related to charging with active solar by @springfall2008 in #1878
Full Changelog: v8.11.0...v8.11.1
Max charge rate temperature curve
What's Changed
Features
- Max charge rate temperature curve adjustments by @springfall2008 in #1869
This feature allows you to model temperature dependant charging and discharging of the battery. You can set a charge and a discharge maximum rate scaling based on temperature and then using a temperature sensor predict future battery temperatures. Low power mode will also account for this in its calculation.
To try this feature with GivTCP (Givenergy) can you update your apps.yaml to both give battery temperature and also define charge curve. I don't know what the correct charge or discharge curves are for particular makes and models but this charge curve came from some comments made by GivEnergy.
battery_temperature:
- sensor.givtcp_battery_stack_1_bms_temperature
- sensor.givtcp2_battery_stack_1_bms_temperature
# Battery temperature charge adjustment curve
# Specific in C which is a multiple of the battery capacity
# e.g. 0.33 C is 33% of the battery capacity
# values unspecified will be assumed to be 1.0 hence rate is capped by max charge rate
battery_temperature_history: sensor.givtcp_battery_stack_1_bms_temperature
battery_temperature_charge_curve:
19: 0.33
18: 0.33
17: 0.33
16: 0.33
15: 0.33
14: 0.33
13: 0.33
12: 0.33
11: 0.33
10: 0.25
9: 0.25
8: 0.25
7: 0.25
6: 0.25
5: 0.25
4: 0.25
3: 0.25
2: 0.25
1: 0.15
0: 0.00
Bug fixes
- Fix issue with key filtering in debug files by @springfall2008 in #1871
Full Changelog: v8.10.2...v8.11.0
Bug fixes, repeat service name, Service API for car hold
What's Changed
- Service repeat was called always, mistake to documentation by @springfall2008 in #1867
The documented name repeat did not match the code.
- Fix bug where service API was not used for car/iboost hold by @springfall2008 in #1868
The service API was not called when holding for car or iboost, this is now fixed.
Full Changelog: v8.10.1...v8.10.2
Fix optimiser bug, added service repeat option
What's Changed
Bug fixes
- Fix bug where sometimes plan jumped to high charging by @springfall2008 in #1861
Sometimes the plan goes a bit crazy charging when you have 'calculate_second_pass' enabled - now fixed.
- Inverter test cases updated, minor fix for discharge start/end time, doc update by @springfall2008 in #1851
Minor fixes to start/end time discovered from existing inverter settings, will only impact 'base' plan.
- Adding service repeat option by @springfall2008 in #1855
You can now set 'repeat:True' on a service call if you want that service to be repeated every run e.g. charge_start_service. Useful if your inverter stops after a while.
Full Changelog: v8.10.0...v8.10.1
Optimiser improvements, bug fixes
What's Changed
Features
Optimiser changes by @springfall2008 in #1838
- Restored the selection of charge SOC % on 30 minute charge slots
- Added new more aggressive logic to combine charge slots after optimisation, thus enabling low power mode without 'combine_charge' enabled.
- Adjusted weighting around freeze/charge/no-charge slightly
Octopus ready time sensor change by @springfall2008 in #1839
Supported the new select. octopus ready sensor
Bug fixes
Don't enable low power in monitor mode by @springfall2008 in #1841
Previous in monitor mode Predbat was predicting low power charging, which wasn't possible.
Bug in prediction not resetting charge rate by @springfall2008 in #1845
There was a bug where if the charge rate was set to 0 the plan produced was totally messed up.
Unit testing
Extra unit tests by @springfall2008 in #1842
Test updates by @springfall2008 in #1847
Full Changelog: v8.9.3...v8.10.0
Fix charge freeze service being called for charges
What's Changed
- Fix charge freeze service call when it shouldn't be by @springfall2008 in #1834
Full Changelog: v8.9.2...v8.9.3
Fix crash with cost_car_per_kwh
What's Changed
- Fix crash with cost_car_per_kwh by @springfall2008 in #1833
Full Changelog: v8.9.1...v8.9.2
Bug fix min/max selection in optimiser
What's Changed
- Bug fix min/max selection in optimiser by @springfall2008 in #1831
In some cases the maximum SOC was not at the end of a charge slot, changed the search to include all periods in-between.
Full Changelog: v8.9.0...v8.9.1
Show XLoad per load source, Predheat hysteresis off, service API
What's Changed
Improvements
- Re-work execute code to account for calling service last by @springfall2008 in #1826
The service API is called after all register changes to help with some inverters that use them.
- Adding Predheat hysteresis_off by @springfall2008 in #1827
Added a hysteresis off setting for Predheat.
- Split out load data in plan debug, add predheat off hysteresis by @springfall2008 in #1830
In plan_debug mode you can now see each load source.
Bug fixes
- Clip off slots regardless of min_soc setting by @springfall2008 in #1828
Setting min_soc left around useless charge slots, now they are clipped.
- Gate changes to settings in monitor mode by @springfall2008 in #1829
Monitor mode would reset reserve/charge/discharge rates - this is now fixed.
Full Changelog: v8.8.20...v8.9.0