Help with Home Assistant Automation - Local HACs integration

Hi all,

I’m trying to help my dad get his system set up via home automation but am struggling to understand the Giv Energy sensors & my dad is a basic user.

I’ve got Solar & battery at home but a Foxx Ess (sorry for swearing on a giv energy forum) and have set up my automation but am struggling how to do it here so wondering if you can help.

Like most I would like to turn the battery into force charge mode while the octopus intelligent schedule is set. I plan to use the octopus dispatcher sensor but I am struggling what inverter settings I need to set and hoping you can help me. I’m not sure if i need to turn eco off and then do something else. I hope you can lay it out for me please!

I use this to automate all my GivEnergy stuff ( You just let it run and does it all )
Predbat Documentation

It seems to have Fox integration ( Inverter setup - Predbat Documentation )

it’s very well documented on how to integrate into Home Assistant

1 Like

As @armstrn2 mentions, Predbat will do all this for you (and more), automating battery charging against Octopus rates (including any extra IOG slots), taking account of predicted house load and solar generation to minimise cost.

If you are using GivTCP and want to write your own automations (using bottlecapdave Octopus integration) then its possible.
I have scripts for force charging, stop charging, etc, that start off setting the battery into a known state, then start the charging.

Here’s my charging one:

alias: G395 Inv 2 Force Charge
description: Force a full rate battery charge
sequence:
  - data:
      option: Normal
    target:
      entity_id: select.h_xxx_temp_pause_charge
    action: select.select_option
  - data:
      value: "100"
    target:
      entity_id: number.h_xxx_target_soc
    action: number.set_value
  - data:
      option: "00:00:00"
    target:
      entity_id: select.h_xxx_charge_start_time_slot_1
    action: select.select_option
  - data:
      option: "23:59:00"
    target:
      entity_id: select.h_xxx_charge_end_time_slot_1
    action: select.select_option
  - data:
      option: Eco
    target:
      entity_id: select.h_xxx_mode
    enabled: true
    action: select.select_option
  - delay:
      seconds: 20
  - data:
      value: "2600"
    target:
      entity_id: number.h_xxx_battery_charge_rate
    action: number.set_value
  - data:
      option: Running
    target:
      entity_id: select.h_xxx_force_charge
    action: select.select_option
  - data: {}
    target:
      entity_id: switch.h_xxx_enable_discharge
    action: switch.turn_off
mode: single
icon: mdi:battery-charging-30

In essence the key bits are:

  • set start and end times
  • turn charging on
1 Like