batpred icon indicating copy to clipboard operation
batpred copied to clipboard

IOG Car charging cost not adding to current days total cost

Open jasonwragg opened this issue 3 months ago • 7 comments

Describe the bug Charging costs on IOG are not adding to the total cost for the day

Expected behaviour Total for the day should include car charging costs

Predbat version

8.23.3

Environment details

  • GivEnergy Gen3 Battery, GE 3.6 Inverter, Solar, EV, Zappi
  • Standard HOAS

Screenshots

Log file Can you capture a log file from the time of the issue, debug mode is not normally required.

You can download the logfile from the WebUI on the Dash tab select predbat_debug.log

Predbat debug yaml file Attached

predbat_debug.yaml.txt

predbat_plan.html.txt

Once you have captured the issue go to the Web UI, in the Dash tab click on predbat_debug.yaml and wait 30 seconds for it to download. Select 'keep' if your Web Browser thinks the file is dangerous.

Rename the download file to predbat_debug.yaml.txt and upload it to Github. This will allow your plan to be reproduced and also stores all your settings for review.

jasonwragg avatar Aug 07 '25 14:08 jasonwragg

Image

jasonwragg avatar Aug 07 '25 14:08 jasonwragg

apps.yaml.txt

jasonwragg avatar Aug 07 '25 14:08 jasonwragg

So this is because 'number.octopus_energy_a_cac718e1_intelligent_charge_target' is assigned to car_carhging_limit and its set to 11.7 which is the cars current state of charge, hence while octopus gave you slots the car shouldn't charge any futher.

If this limit is broken then I'd suggest just setting this to the max battery size (or comment it out).

springfall2008 avatar Aug 09 '25 15:08 springfall2008

Ok, number.octopus_energy_a_cac718e1_intelligent_charge_target is the percentage of charge to add in the octopus plugin i think is the same for anyone who uses a Zappi. Should I just comment it out then and that will then update the totals?

jasonwragg avatar Aug 09 '25 17:08 jasonwragg

I think its best to comment out, I think as Octopus doesn't know the current battery level its treated as a percentage to add.

If you set 'car_charging_soc' to 0 then it should kind of work as expected.

springfall2008 avatar Aug 16 '25 16:08 springfall2008

I could create a template sensor to show the target charge in % as i have that info, would that work?

jasonwragg avatar Aug 17 '25 15:08 jasonwragg

I could create a template sensor to show the target charge in % as i have that info, would that work?

Yes it could work, but how do you know as the charge progresses what is left?

springfall2008 avatar Aug 18 '25 07:08 springfall2008