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

Not recognising that Inverter is calibrating AC3 #1625

Open LeeFarm11 opened 1 week ago

LeeFarm11 commented 1 week ago

Describe the bug According to documentation if the Battery is calibrating, predbat will go into predbat.status = Calibrating but it did not

Expected behaviour I scheduled a battery calibration via GivEnergy Portal for 00:05 on 14th November. I expected predbat.status to change to Calibrating while the calibration was taking place. But it did not.

Predbat version 1.2.1

Environment details Inverter - GIV-3HY-11. 3 phase Batteries - 19.94kWh Stanadard HAOS in VMWare

Screenshots image image

image

Log file Sorry, log files only seem to go back about 24 hours. Are they stored somewhere else for longer?

gcoan commented 1 week ago

This is probably a problem with GivTCP reporting that the 3 phase inverter is in calibration mode in a different way to how the other inverter types report a calibration. Predbat looks for a specific status in GivTCP (can't remember what it is) and I suspect GivTCP is reporting something differently.

r/e logfile, there should be a /addon_configs/6adb4f0d_predbat/predbat.1.log which is the previous logfile. I had previously put through a change to increase the number of log files to 9 but for some reason this isn't happening, but the prior file is available

springfall2008 commented 1 week ago

You would probably need to trigger another calibration and then read out the REST data to see what its set to, note that this information only comes via REST right right

LeeFarm11 commented 1 week ago

r/e logfile, there should be a /addon_configs/6adb4f0d_predbat/predbat.1.log which is the previous logfile. I had previously put through a change to increase the number of log files to 9 but for some reason this isn't happening, but the prior file is available

Yes the predbat.1.log is the one I found which went back further, but only to about 24 hours ago.

LeeFarm11 commented 1 week ago

You would probably need to trigger another calibration and then read out the REST data to see what its set to, note that this information only comes via REST right right

Will try to work out how to get that data before I next do a calibration.

LeeFarm11 commented 1 week ago

Hi. At 13:14 I scheduled a calibaration to start at 13:17.

Here are REST reads - 1) before scheduling calibaration. " "Battery_Calibration": "Off"," 2) after scheduling calibaration but before calibration started. " "Battery_Calibration": "Off"," 3) after calibration started. ""Battery_Calibration": "Start"," 4) later in calibaration process. While charging. " "Battery_Calibration": "Charge Only","

I don't know if I spotted all the different possibilities. Is there enough information here or how can I record REST responses over a period of time?

1.txt 2.txt 3.txt 4.txt

LeeFarm11 commented 1 week ago

And the log from Portal Remote Control -

image