Hi,
I’d like to know if anyone has the same hardware as me and if they have automated the “Car drains the battery first when on the cheap tariff” issue.
I know the best solution is to have the charger feed upstream of the battery input, but it’s too late for that now. So I currently have to set the car to only charge at times I know the cheap tariff will be and this misses out on the non-scheduled cheap tariff times.
I’d ideally like to automate the process so that:
(IF the car is charging (controlled by Octopus)
OR the battery SOC < 100%)
AND the tariff is cheap
THEN stop the battery from discharging.
The opposite action would be simpler:
(IF the car is not charging
AND the battery SOC =100%)
OR the tariff is not cheap
THEN allow the battery to discharge.
I anticipate that the logic will be more complicated than that but has anyone implemented similar logic with the same hardware endpoints?
While I dont have the tesla, I am using a zappi, IOG and AlphaESS battery, so my setup should work for you.
I use the Octopus integration which has a binary sensor called ‘Intelligent Dispatching’, when ‘on’ you have a ‘cheap slot’ when ‘off’ you are on the standard rate. This sensor forms part of the trigger for your automations. Essentially the IOG slot is on for as long as the car remains plugged in, so the battery will charge or maintain a SoC until the cheap slot ends (or car is unplugged/zappi ‘stopped’, which in turn stops the IOG slot).
I set a dispatch (-ve for charge rather than feed-in) when the IOG slot is on, this triggers every minute until the IOG slot is off, at which point the inverter reverts to normal - i.e. serving the load.
Happy to provide more details if you are still looking for a solution.