From cf2767052f2d9425effb2af58dc1040debc5c296 Mon Sep 17 00:00:00 2001 From: Trefor Southwell <48591903+springfall2008@users.noreply.github.com> Date: Sat, 3 Feb 2024 09:37:34 +0000 Subject: [PATCH 1/2] Update apps.yaml --- apps/predbat/config/apps.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/predbat/config/apps.yaml b/apps/predbat/config/apps.yaml index 0c56a3e1b..96cf27a59 100644 --- a/apps/predbat/config/apps.yaml +++ b/apps/predbat/config/apps.yaml @@ -71,7 +71,7 @@ pred_bat: - 'http://homeassistant.local:6346' # If not using REST then instead set the Control here (one for each inverter) - # - you can delete this section if using REST + # You should keep this section even when using REST as a fallback if it fails and for charge curve calculations charge_rate: - number.givtcp_{geserial}_battery_charge_rate - number.givtcp2_{geserial2}_battery_charge_rate @@ -152,6 +152,7 @@ pred_bat: # # Predbat can compute this curve automatically if you have enough data, restart the add-on and look in the logfile for the data # once set here Predbat will no longer re-compute the curve. + # Can also be set to 'auto' to just use the calculation curve, not recommended if you are using low power charging mode. #battery_charge_power_curve: # 91 : 0.91 # 92 : 0.81 @@ -163,6 +164,8 @@ pred_bat: # 98 : 0.24 # 99 : 0.24 # 100 : 0.24 + #battery_discharge_power_curve: + # 4 : 1.0 # Inverter clock skew in minutes, e.g. 1 means it's 1 minute fast and -1 is 1 minute slow # Separate start and end options are applied to the start and end time windows, mostly as you want to start late (not early) and finish early (not late) From 2b1027727a4efc179072ed66b7f275296e248953 Mon Sep 17 00:00:00 2001 From: Trefor Southwell <48591903+springfall2008@users.noreply.github.com> Date: Sat, 3 Feb 2024 09:40:50 +0000 Subject: [PATCH 2/2] Update apps-yaml.md - line length fix --- docs/apps-yaml.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/apps-yaml.md b/docs/apps-yaml.md index 5a5a231ac..45e3b31e0 100644 --- a/docs/apps-yaml.md +++ b/docs/apps-yaml.md @@ -318,7 +318,8 @@ to multiply the car_charging_energy data by if required (e.g. set to 0.001 to co If you do not have a suitable car charging kWh sensor in Home Assistant then comment the car_charging_energy line out of `apps.yaml` and configure the following Home Assistant entity: -- **input_number.predbat_car_charging_threshold** - Sets the threshold above which home consumption is assumed to be car charging and will be removed from the home load data (default 6 = 6kW). +- **input_number.predbat_car_charging_threshold** - Sets the threshold above which home consumption is assumed to be car charging and +will be removed from the home load data (default 6 = 6kW). ### Planned Car Charging