Releases: springfall2008/batpred
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
Service API updates, EMS idle time register write fixes
What's Changed
Bug fixes
Avoid duplicate register writes to EMS:
- Fixes to avoid idle time for EMS changing too often by @springfall2008 in #1576
Avoid duplicate service calls
- Avoid duplicate service calls by @springfall2008 in #1577
Features
Service API now supports charge and discharge freeze services
- Update service API for freeze by @springfall2008 in #1579
Documentation
- Hypervolt Config Update by @matttheotter in #1572
Full Changelog: v8.5.3...v8.5.4
Fix crash with v8.5.2 and float object
What's Changed
Quick bug fix release:
- Fix typo with float object by @springfall2008 in #1571
Full Changelog: v8.5.2...v8.5.3
Nordpool calibration, cleanup execution code
What's Changed
Features
Improve Nordpool correlation by auto-calibrating against the current data
- Re-work nordpool to calibrate against real data by @springfall2008 in #1567
- Improve nordpool corrolation by @springfall2008 in #1568
Bug fixes
Some re-work of the code that controls the inverter execution, and unit testing added. Still needs more work to close coverage on all scenarios.
- Fix bug in set_discharge_freeze preventing freezes, unit testing by @springfall2008 in #1554
- Unit testing execute code, cleanup by @springfall2008 in #1555
- Fix error in latest merge by @springfall2008 in #1569
Documentation
- Documentation, template and minor code changes by @gcoan in #1563
- Update energy-rates.md by @stiplady in #1561
New Contributors
Full Changelog: v8.5.1...v8.5.2
Fix Nordpool API, Bug fixes for Predheat, Misc
What's Changed
Update Nordpool API
New API - you must change your futurerate_url as follows:
futurerate_url: 'https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=DATE&market=N2EX_DayAhead&deliveryArea=UK¤cy=GBP'
- Fixing futurerate data import for new API by @springfall2008 in #1544
- Fix crash with futurerate and midnight by @springfall2008 in #1545
- Futurerate fix by @springfall2008 in #1546
- Fix crash in futurerate before next days data is available by @springfall2008 in #1547
Predheat fixes
- Fix bug with volume temp by @springfall2008 in #1540
- Allow heating energy to be omitted by @springfall2008 in #1541
Documentation
- Renault / Hypervolt v3 integration by @matttheotter in #1539
Full Changelog: v8.5.0...v8.5.1
PredHeat Integration, bug fixes & Tidy up
What's Changed
- PredHeat is now integrated into Predbat.
- New automation API feature.
- Lots of small bug fixes
WARN Breaking change - if you use AppDaemon then ha_url/ha_key must now be set in apps.yaml, Predbat will no longer use AppDaemon to communicate with Home Assistant
New features
Integration Predheat into Predbat
The PredHeat tool for predicting energy consumption of heating systems is now integrated into Predbat. Please see the chapter of the documentation for details.
- Predheat integration by @springfall2008 in #1523
- Create example_chart_predheat.yml by @springfall2008 in #1524
- Fix for clash between predheat options and config options by @springfall2008 in #1530
Use of Ohme with tariff's other than Octopus Intelligent GO
Predbat can now take the schedule from Ohme as if it is using Octopus Intelligent GO but if octopus_slot_low_rate is set to false in apps.yaml it will not modify the energy rates (Intelligent GO always charges at low rate).
- Allow use of octopus slot for other tariffs by @springfall2008 in #1512
Support for power based sensors
If an energy sensor is set to a power sensor (units in Watts) then it will be integrated to create Energy (in kWh). This is not always a very accurate method but is better than reading Watts as energy.
- Integrate W to Wh by @springfall2008 in #1510
Added new experimental automation API for Predbat
See the Manual API chapter for the documentation for details.
WARN This is an expert mode feature and incorrect use may cause Predbat to crash or do strange things.
- Add support for override API via selector by @springfall2008 in #1515
- Update API docs and list by @springfall2008 in #1516
Bug fixes
- Fix bug in db primary mode by @springfall2008 in #1509
- Possible fix for MQTT auto being sent when inverter is not idle by @springfall2008 in #1514
- Fix potential divide by 0 at midnight with iboost by @springfall2008 in #1526
- Fixes to adjust multi target for freeze/100%/0% by @springfall2008 in #1527
- Workaround for writing to HH:MM (Solis) not being reliable by @springfall2008 in #1529
- Remove incorrect warning on service template by @springfall2008 in #1528
- Fix bug with monitor mode reporting discharge by @springfall2008 in #1531
- Fix crash with 'new_soc_percent' by @springfall2008 in #1533
Tidy ups
- Align future rate error messages by @springfall2008 in #1513
WARN Breaking change - if you use AppDaemon then ha_url/ha_key must now be set in apps.yaml, Predbat will no longer use AppDaemon to communicate with Home Assistant
- Some tidy up - require ha_url in AppDaemon mode by @springfall2008 in #1525
Documentation
- Toyota vehicle SoC guidance in devices.md by @thomasattree in #1518
- podpoint integration added to devices.md by @thomasattree in #1517
- Update ohme docs to mention switch.predbat_octopus_intelligent_ignore_unplugged by @springfall2008 in #1532
New Contributors
- @thomasattree made their first contribution in #1518
Full Changelog: v8.4.11...v8.5.0
Restore set_freeze_discharge enable option, misc
What's Changed
Features
- Bring back freeze discharge enable by @springfall2008 in #1504
Fixes
- Try to fix issue with Solis not resetting charge window after a charge
Documentation updates
- Detect & auto-restart 'stalled predbat'. Set geserial manually for multi-AIO's & 3-phase inverters by @gcoan in #1503
Full Changelog: v8.4.10...v8.4.11
v8.4.10
What's Changed
Inverter support
Change the way that the SOC target is set when charging across multiple inverters such that each inverters charge rate and SOC is accounted for:
- Adjust inverter target % based on charge rates and current soc by @springfall2008 in #1492
Call the service API if configured in apps.yaml rather than gating it on an inverter setting:
- Remove need for has_service_api by @springfall2008 in #1493
Car cost tracking
- Track car total cost by @springfall2008 in #1494
Bug fixes
- Fix hang during update when using DB by @springfall2008 in #1491
- Use predbat prefix for web i/f by @springfall2008 in #1495
- Don't allow iboost solar when discharge is in place by @springfall2008 in #1496
- Fix typo in log message causing crash by @springfall2008 in #1498
Documentation
- Update what-does-predbat-do.md by @springfall2008 in #1477
Full Changelog: v8.4.9...v8.4.10