reneboer / python-carnet-client

python script that emulated the VW WE Connect (formerly CarNet) web site
GNU General Public License v3.0
21 stars 9 forks source link

Featur Request: Getting battery State Of Charge (SoC) for eGolf and other EVs #35

Closed chrm-software closed 4 years ago

chrm-software commented 4 years ago

Hi, on the WeConnect portal there are two information about the battery of the EV: estimated range mileage and the state of charge (SoC, usually in %).

While the range is a number and already available in your carnet client, the SoC only appears as a picture, see screenshot: https://chrm.info/tmp/we_portal_egolf.png

The picture is an embedded svg graphics (CSS class "ct-chart-donut") which visualize the SoC in 10% chunks.

Is it possible to parse the svg data and make the SoC available? How can I provide more info for this function?

Thank you for your good work!

IPSCoyote commented 4 years ago

I'm not on the latest build on this and use the photon script to get the data for further processing in a smartphone system. The JSON Data does contain the SoC in the "eManager" part.

chrm-software commented 4 years ago

Oh, sorry! Of course, its already there in emanager... My fault. Please, close this.