Skip to content

go-e Charger Binding ​

This Binding controls and reads data from the go-e Charger, which is a mobile wallbox for charging EVs and has an open REST API for reading data and configuration.

Supported Things ​

This binding supports go-e Charger HOME+ with 7.4kW, 11kW or 22kW as well as go-e Charger HOMEfix and go-e Charger Gemini with 11kW and 22kW.

Setup ​

  1. Install the binding
  2. Activate the local HTTP API in the go-e Charger app (Settings --> Connection --> API Settings --> "Allow access to local HTTP API vX"). Please note that v1 is the default, but more functions (channels) are supported by the API v2. However, v2 has to be supported by your go-e Charger (details see below).
  3. Configure the thing (see below).

Thing Configuration ​

The thing has these configuration parameters:

ParameterDescriptionRequired
ipThe IP-address of your go-e Chargeryes*
serialThe serial number of the Go-eChargeryes*
tokenThe access token for the Go-eCharger Cloud APIyes*
apiVersionThe API version to use (1=default or 2)no
refreshIntervalInterval to read data, default 5 (in seconds)no

*) Configure ip for the Local API or serial and token for Cloud API. If both are configured the local API will be used.

The apiVersion 2 is only available for go-e Charger with new hardware revision (CM-03, GM-10 and potentially others), which can be recognized with the serial number on the back of the device. It's also mandatory for use with the Go-eCharger Cloud API.

Channels ​

Currently available channels are:

Channel IDItem TypeDescriptionAPI version
maxCurrentNumber:ElectricCurrentMaximum current allowed to use for charging1 (r/w), 2 (r/w)
maxCurrentTempNumber:ElectricCurrentMaximum current temporary (not written to EEPROM)1 (r)
pwmSignalStringSignal status for PWM signal1 (r), 2 (r)
errorStringError code of charger1 (r), 2 (r)
voltageL1Number:ElectricPotentialVoltage on L11 (r), 2 (r)
voltageL2Number:ElectricPotentialVoltage on L21 (r), 2 (r)
voltageL3Number:ElectricPotentialVoltage on L31 (r), 2 (r)
currentL1Number:ElectricCurrentCurrent on L11 (r), 2 (r)
currentL2Number:ElectricCurrentCurrent on L21 (r), 2 (r)
currentL3Number:ElectricCurrentCurrent on L31 (r), 2 (r)
powerL1Number:PowerPower on L11 (r), 2 (r)
powerL2Number:PowerPower on L21 (r), 2 (r)
powerL3Number:PowerPower on L21 (r), 2 (r)
powerAllNumber:PowerPower over all three phases1 (r), 2 (r)
phasesNumberAmount of phases currently used for charging1 (r), 2 (r/w)
sessionChargeEnergyLimitNumber:EnergyWallbox stops charging after defined value, disable with 01 (r/w), 2 (r/w)
sessionChargedEnergyNumber:EnergyAmount of energy that has been charged in this session1 (r), 2 (r)
totalChargedEnergyNumber:EnergyAmount of energy that has been charged since installation1 (r), 2 (r)
transactionNumber0 if no card, otherwise card ID2 (r/w)
allowChargingSwitchIf ON charging is allowed1 (r/w), 2 (r)
cableCurrentNumber:ElectricCurrentSpecifies the max current that can be charged with that cable1 (r), 2 (r)
temperatureNumber:TemperatureTemperature of the circuit board of the go-e Charger1 (r), 2 (r)
temperatureType2PortNumber:TemperatureTemperature of the type 2 port of the go-e Charger2 (r)
firmwareStringFirmware Version1 (r), 2 (r)
accessConfigurationStringAccess configuration, for example OPEN, RFID ...1 (r/w)
forceStateNumberForce state (Neutral=0, Off=1, On=2)2 (r/w)
awattarMaxPriceNumberAwattar Max Price in ct2 (r/w)

Full Example ​

demo.things

dsl
Thing goecharger:goe:garage [ip="192.168.1.36",refreshInterval=5]

demo.items

dsl
Number:ElectricCurrent     GoEChargerMaxCurrent                 "Maximum current"                       {channel="goecharger:goe:garage:maxCurrent"}
Number:ElectricCurrent     GoEChargerMaxCurrentTemp             "Maximum current temporary"             {channel="goecharger:goe:garage:maxCurrentTemp"}
Number                     GoEChargerForceState                 "Force state"                           {channel="goecharger:goe:garage:forceState"}
Number                     GoEChargerPhases                     "Phases"                                {channel="goecharger:goe:garage:phases"}
String                     GoEChargerPwmSignal                  "Pwm signal status"                     {channel="goecharger:goe:garage:pwmSignal"}
String                     GoEChargerError                      "Error code"                            {channel="goecharger:goe:garage:error"}
Number:ElectricPotential   GoEChargerVoltageL1                  "Voltage l1"                            {channel="goecharger:goe:garage:voltageL1"}
Number:ElectricPotential   GoEChargerVoltageL2                  "Voltage l2"                            {channel="goecharger:goe:garage:voltageL2"}
Number:ElectricPotential   GoEChargerVoltageL3                  "Voltage l3"                            {channel="goecharger:goe:garage:voltageL3"}
Number:ElectricCurrent     GoEChargerCurrentL1                  "Current l1"                            {channel="goecharger:goe:garage:currentL1"}
Number:ElectricCurrent     GoEChargerCurrentL2                  "Current l2"                            {channel="goecharger:goe:garage:currentL2"}
Number:ElectricCurrent     GoEChargerCurrentL3                  "Current l3"                            {channel="goecharger:goe:garage:currentL3"}
Number:Power               GoEChargerPowerL1                    "Power l1"                              {channel="goecharger:goe:garage:powerL1"}
Number:Power               GoEChargerPowerL2                    "Power l2"                              {channel="goecharger:goe:garage:powerL2"}
Number:Power               GoEChargerPowerL3                    "Power l3"                              {channel="goecharger:goe:garage:powerL3"}
Number:Power               GoEChargerPowerAll                   "Power over All"                        {channel="goecharger:goe:garage:powerAll"}
Number:Energy              GoEChargerSessionChargeEnergyLimit   "Current session charge energy limit"   {channel="goecharger:goe:garage:sessionChargeEnergyLimit"}
Number:Energy              GoEChargerSessionChargedEnergy       "Current session charged energy"        {channel="goecharger:goe:garage:sessionChargedEnergy"}
Number:Energy              GoEChargerTotalChargedEnergy         "Total charged energy"                  {channel="goecharger:goe:garage:totalChargedEnergy"}
Switch                     GoEChargerAllowCharging              "Allow charging"                        {channel="goecharger:goe:garage:allowCharging"}
Number:ElectricCurrent     GoEChargerCableCurrent               "Cable encoding"                        {channel="goecharger:goe:garage:cableCurrent"}
Number:Temperature         GoEChargerTemperatureType2Port       "Temperature type 2 port"               {channel="goecharger:goe:garage:temperatureType2Port"}
Number:Temperature         GoEChargerTemperatureCircuitBoard    "Temperature circuit board"             {channel="goecharger:goe:garage:temperature"}
String                     GoEChargerFirmware                   "Firmware"                              {channel="goecharger:goe:garage:firmware"}
String                     GoEChargerAccessConfiguration        "Access configuration"                  {channel="goecharger:goe:garage:accessConfiguration"}

