thomasesmith / vw-car-net-api

Connecting to the VW Car-Net API with HTTP requests
https://carnet.vw.com/
83 stars 12 forks source link

Missing battery data? #10

Open emigre459 opened 2 weeks ago

emigre459 commented 2 weeks ago

Thanks for this awesome breakdown! A lot of what you wrote here (possibly all of it) is still valid in the US as of this writing, so far as I can tell. I used the code from this repo as a quick way to test, but the endpoint URLs and all seem to mimic what you've written up and I get no errors. So cheers to that!

The one thing that confuses me, and I'm hoping you may have seen back when you were actively maintaining this repo: the powerStatus element of the status JSON response only includes range data, not the battery key (and values) you show in your doc. Things like charging status, plugged in/not plugged in, battery SoC, etc. would be really great to have. I thought maybe it was because my car had been sitting in the garage for the last few hours unused, but plugging it into my L2 charger to bring it to life didn't change anything. Have you seen scenarios wherein the battery state information would be missing? (I have used the SmartCar API for testing before and can confirm that these data are usually readily available for my vehicle through them, but I wanted to poll data faster than their API allows, hence following your guidance).

Any speculation and educated guesswork would be most welcome!

image

emigre459 commented 2 weeks ago

For anyone visiting this issue, IGNORE the preceding post. This appears to be malware bait.

Non-spammy replies to this question would be much appreciated.