Git Product home page Git Product logo

Comments (10)

gndean avatar gndean commented on September 23, 2024 1

How are you getting on with this?
I've released it as part of version 1.2.1, as I needed to push out a fix, so I've rolled it into that.

from home-assistant-hypervolt-charger.

exalyte avatar exalyte commented on September 23, 2024

from home-assistant-hypervolt-charger.

BadgerLoaf avatar BadgerLoaf commented on September 23, 2024

Yes I suspect converting the amps might be the way to go.

Was going to probably to create a template sensor to do that. Wanted to check in the meantime if the API gave access already; or whether @gndean would consider doing the amps conversion within the integration to allow easier deployments for those that don't play around in YAML much,

from home-assistant-hypervolt-charger.

gndean avatar gndean commented on September 23, 2024

Yeah, there's nothing I'm aware of within the API that would give realtime power.

As @exalyte says, CT Power potentially measures more than just the car charging, I guess depending on where the external CT clamp is situated. For me, it certainly measures more than just the car charging.

I had considered exposing a sensor that just multiplied the charger current x voltage. But it looks like the Hypervolt 3.0 doesn't ever set the voltage within the API: #18 So maybe the best that could be done with be to used some fixed voltage. But then, that feels like something that could be done with HA itself.

from home-assistant-hypervolt-charger.

BadgerLoaf avatar BadgerLoaf commented on September 23, 2024

Thanks @gndean - considering HV v3 doesn't set the voltage, I can see how it would be hard to do within the integration.

I think I'll just create a template sensor using the amp and voltage readings in my calculations (I'm on a HV v2).

Thanks for looking into this 👍

from home-assistant-hypervolt-charger.

gndean avatar gndean commented on September 23, 2024

Reopening this with a potential solution.

Please see and try out:

1.2.0 Beta

Added new sensor:

Hypervolt Session Power

Estimates the current charging power.

This measures increases within the Hypervolt Session Energy sensor to estimate the instantaneous power. Since the increments with Hypervolt Session Energy are somewhat lumpy, an up-to-a 5 minute window is used to calculate the current power. So if the power changes mid-charge, there will be some lag before it's reflected in this sensor. Similarly, the values within the first minute or so can be noisy.
But since the sensor uses the same figures as the energy calculation from the charger, they should lead to consistent figures and sum up to total energy consumed.

from home-assistant-hypervolt-charger.

BadgerLoaf avatar BadgerLoaf commented on September 23, 2024

Thanks @gndean, I’ll test this out this weekend 👍

from home-assistant-hypervolt-charger.

BadgerLoaf avatar BadgerLoaf commented on September 23, 2024

Sorry @gndean! Life issues took over, and I wasn't able to fully look into this.

However, yes it's looking good and have seen you added it to 1.2.1.

Thanks for picking this up!

from home-assistant-hypervolt-charger.

gndean avatar gndean commented on September 23, 2024

Closing now as this has been released

from home-assistant-hypervolt-charger.

gndean avatar gndean commented on September 23, 2024

The integration now exposes a "EV Power" entity which should be used instead of Session Power. The HV APIs provide this power measurement so it's likely to be more accurate and quicker to respond than the derived Session Power value.

from home-assistant-hypervolt-charger.

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.