Has someone experiances with the easee Home Wallbox?
https://easee-international.com/en/
Everything is Cloud-based and has different Interfaces like MQTT, REST-API, OCCP1.6 available.
Has someone experiances with the easee Home Wallbox?
https://easee-international.com/en/
Everything is Cloud-based and has different Interfaces like MQTT, REST-API, OCCP1.6 available.
I have two Easee wallboxes and would like to realize PV surplus charging.
I donât think that a binding for Easee exists (yet).
Best, Michael
Hi,
topic didnât change for long time, but i am also interested in a solution to implement easee Wallbox in openhab and i am struggling at the moment with the http requests.
Is there any solution at the moment?
Thanks
Chris
Hi,
I integrated the Easee Home Wallbox with the help of a few items and a rule with OpenHAB. Works like a charm for me
In case you are interested:
Description is in German, but the sources are also available - shouldnât be too difficult to adapt it to your needsâŠ
HI all
Iâve been using this rule and mapping and item files and it all works as it supposed, however when I would like to customize functionality theres something I just donât get. I have a state API call, that works and I get the following log entry by using rule entry as below, but how do i get cableLocked stored to an item? I use to get an error saying invalid indata even it toggles true or false, but there must be something Iâm missing in jsonpath.
logInfo(âEaseeâ, transform(âJSONPATHâ,"$cableLocked", json))
{âsmartChargingâ:false,âcableLockedâ:true,âchargerOpModeâ:4,âtotalPowerâ:0.0,âsessionEnergyâ:9.353035926818848,âenergyPerHourâ:0.0,âwiFiRSSIâ:-88,âcellRSSIâ:-81,âlocalRSSIâ:null,âoutputPhaseâ:30,âdynamicCircuitCurrentP1â:40.0,âdynamicCircuitCurrentP2â:40.0,âdynamicCircuitCurrentP3â:40.0,âlatestPulseâ:â2021-10-27T03:55:28Zâ,âchargerFirmwareâ:289,âlatestFirmwareâ:289,âvoltageâ:218.625,âchargerRATâ:0,âlockCablePermanentlyâ:false,âinCurrentT2â:0.014000000432133675,âinCurrentT3â:0.00800000037997961,âinCurrentT4â:0.00800000037997961,âinCurrentT5â:0.008999999612569809,âoutputCurrentâ:6.0,âisOnlineâ:true,âinVoltageT1T2â:null,âinVoltageT1T3â:null,âinVoltageT1T4â:null,âinVoltageT1T5â:null,âinVoltageT2T3â:218.625,âinVoltageT2T4â:225.28599548339844,âinVoltageT2T5â:227.9929962158203,âinVoltageT3T4â:null,âinVoltageT3T5â:null,âinVoltageT4T5â:null,âledModeâ:23,âcableRatingâ:20.0,âdynamicChargerCurrentâ:32.0,âcircuitTotalAllocatedPhaseConductorCurrentL1â:6.0,âcircuitTotalAllocatedPhaseConductorCurrentL2â:6.0,âcircuitTotalAllocatedPhaseConductorCurrentL3â:6.0,âcircuitTotalPhaseConductorCurrentL1â:0.00800000037997961,âcircuitTotalPhaseConductorCurrentL2â:0.007000000216066837,âcircuitTotalPhaseConductorCurrentL3â:0.008999999612569809,âreasonForNoCurrentâ:0,âwiFiAPEnabledâ:false,âlifetimeEnergyâ:9.6324125,âofflineMaxCircuitCurrentP1â:0,âofflineMaxCircuitCurrentP2â:0,âofflineMaxCircuitCurrentP3â:0,âerrorCodeâ:0,âfatalErrorCodeâ:0,âerrorsâ:[],âeqAvailableCurrentP1â:null,âeqAvailableCurrentP2â:null,âeqAvailableCurrentP3â:null,âderatedCurrentâ:null,âderatingActiveâ:false}
Now I jst got even more confused, using
openhab:status EaseeBox_cablelock returns state true or false as it supposed to, could there be some issuse with this in basic sitemap?
HI folks
Silly me, i just forgotten to include [%s] value formatting in sitemap item, now it all works as a charm, thanks for posting your setup.
Thank you for the tutorial. Works for me - but my main purpose is for energy consumption tracking. Is it possible to get the kWh data, too?
Michael
I didnât try that, but according to these APIs it should be possible. E.g.:
User power usage:
https://developer.easee.cloud/reference#chargesession
Site consumption report:
https://developer.easee.cloud/reference#get_api-sessions-export-siteid-category-from-to
Thank you.
That seems to work.
If selecting a longer timerange of a few days, the result is identical with the app.
If selecting just a few hours the result is always 0.
I started a ticket to ask easee support.
@struppie Thanks for your tutorial.
I havenât got this working 100% yet.
When I check the logs I get follow error:
Script execution of rule with UID âEasee-1â failed: Could not cast NULL to org.openhab.core.library.types.DecimalType; line 95, column 33, length 43 in Easee
Could not transform âNULLâ with the file âEaseeBox.mapâ : Target value not found in map for âNULLâ
09:00:40.194 [WARN ] [orm.AbstractFileTransformationService] - Could not transform â-â with the file âEaseeBox.mapâ : Target value not found in map for â-â
The item âEaseeBox_chargerOpModeâ is NULL and not getting value.
I have value on all other items, so for me it seems like it have managed to connect to the API.
@Phuong Looks a bit like you are getting sometimes values via the Easee API for parameter chargerOpMode, which are not in the range 0 - 6 and therefore the transformation does not find a match.
I suggest to simply add a default to the EaseeMap.map file, e.g. this way (last line is the important one):
0=Offline
1=Disconnected
2=AwaitingStart
3=Charging
4=Completed
5=Error
6=ReadyToCharge
=Offline
I think this should avoid the error you see.
If you want to track it down what happens exactly and what Easee responded, you can add a trace to the log like this and check the json content of the response when the error occured.
json = sendHttpGetRequest(url, headers, 5000)
logInfo("Info", "EaseeBox - json: " + json)
Hi all
I used pretty mucg all code for getting access token and so on from the posted example.
I made my own set of rules for keeping teack on loadbalancibg via z wave home energy meter, and I post easee box availible current to dynamiccircuitcurrent and it all works like a charm.
But when openhab rules are reloaded i get an error saying rule easee1 failed with null in easee. This problems resolvs if I pkugbin the charger so charger state changes. Do anyone else have sam issue?