Replies: 2 comments 3 replies
-
I think it unlikely GivTCP is doing that as GivTCP just mirrors what the inverter settings are in HA controls and vice versa. It is quite probable though that its Predbat changing your battery discharge rate, and finding its not what it expects it to be, is changing it back. Unfortunately no-one has contributed their configuration of the givenergy EV charger to the predbat documentation, so new discoveries ahead ... Have you set switch.predbat_car_charging_from_battery to False? https://springfall2008.github.io/batpred/car-charging/#additional-car-charging-configurations The documentation says it should set the discharge rate to zero, and I'd expect that to happen as well as setting Pause Discharge. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.








Uh oh!
There was an error while loading. Please reload this page.
-
I have a GivEnergy setup with an AIO, gateway and EV charger, all connected with network cables (no Wi-Fi). I've recently acquired an EV, so over the past few days I've been updating my Predbat configuration to 'integrate' the charger. I have a 'basic' ToU electricity contract with cheap electricity between 12am and 6am, so my supplier does not control the charging slots.
My aim was to use Predbat to plan and control the charging slots, but ideally I also wanted it to be aware of "non-Predbat" charging events, for example a forced manual charge from the GivEnergy app. I was going to use the "car_charging_now" sensor for that, but I understand that's not recommended in combination with Predbat-led charging, so I've left that option out.
The GivEnergy EV charger is on firmware 1.13 and I can successfully communicate with it locally using GivTCP. After writing and testing the HA charging automation, I found out that GivTCP can read from the charger, but it cannot 'write' a start/stop command. I confirmed this by changing the 'charge control' drop-down on the GivTCP charger device page, and it had no effect. The command is logged, but not actioned by the charger. I found a post which confirmed local write control is unlikely to ever be implemented due to "SmartCharge regulations". Bit odd that I can't locally control equipment which I own, and to be reliant on a third-party for that, as the charger would be of no use if GivEnergy would stop trading for any reason.
As a workaround, I implemented the GivEnergy cloud API connection for Home Assistant to communicate with the charger, and this all works a treat. I now have Predbat planning and actioning the charging of my EV!
My question is around the method for preventing the AIO discharging to the car. Both Predbat and GivEnergy have an option for this, and I have both options enabled, but the implementation is different and this appears to cause a conflict. Predbat puts the AIO in "PauseDischarge" mode while charging the car, while GivEnergy apply an AIO discharge power limit of 0. As you can see from the attached screenshots, the two actions are implemented (as expected) when the car charging commences. However, GivTCP then detects the AIO 0W discharge rate and resets it to 6000W, which causes a loop, as GivEnergy's EV charger inverter control then sets it back to 0W, and so on. As a workaround, I'm going to disable the GivEnergy option "Prevent Battery Discharging to EV" and see what happens when I charge the car tonight. I suspect this will prevent the loop from occurring, but I'd rather stick with the "belt and braces" approach.
Any thoughts?



Beta Was this translation helpful? Give feedback.
All reactions