Code Monkey home page Code Monkey logo

hacs-lg-ess's Introduction

hacs-lg-ess

HomeAssistant HACS integration for the LG ESS inverter. Built with the Python library https://github.com/gluap/pyess (thanks!).

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Setup

The integration can be configured easily through the UI after getting the password. It should be auto discovered, and only the password has to be entered.

You need the local device password, which is not the account password. Instead there are a few ways to get it:

  1. Get the mac address of the lg ess and convert it. Mac address AA:BB:CC:DD:11:22 -> password aabbccdd1122
  2. Extract it using the pyess library (it has a cli) while connected to the devices WiFi.
  3. Do a post request, e.g. with curl while connected to the devices WiFi:
curl --insecure -H "Charset:UTF-8" -H "Content-Type:application/json" https://10.10.1.98/v1/user/setting/read/password -d '{"key": "lgepmsuser!@#}'

Entities

All entities from the API are implemented.

Additionally, there is batt_directional and grid_directional (positive and negative value depending on the direction). This allows configuring various custom cards, e.g. https://github.com/flixlix/power-flow-card-plus

type: custom:power-flow-card-plus
entities:
  battery:
    entity: sensor.lg_ess_batt_directional
    state_of_charge: sensor.lg_ess_statistics_bat_user_soc
  grid:
    entity: sensor.lg_ess_grid_directional
  solar:
    entity: sensor.lg_ess_statistics_pcs_pv_total_power
  home:
    entity: sensor.lg_ess_statistics_load_power

hacs-lg-ess's People

Contributors

dkarv avatar

Stargazers

 avatar

Watchers

 avatar  avatar

hacs-lg-ess's Issues

{"message":"Invalid handler specified"}

Thanks a lot for this integration!

When trying to set it up via "Integrations", I get {"message":"Invalid handler specified"}.
Using a ESS Home 5 Inverter.

Is it possible to manually define the local IP address?

Thank

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.