Home Assistant custom_component for controlling the go-eCharger EV-Charger
Last updated Apr 21, 2026
98
Stars
34
Forks
35
Issues
0
Stars/day
Attention Score
17
Language breakdown
No language data available.
โธ Files
click to expand
README
Home Assistant integration for the go-eCharger (WIP)
Integration for Homeassistant to view and Control the go-eCharger for electric Vehicles via the local ip-interface via API Version 1. In newer chargers the V1 API has to be enabled via the App first.
Features
- attributes from charger available as sensors
- switch to turn off/on charger
- set charge limit in kWh (0.1 kWh steps)
- set max current for charging in ampere (6-32A)
- set absolute maximum current for charging (max can not be set higher than "absolute max")
- no cloud connection needed to control the charger - only local ip-access needed.
- correction factor for older devices which often present 5-10% lower voltage and therefore energy values
Warning: WIP - Breaking changes possible
This is the first version of the Integration so there are still breaking changes possible.Installation
- clone this repository
git clone https://github.com/cathiele/homeassistant-goecharger.git
- copy the content of the
customcomponents-Folder to thecustomcomponentsfolder of your home-assistant installation
# mkdir -p <your-ha-config-dir>/custom_components
cp -r customcomponents/goecharger <your-ha-config-dir>/customcomponents
- setup your Charger in the
configuration.yaml(for always connected chargers):
goecharger:
chargers:
- name: charger1
host: <ip of your charger>
- name: charger2
host: <ip or hostname of charger 2>
correction_factor: factor for correction for total and session charged
Sample View
Example Config
configuration.yaml
input_number:
goechargerchargelimit:
name: Charge limit (kWh)
min: 0
max: 10
step: 1
input_select: goechargermaxcurrent: name: Max current options: - 6 - 10 - 16 - 20 - 24 - 32
automations.yaml
Important: Replace 111111 with your chargers name.
- id: '1576914483212'
alias: 'goecharger: set max current on charger based on input select'
description: ''
trigger:
- entityid: inputselect.goechargermaxcurrent
platform: state
condition: []
action:
- data_template:
maxcurrent: '{{ states(''inputselect.goechargermaxcurrent'') }}'
service: goecharger.setmaxcurrent
- id: '1576915266692'
alias: 'goecharger: set maxcurrent inputselect based on charger value'
description: ''
trigger:
- entityid: sensor.goecharger111111chargermax_current
platform: state
condition: []
action:
- data_template:
entityid: inputselect.goechargermaxcurrent
option: '{{ states.sensor.goecharger111111chargermaxcurrent.state }}'
service: inputselect.selectoption
- id: '1577036409850'
alias: 'goecharger: set charge limit based on input'
description: ''
trigger:
- entityid: inputnumber.goechargerchargelimit
platform: state
condition: []
action:
- data_template:
chargelimit: '{{ states(''inputnumber.goechargerchargelimit'') }}'
service: goecharger.setchargelimit
- id: '1577036687192'
alias: 'goecharger: set charge_limit input based on charger'
description: ''
trigger:
- entityid: sensor.goecharger111111chargelimit
platform: state
condition: []
action:
- data_template:
entityid: inputnumber.goechargerchargelimit
value: '{{ states.sensor.goecharger111111charge_limit.state }}'
service: inputnumber.setvalue
Lovcelace-UI Card Example
Important: Replace 111111 with your chargers name.
cards:
entities:
- entity: switch.goecharger111111allow_charging
- entity: inputnumber.goechargercharge_limit
- entity: inputselect.goechargermax_current
- entity: sensor.goecharger111111car_status
- entity: sensor.goecharger111111charger_temp
- entity: sensor.goecharger111111currentsessioncharged_energy
- entity: sensor.goecharger111111currentsessionchargedenergycorrected
- entity: sensor.goecharger111111p_all
- entity: sensor.goecharger111111p_l1
- entity: sensor.goecharger111111p_l2
- entity: sensor.goecharger111111p_l3
- entity: sensor.goecharger111111u_l1
- entity: sensor.goecharger111111u_l2
- entity: sensor.goecharger111111u_l3
- entity: sensor.goecharger111111i_l1
- entity: sensor.goecharger111111i_l2
- entity: sensor.goecharger111111i_l3
- entity: sensor.goecharger111111energy_total
- entity: sensor.goecharger111111energytotalcorrected
showheadertoggle: false
title: EV Charger (go-eCharger)
type: entities๐ More in this category