
Since I got the email from Octopus about not taking advantage of the smart charging, I've looked at how to do this properly.
In the past, I've just disabled the smart charging and used Zappi boosts between 23:30 and 05:30.
This has always worked perfectly.
In order to try and use the smart charging, I was always worried about getting a slot outwith the above hours, as it would drain my GivEnergy batteries.
My approach to this, is using HomeAssistant to detect when the Intelligent Dispatching sensor changes.
Thoughts being as follows:
-Only check the Intelligent Dispatching sensor outwith 23:30-05:30 as I have the Gen2 configured to charge at these times
-Rather than pause the battery, take advantage of the cheap rate, so charge the inverter too.
So I have created 3 automations.
IO SLOT START - What this does is check for the Intelligent Dispatching sensor, only outwith 23:30-05:30, and if its On, Force Charge the inverter
There doesn't appear a way to tell the inverter using GivTcp to just Force Charge permanently, so I choose the maximum option 180 - 3 hours
**alias: IO SLOT START
description: ""
trigger:
- platform: state
entity_id:- binary_sensor.octopus_energy_a_xxxxxxxx_intelligent_dispatching
to: "on"
condition:
- binary_sensor.octopus_energy_a_xxxxxxxx_intelligent_dispatching
- condition: not
conditions:- condition: time
after: "23:28:00"
before: "05:30:00"
action:
- condition: time
- action: select.select_option
metadata: {}
data:
option: "180"
target:
entity_id: select.givtcp_edxxxxxxxx_force_charge
mode: single**
IO SLOT STOP - This checks for Intelligent Dispatching for Off. This will trigger at any time
**alias: IO SLOT STOP
description: ""
trigger:
- platform: state
entity_id:- binary_sensor.octopus_energy_a_xxxxxxxx_intelligent_dispatching
to: "off"
condition: []
action:
- binary_sensor.octopus_energy_a_xxxxxxxx_intelligent_dispatching
- action: select.select_option
metadata: {}
data:
option: Cancel
target:
entity_id: select.givtcp_edxxxxxxxx_force_charge
mode: single**
I did this third automation to run at 23:28, because what I found is the following:
If you do not send a Cancel command to the force charge, so it runs its course, if the slot starts at say 10PM, its end time would be 1AM.
What I found was at 1AM, the inverter would stop charging, even though its internal charge range is 23:30-05:30.
If you Cancel the force charge before the scheduled charge, it seems to be fine.
IO STOP - Pre 23:30
**alias: IO STOP - Pre 23:30
description: ""
trigger:
- platform: time
at: "23:28:00"
condition: []
action: - action: select.select_option
metadata: {}
data:
option: Cancel
target:
entity_id: select.givtcp_edxxxxxxxx_force_charge
mode: single**
All of the above seems a bit of a janky workaround, so was wondering if we could have a conversation on how others have achieved this.
Thanks for reading....







