You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(gecloud): don't include standalone PV inverters in pv_today/pv_power by default
Add ge_cloud_automatic_split_pv (default false) to opt in to summing
standalone PV-only inverters alongside battery inverters.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: apps/predbat/tests/test_ge_cloud.py
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3148,6 +3148,28 @@ async def test():
3148
3148
assertge.config_args.get("grid_power") == ["sensor.predbat_gecloud_battery001_grid_power", "sensor.predbat_gecloud_battery002_grid_power"], "split CT should win when both overrides are set"
3149
3149
assertge.config_args.get("import_today") == ["sensor.predbat_gecloud_battery001_grid_import_total", "sensor.predbat_gecloud_battery002_grid_import_total"], "import_today should use all batteries when split CT wins"
assertge.config_args.get("pv_today") == ["sensor.predbat_gecloud_battery001_solar_total", "sensor.predbat_gecloud_pv001_solar_total"], "pv_today should include standalone PV inverters when ge_cloud_automatic_split_pv is set"
3171
+
assertge.config_args.get("pv_power") == ["sensor.predbat_gecloud_battery001_solar_power", "sensor.predbat_gecloud_pv001_solar_power"], "pv_power should include standalone PV inverters when ge_cloud_automatic_split_pv is set"
3172
+
3151
3173
# Test 3d: Three-phase alternative names should be auto-selected when default names do not exist
Copy file name to clipboardExpand all lines: docs/apps-yaml.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -510,6 +510,9 @@ See also **ge_cloud_automatic_split_ct** which takes priority over this setting
510
510
Use this to override automatic shared-CT detection if Predbat incorrectly identifies your system as sharing a CT clamp (e.g. when duplicate meter serials are reported by the cloud API but the inverters actually have separate CT clamps).
511
511
This setting takes priority over **ge_cloud_automatic_shared_ct** if both are set.
512
512
513
+
- **ge_cloud_automatic_split_pv** - Optional, defaults to false. When set to `true`, Predbat will also include any standalone PV-only inverters (e.g. a GivEnergy AC-coupled PV inverter with no battery attached) in **pv_today** and **pv_power**, in addition to the battery inverters.
514
+
Use this if you have a separate PV-only inverter alongside your battery inverter(s) and want its solar generation included in Predbat's totals. Leave this off (the default) if your battery inverters already report all of your solar generation, to avoid duplicating or including unwanted readings.
515
+
513
516
### SolaX Cloud Direct
514
517
515
518
Predbat supports direct communication with the SolaX Cloud API to control SolaX inverters and batteries without requiring local integrations.
Copy file name to clipboardExpand all lines: docs/components.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,6 +218,7 @@ Connects directly to the GivEnergy Cloud to control your GivEnergy inverter and
218
218
|`load_today_ignore`| Boolean | No | false |`ge_cloud_load_today_ignore`| Set to `true` to ignore GE Cloud load_today data and use the `load_today` sensor from `apps.yaml` instead |
219
219
|`automatic_shared_ct`| Boolean | No | false |`ge_cloud_automatic_shared_ct`| Set to `true` to force shared CT clamp mode — only the first inverter's grid and load readings are used, preventing double-counting on multi-inverter systems with a single shared CT |
220
220
|`automatic_split_ct`| Boolean | No | false |`ge_cloud_automatic_split_ct`| Set to `true` to force split CT clamp mode — each inverter's readings are summed independently. Takes priority over `ge_cloud_automatic_shared_ct` if both are set |
221
+
|`automatic_split_pv`| Boolean | No | false |`ge_cloud_automatic_split_pv`| Set to `true` to also include standalone PV-only inverters' solar readings in `pv_today`/`pv_power`, in addition to battery inverters |
0 commit comments