Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charging station automatic real kWh and cost provisionning #354

Open
Mavyre opened this issue Oct 20, 2022 · 4 comments
Open

Charging station automatic real kWh and cost provisionning #354

Mavyre opened this issue Oct 20, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@Mavyre
Copy link

Mavyre commented Oct 20, 2022

Hello,

VWsFriend is an awesome tool, allowing me to keep a track of charges and refueling of my PHEV. But as a PHEV owner, I'm charging every night at home. I added a custom "Home" charging station, which is detected automatically, but I need to calculate manually the cost of charge every morning.

As a suggestion, would it be possible to add a webhook for some charging stations (or operators) that would be called at the end of each charge?
That would allow to for home stations:

  • Fetch real kWh consumption from a connected power meter
  • Calculate the cost depending on the off-peak/peak power prices
    That also could allow for charges on public stations to get the real price or eventually estimated price.

To get a more accurate price, we could imagine that the payload of the webhook could contain the estimated kWh charged for each time frame of charge (if a charge is during both during peak and off-peak with different prices; often happens on public stations).

@tillsteinbach tillsteinbach added the enhancement New feature or request label Oct 21, 2022
@tillsteinbach
Copy link
Owner

Actually this is on my list. For Elli chargers and WeCharge this would be even possible with reasonable effort.
The challenge is that I cannot implement, test and maintain several systems I don't have access to.
So the way to go would be a plugin system where people could add support for such systems.

I currently have very limited time, but I keep your proposal for the future.

A maybe more lightweight way would be the possibility to import exports from other sources e.g. in csv format.

@Mavyre
Copy link
Author

Mavyre commented Oct 21, 2022

The plugin system is what I had in mine while writing this idea, through the help of webhook (making it fully customisable even for any brand home chargers).

@MattiJarvinen
Copy link

Using something like https://robotframework.org/ to read the data from a website might be an option for some networks. It would be a brittle implementation prone to break at any time with a new UI remodeling.

@Mavyre
Copy link
Author

Mavyre commented Nov 16, 2022

Using something like https://robotframework.org/ to read the data from a website might be an option for some networks. It would be a brittle implementation prone to break at any time with a new UI remodeling.

Sounds like a great approach, but indeed if networks don't have any available public APIs, any implementation is prone to break.

Hell, even when they have public API, implemntations are prone to break due to unannounced changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants