Coder Social home page Coder Social logo

Comments (3)

gdotp01 avatar gdotp01 commented on September 28, 2024

Hi. Awesome work on this plugin.
I’d like to second the above request if I could. I’d like to use sensor.myenergi_zappi_charger_plug_status but as it’s currently implemented I can’t get it working. The sensor does not seem to be available for automations and in reality a simple binary sensor would probably suffice.

from ha-myenergi.

LeiChat avatar LeiChat commented on September 28, 2024

This is somewhat related to my post #355

The myenergi API returns a property named 'pst' and I'm not sure where the friendly names for each value is defined.

Is there any official documentation for the myenergi API? If not, is 'plug_status' the presumed descriptive name for 'pst' ?

[API - pst]
[HA entity - myenergi_zappi_XXXXXXXX_plug_status] :
A = EV Disconnected
B1 = EV Connected
B2 = Waiting for EV
C1 = EV ready to charge
C2 = Charging
F = Fault

Might it be worth including entities for the actual API properties? e.g. myenergi_zappi_XXXX_pst
And have them return the myenergi API value (A, B1, B2, etc.) and users of the HA integration can use a template/helper to map them to whichever friendly names they would prefer to show on their dashboards.

Or can we reach out to myenergi for clarification about what each 'pst' and 'sta' value mean?

from ha-myenergi.

jaket91-1 avatar jaket91-1 commented on September 28, 2024

Thanks for opening this issue. I too would love to see the plug status values available to use with automations but can’t seem to at the minute. Despite the plug status entity showing correctly, the only values I can select from as a trigger are ‘Any State’, ‘Unavailable’ or ‘Unknown’

from ha-myenergi.

Related Issues (20)

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.