Setting charge current of go-e Charger based on photovoltaik output ​

You can easily define rules to charge with PV power alone. Here is a simple sample how such a rule could look like:

rules
rule "Set max amps for PV charging"
when
    Item availablePVCurrent received update
then
    logInfo("Amps available: ", receivedCommand.state)
    GoEChargerMaxCurrentTemp.sendCommand(receivedCommand.state)
end

Advanced example:

rules
rule "Set charging limit for go-e Charger"
when
    Time cron "*/10 * * ? * *" // Trigger every 10 seconds
then
    var actualMaxChargingCurrentInt = (GoEChargerMaxCurrent.state as Number).intValue

    if (GoEChargerExcessCharge.state == ON) {
        var currentChargingPower = GoEChargerPowerAll.state as Number
        var totalPowerOutputInWatt = (Total_power_fast.state as DecimalType) * 1000
        var availableChargingPowerInWatt = 0

        if (totalPowerOutputInWatt > 0 && currentChargingPower > 0) {
            // take care if already charging
            availableChargingPowerInWatt = currentChargingPower.intValue - totalPowerOutputInWatt.intValue
        } else {
            if (totalPowerOutputInWatt > 0) {
                totalPowerOutputInWatt = 0
            }
            availableChargingPowerInWatt = (totalPowerOutputInWatt.intValue * -1) + currentChargingPower.intValue
        }

        var maxAmp3Phases = (availableChargingPowerInWatt / 3) / 230
        if (maxAmp3Phases > 16.0) {
            maxAmp3Phases = 16.0
        }

        var maxAmp1Phase = availableChargingPowerInWatt / 230

        if (maxAmp3Phases >= 6) {
            // set force state to neutral (Neutral=0, Off=1, On=2)
            if (GoEChargerForceState.state != 0) {
                GoEChargerForceState.sendCommand(0)
            }

            // 3 phases
            if (GoEChargerPhases.state != 3) {
                GoEChargerPhases.sendCommand(3)
            }

            if (actualMaxChargingCurrentInt != maxAmp3Phases.intValue) {
                GoEChargerMaxCurrent.sendCommand(maxAmp3Phases.intValue)
                // logInfo("eCharger", "Set charging limit 3 Phases: " + maxAmp3Phases.intValue + " A")
            }
        } else {
            if (maxAmp1Phase.intValue >= 6 ) {
                // set force state to neutral (Neutral=0, Off=1, On=2)
                if (GoEChargerForceState.state != 0) {
                    GoEChargerForceState.sendCommand(0)
                }

                // switch to 1 phase -> check if this is useful
                if (GoEChargerPhases.state != 1) {
                    GoEChargerPhases.sendCommand(1)
                }

                if (actualMaxChargingCurrentInt != maxAmp1Phase.intValue) {
                    GoEChargerMaxCurrent.sendCommand(maxAmp1Phase.intValue)
                    // logInfo("eCharger", "Set charging limit 1 Phase: " + maxAmp1Phase.intValue + " A")
                }
            } else {
                // switch off
                if (GoEChargerForceState.state != 1) {
                    GoEChargerMaxCurrent.sendCommand(6)
                    GoEChargerForceState.sendCommand(1)
                    // logInfo("eCharger", "Switch charging off")
                }
            }
        }
    } else {
        // set force state to neutral (Neutral=0, Off=1, On=2)
        if (GoEChargerForceState.state != 0) {
            GoEChargerForceState.sendCommand(0)
        }

        if (GoEChargerPhases.state != 3) {
            GoEChargerPhases.sendCommand(3)
        }

        if (actualMaxChargingCurrentInt != 16) {
            GoEChargerMaxCurrent.sendCommand(16)
        }
    }
end

You can also define more advanced rules if you have multiple cars that charge with a different amount of phases. For example if your car charges on one phase only, you can set maxAmps to output of PV power, if your car charges on two phases you can set maxAmps to pv output / 2, and for 3 phases pv output / 3. In general the calculation would be ´maxAmps = pvOutput / phases`.