Sig Energy System Integration

Sigenergy integration with third party EV charger

Here I’m sharing the automation I use to prevent the Sigenergy battery from discharging while my EV is charging with a Charge Amps Dawn. This ensures that the car always charges from the grid, while the Sigenergy AI remains unaffected and Tibber Grid Reward continues to function as intended.

ChargeAmp’s My Charge Space integration is used for the EV charger.

I don’t garantee the funcionality, I will update the script if bugs are detected.

Explanations in Swedish. Script last updated 2026-02-14

alias: "Billaddning: Skydda Sigenergy"
description: "Låser Backup SOC vid laddning. Släpper vid stopp ELLER paus (Suspended)."
mode: restart

triggers:
  # START: När laddning startar
  - entity_id: sensor.[your_unike_itenty]_1
    to: Charging
    id: laddar
    trigger: state

  # STOPP: När laddning avbryts (Kabel ur)
  - entity_id: sensor.[your_unike_itenty]_1
    to: Available
    id: stopp
    trigger: state

  # PAUS: När Tibber/Bilen pausar laddningen (NYTT!)
  - entity_id: sensor.[your_unike_itenty]_1
    to: SuspendedEV
    id: stopp
    trigger: state
  - entity_id: sensor.[your_unike_itenty]_1
    to: SuspendedEVSE
    id: stopp
    trigger: state

  # UPPDATERING: När hembatteriets nivå ändras (för att uppdatera låset)
  - entity_id: sensor.sigen_inverter_battery_state_of_charge
    id: batteri_okar
    trigger: state

conditions: []

actions:
  - choose:
      # SCENARIO 1: Stopp eller Paus -> SLÄPP BATTERIET
      - conditions:
          - condition: trigger
            id: stopp
        sequence:
          - action: number.set_value
            target:
              entity_id: number.sigen_plant_ess_backup_state_of_charge
            data:
              value: 0

      # SCENARIO 2: Vi laddar aktivt -> LÅS BATTERIET
      - conditions:
          # Körs antingen vid start ELLER om batterinivån ändras...
          - condition: or
            conditions:
              - condition: trigger
                id: laddar
              - condition: trigger
                id: batteri_okar
          # ...MEN BARA om laddaren faktiskt står på "Charging" just nu!
          - condition: state
            entity_id: sensor.[your_unike_itenty]_1
            state: Charging
        sequence:
          - action: number.set_value
            target:
              entity_id: number.sigen_plant_ess_backup_state_of_charge
            data:
              # Sätter backup till nuvarande nivå (fryser batteriet)
              value: >-
                {{ states('sensor.sigen_inverter_battery_state_of_charge') | float(0) }}