Skip to content

Easee Binding ​

The Easee binding can be used to retrieve data from the Easee Cloud API and also to control your wallbox via the Cloud API. This allows you to dynamically adjust the charge current for your car depending on production of your solar plant.

Supported Things ​

This binding provides four thing types:

Thing/BridgeThing TypeDescription
bridgesitecloud connection to a site within an Easee account
thingchargerthe physical charger which is connected to a circuit within the given site
thingmasterchargerlike the "normal" charger but with additional capability to control the circuit
thingusera user with access to the Easee site

Basically any Easee wallbox that supports the Cloud API should automatically be supported by this binding.

Discovery ​

Auto-discovery is supported and will discover all circuits, chargers and users assigned to a given site.

Bridge Configuration ​

The following configuration parameters are available for the binding/bridge:

Configuration ParameterRequiredDescription
usernameyesThe username to login at Easee Cloud service. This should be an e-mail address or phone number.
passordyesYour password to login at Easee Cloud service.
siteIdyesThe ID of the site containing the wallbox(es) and circuit(s) that should be integrated into openHAB. The ID of your site can be found via the sites overview (https://easee.cloud/sites). You just need to click one of the sites listed there, the id will be part of the URL which is then opened. It will be a number with typically 6 digits.
dataPollingIntervalnoInterval (seconds) in which live data values are retrieved from the Easee Cloud API. (default = 60)
sessionDataPollingIntervalnoInterval (seconds) in which session data values are retrieved from the Easee Cloud API. (default = 360)
webRequestInitialDelaynoInitial time (seconds) to wait before first request is sent to the Easee Cloud API. (default = 10)
webRequestIntervalnoInterval (seconds) between two subsequent requests to be sent to the Easee Cloud API. (default = 2)

Thing configuration ​

It is recommended to use auto discovery which does not require further configuration. If manual configuration is preferred you need to specify configuration as below.

Charger ​

Configuration ParameterRequiredDescription
idyesThe id of the charger that will be represented by this thing.

Mastercharger ​

Configuration ParameterRequiredDescription
idyesThe id of the charger that will be represented by this thing.
circuitIdyesThe id of the circuit that is controlled by this charger.

User ​

Configuration ParameterRequiredDescription
idyesThe id of the user.

Discovered user things have the following properties: email, name, phoneNumber.

Channels ​

The binding only supports a subset of the available endpoints provided by the Easee Cloud API. The tables below show all available channels and which of them are writable. The settings that start with "dynamic" can be changed frequently, the others are written to flash and thus should not be changed too often as this could result in damage of your flash.

Charger Channels ​

ChannelItem TypeWritableDescriptionAllowed Values (write access)
state#smartChargingSwitchyesON/OFF
state#cableLockedSwitchno
state#chargerOpModeNumberno0=Offline, 1=Disconnected, 2=AwaitingStart, 3=Charging, 4=Completed, 5=Error, 6=ReadyToCharge, 7=AwaitingAuthentication, 8=Deauthenticating
state#totalPowerNumber:Powernocurrent session total power (all phases)
state#sessionEnergyNumber:Energynocurrent session
state#energyPerHourNumber:Energynoenergy per hour
state#wiFiRSSINumber:Powerno
state#cellRSSINumber:Powerno
state#dynamicCircuitCurrentP1Number:ElectricCurrentno
state#dynamicCircuitCurrentP2Number:ElectricCurrentno
state#dynamicCircuitCurrentP3Number:ElectricCurrentno
state#latestPulseDateTimeno
state#chargerFirmwareNumberno
state#voltageNumber:ElectricPotentialno
state#inCurrentT2Number:ElectricCurrentno
state#inCurrentT3Number:ElectricCurrentno
state#inCurrentT4Number:ElectricCurrentno
state#inCurrentT5Number:ElectricCurrentno
state#outputCurrentNumber:ElectricCurrentno
state#inVoltageT1T2Number:ElectricPotentialno
state#inVoltageT1T3Number:ElectricPotentialno
state#inVoltageT1T4Number:ElectricPotentialno
state#inVoltageT1T5Number:ElectricPotentialno
state#inVoltageT2T3Number:ElectricPotentialno
state#inVoltageT2T4Number:ElectricPotentialno
state#inVoltageT2T5Number:ElectricPotentialno
state#inVoltageT3T4Number:ElectricPotentialno
state#inVoltageT3T5Number:ElectricPotentialno
state#inVoltageT4T5Number:ElectricPotentialno
state#ledModeNumberno
state#cableRatingNumber:ElectricCurrentno
state#isOnlineSwitchno
state#dynamicChargerCurrentNumber:ElectricCurrentyes0-32
state#reasonForNoCurrentNumberno0=OK, 2=DynamicCircuitCurrentLimitTooLow, 27=DynamicCircuitCurrentCharging, 52=DynamicChargerCurrentLimitTooLow, 55=NotAuthorized, 79=CarLimit, 81=CarLimitedCharging
state#lifetimeEnergyNumber:Energyno
state#errorCodeNumberno
state#fatalErrorCodeNumberno
state#connectedToCloudSwitchno
config#lockCablePermanentlySwitchyesON/OFF
config#authorizationRequiredSwitchyesON/OFF
config#limitToSinglePhaseChargingSwitchyesON/OFF
config#phaseModeNumberyes1=1phase, 2=auto, 3=3phase1-3
config#maxChargerCurrentNumber:ElectricCurrentnowrite access not yet implemented
commands#genericCommandStringyesGeneric Endpoint to send commandsreboot, update_firmware, poll_all, smart_charging, start_charging, stop_charging, pause_charging, resume_charging, toggle_charging, override_schedule
commands#startStopSwitchyesStart/Stop charging, only works with authorization
commands#pauseResumeSwitchyesPause/Resume charging
latestSession#sessionEnergyNumber:Energynolatest (already ended) session
latestSession#sessionStartDateTimeno
latestSession#sessionEndDateTimeno

Master Charger Channels ​

The Master Charger is like the "normal" charger but has some extra channels to control the circuit. These additional channels are listed in the table below.

ChannelItem TypeWritableDescriptionAllowed Values (write access)
dynamicCurrent#phase1Number:ElectricCurrentno
dynamicCurrent#phase2Number:ElectricCurrentno
dynamicCurrent#phase3Number:ElectricCurrentno
dynamicCurrent#dynamicCurrentsStringyesread/write only for all phases.<value phase1>;<value phase2>;<value phase3> valid values for each phase are 0-32. Example: 8;8;8
settings#maxCircuitCurrentP1Number:ElectricCurrentno
settings#maxCircuitCurrentP2Number:ElectricCurrentno
settings#maxCircuitCurrentP3Number:ElectricCurrentno
settings#maxCurrentsStringyesread/write only for all phases.<value phase1>;<value phase2>;<value phase3> valid values for each phase are 0-32. Example: 8;8;8
settings#offlineMaxCircuitCurrentP1Number:ElectricCurrentno
settings#offlineMaxCircuitCurrentP2Number:ElectricCurrentno
settings#offlineMaxCircuitCurrentP3Number:ElectricCurrentno
settings#offlineMaxCurrentsStringyesread/write only for all phases.<value phase1>;<value phase2>;<value phase3> valid values for each phase are 0-32. Example: 8;8;8
settings#enableIdleCurrentSwitchyesON/OFF
settings#allowOfflineMaxCircuitCurrentSwitchno

User Channels ​

ChannelItem TypeWritableDescriptionAllowed Values (write access)
consumption#totalConsumptionNumber:EnergynoTotal energy consumption across all charging sessions

Full Example ​

Thing ​

Minimum configuration ​

dsl
Bridge easee:site:mysite1 [ username="abc@def.net", password="secret", siteId="123456" ]

Manual configuration with two chargers and a user, pollingInterval set to 60 seconds. ​

dsl
Bridge easee:site:mysite1 [ username="abc@def.net", password="secret", siteId="471111", dataPollingInterval=60 ] {
        Thing mastercharger myCharger1 [ id="EHXXXXX1", circuitId="1234567" ]
        Thing charger myCharger2 [ id="EHXXXXX2" ]
        Thing user myUser1 [ id="123456" ]
}

Items ​

dsl
Number:ElectricCurrent  Easee_Circuit_Phase1                  "Phase 1"                                   { channel="easee:mastercharger:mysite1:myCharger1:dynamicCurrent#phase1" }
Number:ElectricCurrent  Easee_Circuit_Phase2                  "Phase 2"                                   { channel="easee:mastercharger:mysite1:myCharger1:dynamicCurrent#phase2" }
Number:ElectricCurrent  Easee_Circuit_Phase3                  "Phase 3"                                   { channel="easee:mastercharger:mysite1:myCharger1:dynamicCurrent#phase3" }
String                  Easee_Circuit_Dynamic_Phases          "Dynamic Power [MAP(easeePhases.map):%s]"   { channel="easee:mastercharger:mysite1:myCharger1:dynamicCurrent#dynamicCurrents" }
Switch                  Easee_Charger_Start_Stop              "Start / Stop"                              { channel="easee:mastercharger:mysite1:myCharger1:commands#startStop" }
Number:Energy           Easee_User_Total_Consumption          "Total Consumption"                         { channel="easee:user:mysite1:myUser1:consumption#totalConsumption" }

Sitemap ​

dsl
    Switch item=Easee_Circuit_Dynamic_Phases mappings=["0;0;0"="0.00 kW", "6;0;0"="1.44 kW", "7;0;0"="1.68 kW", "8;0;0"="1.92 kW", "9;0;0"="2.16 kW", "10;0;0"="2.40 kW", "16;0;0"="3.72 kW", "16;16;16"="11.1 kW"] icon="energy"

Mapping ​

easeePhases.map will make the phase setting more readable.

text
0;0;0=0.00 kW
6;0;0=1.44 kW
7;0;0=1.68 kW
8;0;0=1.92 kW
9;0;0=2.16 kW
10;0;0=2.40 kW
11;0;0=2.64 kW
12;0;0=2.88 kW
13;0;0=3.12 kW
14;0;0=3.36 kW
15;0;0=3.60 kW
16;0;0=3.72 kW
6;6;6=4.32 kW
7;7;7=5.04 kW
8;8;8=5.76 kW
9;9;9=6.48 kW
10;10;10=7.20 kW
11;11;11=7.92 kW
12;12;12=8.64 kW
13;13;13=9.36 kW
14;14;14=10.1 kW
15;15;15=10.8 kW
16;16;16=11.1 kW