Giter Site home page Giter Site logo

Comments (11)

bigbadblunt avatar bigbadblunt commented on June 18, 2024

Yeah, looks reasonably straightforward. Give me a few days.

from homeassistant-lightwave2.

bigbadblunt avatar bigbadblunt commented on June 18, 2024

Just pushed a new release. Let me know if it works for you.

from homeassistant-lightwave2.

gary-sargent avatar gary-sargent commented on June 18, 2024

Works great thanks.

Not sure if plug socket plugged in detection should be a sensor (as is) or diagnostic to be more consistent with others. It's currently appearing on the default lovelace dashboard which I doubt is much use.

from homeassistant-lightwave2.

bigbadblunt avatar bigbadblunt commented on June 18, 2024

Ooops, I missed the plug sensor. I suspect I've also broken some of the other sensors (things like energy monitors). Let me have another go.

from homeassistant-lightwave2.

bigbadblunt avatar bigbadblunt commented on June 18, 2024

Thanks. I have changed the plug sensor to "diagnostic" (btw, can you confirm the sensors actually works? I don't have any gen 2 sockets).

I also reverted the classification of energy sensors from "diagnostic" to none. I think this is how they should appear. But I also have no energy monitors, so no way of testing that either.

from homeassistant-lightwave2.

gary-sargent avatar gary-sargent commented on June 18, 2024

Hi,

Looks good, and yes the sensor works.

The only one that looks wrong is the sensor for current which is showing values like 24 amps which can not be right for a 13amp socket!

from homeassistant-lightwave2.

bigbadblunt avatar bigbadblunt commented on June 18, 2024

OK - if you could compare the output from HA to what's in the app then maybe it'll be obvious what the problem is. I suspect the values are to 1 decimal place (i.e. should be 2.4 amps). If you can confirm, then I can update.

from homeassistant-lightwave2.

gary-sargent avatar gary-sargent commented on June 18, 2024

Current is not listed in the app, but experimenting it looks like the value you are showing is mA not A, so needs dividing by 1000 to show the right value in A, or units changing to mA. That said, I'm not sure it is that useful to have it at all as Amps can be derived from Power (watts) and Voltage using A=P/V

from homeassistant-lightwave2.

bigbadblunt avatar bigbadblunt commented on June 18, 2024

Updated to be in mA.

from homeassistant-lightwave2.

gary-sargent avatar gary-sargent commented on June 18, 2024

Works great. Thanks, feel free to close this ticket.

from homeassistant-lightwave2.

bigbadblunt avatar bigbadblunt commented on June 18, 2024

Thanks @gary-sargent, and thanks for the feedback/testing. I only have a couple of bits of lightwave kit so it's a bit hit-and-miss developing for things I don't have, it's really useful to get good, clear feedback and results.

Let me know if you have any future suggestions.

from homeassistant-lightwave2.

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.