LG Ess Enervu Powerrouter/Battery binding: Looking for testers

Hello,

I have developed a binding for the LG Ess Enervu powerrouter/battery bundle (https://enervu.lg-ess.com/) and I am looking for brave testers :slight_smile:
For me it works quite stable but I’d like to have feedback from other owners.

The binding supports retrieving data directly from the device via local network as well as retrieving data from the lg cloud.
It currently supports most of the data which can be retrieved from the system as well as some
calculations on how much money someone spend on buying power from the grid etc.

Source can be found here:

Binary can be found here (works for OH 3.0 and 3.1):

Looking forward to your feedback :slight_smile:

Best
Martin

1 Like

Hi Martin,
thank you for your posting and work - you have done exactly what I was planning to do! I am thinking about that since we installed the LG ESS last year, but only did find time today to install openHAB on a Raspberry Pi. I would very much like to test your binding, but have to get acquainted with openHAB yet. For example, how would I “install” your binding, as it is not yet in the official list in the GUI …
I intend to use the data from the ESS for charging our EVs with PV surplus …
Thanks again,
Franz

Hi Martin,
it was easier than I thought to set everything up - now my first questions:

  • all of the power items have as unit of measure energy units (kWh instead of kW) and are labeled as “Number:Energy” instead of “Number:Power” (example currentPowerFromPV - Number:Energy - Current power produced by PV)
  • currentPowerFromPV seems to only include the DC power from string 1 of the inverter (PCS) - it seems that it is coming from “ess/common/PV/pv1_power” (an additional indicator is the unit of measure W, like it is displayed in the LG ESS app as “DC Power” for example “350W/400W/300W”)
  • if this is the case it would be great to have also the two other strings (as the PCS supports 3 strings) as channels available (pv2_power and pv3_power)

Thanks again a lot for your efforts, it is very much appreciated!
Franz

I’ve observed additionally that after around 24h values stop being received yet connection status is still “online” in the “Things” section (“Refresh Interval” is set to 10s, connection via LAN API). A disabling/enabling cycle restores the transfer of the values. Did you also observe such behavior? May it be connected with the refresh interval - I will try different values and report back …

Thanks,
Franz

Hi Franz,

thank you for testing the binding :slight_smile:
I fixed the wrong units to Number:Power and current values from kWh to kW.
Additionally I added the missing string from the pcb.

Regarding your “values are zero” issue i try to reproduce it and will fix it as soon as i found out what the root cause is

Best
Martin

Ps.: I updated the source and binary on github with your suggestions

Hi Martin, Franz,
is this binding still working for you? I am asking because you both seem to be the only ones active here and I wanted to give a try and install it for a friend who is running a LG Ess. Thanks for a quick confirmation that its not discontinued for whatever reason, Erik

Hi Erik,

yes, still working. Great work by Martin!

Franz

Great, thanks for the quick response. We will give it a try and let you know how it goes,
Erik

Martin, Franz, we installed it yesterday, and in no time we had it up and running with the cloud connection, Thank you very much, great work, should become an official binding ;). I have not yet tried to use the direct connection as I am not sure how to get the JSON response with the password from the device. Can you give some hints how this can be done? Is it with curl from the raspi?

Hi Martin and Franz, I give it one more try to ask for help on how to find out the login credentials for a direct connection to the LG Ess. Can you give me a short hint on how to get the JSON response? Many thanks in advance Erik

Hi Erik,

you need to connect with your device (e.g. notebook) directly to the wlan of the ess.
Then perform a json rest request to the device to the following url

https://192.168.23.1/v1/user/setting/read/password

with the payload body

{"key": "lgepmsuser!@#"}

This can be done with your browser (firefox, chrome etc. via the dev console) or a tool like postman.
I am not sure but there might also be apps for rest requests from a mobile.
The important thing is that you use an app where you can disable the certificate validation because the ess has only a self signed certificate

Best
Martin

1 Like

Thanks, I will give it a try!

pushed an update to git fixing a bug with current_power showing the same value for buying/selling it at the same time which doesn’t make sense.

Thank you Franz for discovering it :slight_smile: