Goecharger-api2 - Control your go-eCharger Wallbox directly via the API v2 [Gemini/flex, HOMEfix & other]

Include this to avoid updates during the night:

conditions:

  • condition: and
    conditions:
    • condition: sun
      after: sunrise
    • condition: sun
      before: sunset
1 Like

I just have added that to the repo readme - thanks!

3 Likes

Hello,

I’m trying to get PV surplus charging working with my go-e Gemini charger.
I’ve installed the ha-goecharger-api2 integration in Home Assistant and enabled APIv2. The charger is reachable locally and responds to /api/status.

Here’s what I get from:

http://[IP]/api/status?filter=lmo,fup,acp,pgrid,ppv

{
  "lmo": 4,
  "fup": true,
  "acp": true,
  "pgrid": -7.22,
  "ppv": 7250.47
}

That should be correct:

  • Logic mode (lmo) is set to Eco (Awattar)
  • PV surplus mode (fup) is enabled
  • Charge pausing (acp) is enabled
  • pgrid is negative → I’m feeding ~7.2 kW into the grid
  • The charger works perfectly in normal (non-surplus) mode

However, it doesn’t start charging automatically in surplus mode.
I’m sending data to the wallbox every 5 seconds using this Home Assistant automation:

alias: PV surplus charging
triggers:
  - seconds: /5
    trigger: time_pattern
conditions:
  - condition: and
    conditions:
      - condition: sun
        after: sunrise
      - condition: sun
        before: sunset
      - condition: not
        conditions:
          - condition: state
            entity_id: sensor.goe_266304_car_value
            state: Inaktiv/Frei
actions:
  - data:
      pgrid: "{{ states('sensor.shellypro3em_08f9e0e95ddc_total_active_power')}}"
      ppv: "{{ states('sensor.shellypro3em_08f9e0e95ddc_total_apparent_power')}}"
    action: goecharger_api2.set_pv_data
mode: single

I see that pgrid and ppv arrive at the wallbox via the /api/status endpoint, but still no charging starts.

Is there something I’m missing?

Thanks a lot in advance!

Hi,

I did the same mistake :wink:

Your pgrid value is “-7.22” in KW, but this value needs to be “-7220” in Watt. So just multiple the value with 1000 → " *1000 " and the problem is solved.