Comments (10)
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.
from home-assistant-hypervolt-charger.
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.
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.
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.
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.
Thanks @gndean, I’ll test this out this weekend 👍
from home-assistant-hypervolt-charger.
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.
Closing now as this has been released
from home-assistant-hypervolt-charger.
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)
- 4 Max Schedule Slots?
- Hypervolt 3.0 CT clamp reports wrong data after session end HOT 8
- Error: 'NoneType' object has no attribute 'age_ms' HOT 1
- Can CT power entity always be available HOT 4
- Authentication error when trying to log in, status code: 400 HOT 14
- Schedule helper
- CT power entity no longer reports data in v2.0.2 HOT 5
- Support viewing the configured rate for Energy Tariff and updating it HOT 2
- Hypervolt Charge Mode changes not applied HOT 2
- How can I unpause when charger becomes paused? HOT 1
- The refresh token is not stored or used HOT 6
- No reconnect following connection error(s) HOT 1
- v2.2.6 misbehaving on HASS restart, incorrectly changes to Plug and Charge HOT 1
- AttributeError: TIME HOT 2
- HASS warning: Detected blocking call to 'open' inside the event loop by custom integration 'hypervolt_charger' HOT 1
- Not able to load charger data
- Setup issue following the recent update (V2.3.0) HOT 4
- Several minutes delay to synchronise the schedule following a token refresh HOT 1
- Issues since 2024.7 HOT 2
- Missed commands HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-hypervolt-charger.