springfall2008 / batpred

Home battery prediction and charging automation for Home Assistant, supporting many inverter types
https://springfall2008.github.io/batpred/
129 stars 44 forks source link

Inverter_Time Value: None & odd predicted load values (EMS Config & GE_Cloud) #1466

Open Fayrewood opened 1 month ago

Fayrewood commented 1 month ago

I have an EMS installed, using GE_Cloud to read the sensor values from the GE_Cloud integration.

The logs suggest that the inverter time cannot be read. The time of the inverter in the GE Dashboard appears correct in the Remote Control Logs. Force Setting the time of the EMS and restarting the Predbat Add On shows the same error:

Trigger callback for select select_option
2024-09-19 09:50:47.588044: Warn: Inverter 0: Using inverter type GEE - not all features are available
2024-09-19 09:50:47.589445: Warn: Inverter 1: Using inverter type GEE - not all features are available
2024-09-19 09:50:47.589577: Warn: Out of range index 1 within item inverter_time value None
2024-09-19 09:50:47.765057: Info: record_status Idle

There were gaps in the data for the first few days as the EMS was up / down for commissioning.

However, it may be related to the time error, but even with "days_previous: - 1" set, to avoid some known missing data during commissioning 4 days ago. However, the logs report missing data for yesterday, which in turn gives an inaccurate Plan.

2024-09-19 09:55:01.239109: Warn: Historical day 1 has 260 minutes of gap in the data, filled from 19.75 kWh to make new average 24.1 kWh (percent 82%)

Focussing on 2pm to 5pm, The Plan Shows:

Screenshot 2024-09-19 at 10 00 58

As an example the data for the load sensor ' - sensor.geinverter{geseriale}_consumption_total' does have data for the period 14:00 - 17:00 for yesterday, but the predicted_load_power sensor does not, as can be seen here:

Screenshot 2024-09-19 at 10 06 20

Copy of apps.yaml The value 'load_filter_threshold: 30' is set, but there is consumption data for that period - happy to arrange for remote access to HA if it helps. apps.yaml.txt

Predbat version PB v1.2.0 / 8.4.8

Environment details GE EMS 2x AC3 Inverters 1x 9.5kw battery on each inverter Commissioned 16th September, solid data from 18th September

springfall2008 commented 1 month ago

You need to set inverter time for each inverter, so if you have 2 then set it twice like the other settings.