KipK / openevse-gui-v2

OpenEVSE WiFi Gateway User Interface (V2)
BSD 2-Clause "Simplified" License
5 stars 2 forks source link

Feature Request : Daily kWh counter #23

Closed TommySharpNZ closed 1 year ago

TommySharpNZ commented 1 year ago

Any thoughts on getting a daily counter added similar to the session and total counters?

KipK commented 1 year ago

this is more a feature request for firmware .

If data is published through the API it can be easily added here.

TommySharpNZ commented 1 year ago

Thanks @KipK I have logged a feature request (issue) on the main repository... Hopefully they pick it up...

fhteagle commented 1 year ago

@TommySharpNZ Not sure what use case is driving your request. However, I have been enjoying the utility of HomeAssistant logging and graphing all of my OpenEVSE use activity. Maybe that would get you the data / display you are looking for as well until this is implemented?

TommySharpNZ commented 1 year ago

@TommySharpNZ Not sure what use case is driving your request. However, I have been enjoying the utility of HomeAssistant logging and graphing all of my OpenEVSE use activity. Maybe that would get you the data / display you are looking for as well until this is implemented?

Would you mind sharing your config here on on the HomeAssistant forums?

I have tried to use the Total Usage sensor from OpenEVSE but I'm suspecting this only updates at the end of each charging session which means I get a chart with lots of jumps and not a proper usage line... image

KipK commented 1 year ago

Yes total usage is only incremented at the end of a session. What I did to counter that is feeding a virtual counter on smart home side, that use the total +session elapsed while charging. And just the total when session ended.

fhteagle commented 1 year ago

Disregard, after taking a closer look at the results of this method, I do not think it was working as intended.

pdhoogh commented 1 year ago

Question: how/when does the OpenEVSE decide the charge session is a new session (reset to zero)? Now sometimes I want to start a new session with an energy limit and I need to add that to the current counter in order for it to work as I intend to, a bit weird...

I am not sure what the advantage would be to have a daily counter in OpenEVSE? I can see that in emoncms, but not in OpenEVSE functionality per se. Just my opinion.

KipK commented 1 year ago

counter is reset at new vehicle connection.

fhteagle commented 1 year ago

@TommySharpNZ -

KipK's newest GUI revision has your feature, btw:

Screenshot_20230306_072437

Not sure when it will make it to the nightlies, or to a full release, but it is on its way!

TommySharpNZ commented 1 year ago

Nice Nice Nice! Although if it's just in @KipK new UI does not mean it will not be available in the "api" that the HomeAssistant integration uses?

KipK commented 1 year ago

It's on the api yes

TommySharpNZ commented 1 year ago

This is great news, thanks team!

KipK commented 1 year ago

Fixed in EnergyMeter fw branch, waiting for merge