Skip to content

Predbat with GivEnergy EV Charger in "Inverter Control Cloud" mode #2827

@AberDino

Description

@AberDino

Describe the bug
I have recently acquired a second-hand EV and I am using Predbat-led charging. For a more detailed description of my setup and what I'm trying to do, see this discussion. I currently have two issues:

  1. I'm using the "Inverter Control Cloud" option to benefit from excess solar power charging the car during the day. As described in this discussion, to prevent the AIO discharging to the car, Predbat and GivEnergy use different options: Predbat puts the AIO in "PauseDischarge" mode while charging the car, while GivEnergy apply an AIO discharge power limit of 0 (or perhaps a number greater than 0 if part-discharge is allowed). As also mentioned in the discussion, the car charge start/stop command can only be actioned through the GivEnergy cloud API. When I charge overnight, the GivEnergy portal detects that the car is charging, and sets the AIO discharge power to 0. Predbat then sees this and resets it back to 6000, and so on until the charging is finished:
Image
2025-10-26 00:05:12.286708: Inverter 0 current discharge rate is 0W and new target is 6000W
2025-10-26 00:05:12.631050: Inverter 0 set discharge rate 6000 via REST successful on retry 0
  1. After 10 minutes, Predbat decides that the car is no longer charging (even though it is) and disables the AIO "PauseDischarge" mode:
Image

I did recently enable the "Dynamic Load Adjust" option, and I wonder whether that has anything to do with it:

2025-10-26 00:10:07.532333: Dynamic load last period 1.05kW status low threshold_battery 6.0 threshold_car 6.0
2025-10-26 00:10:07.532518: Dynamic load adjust sees car 1 charging now slot 10-125.0 previous car slot True
2025-10-26 00:10:07.532610: Dynamic load adjust is cancelling car 1 slot 10-125.0 due to low load

Note that my house load does not include the EV charge power, I have a separate "car_charging_energy" sensor defined (in kWh) which is reporting correctly, and "switch.predbat_car_charging_hold" is not enabled (false).

Expected behaviour
For the first issue, I would like Predbat not to reset the discharge rate while the car is charging. Perhaps the solution could be to simply ignore the AIO discharge rate for as long as the car is charging, as Predbat controls the car charging process anyway. Predbat wouldn't be aware of any excess solar power being used to charge the car during the day, but that wouldn't matter as it's excess power anyway (I accept that excess energy wouldn't be exported as Predbat would have calculated, because it is not aware of excess energy being used to charge the car).

For the second issue, Predbat should recognise that the car is still charging and it should continue to keep the AIO in "PauseDischarge" mode until the car charging process has been completed. I will test with the "Dynamic Load Adjust" option disabled. For the avoidance of doubt, in theory I should be able to use the "Dynamic Load Adjust" option for my setup?

Predbat version
v8.26.4

Environment details
See this discussion.

Log file
predbat.log
Note that 'debug logging' was enabled for 15 minutes or so from midnight, hence it is a fairly large file!

Predbat debug yaml file
predbat_debug.txt

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions