robinostlund / homeassistant-volkswagencarnet

Volkswagen Carnet Component for home assistant
GNU General Public License v3.0
327 stars 60 forks source link

[BUG] Passat GTE not showing battery level, the rest seems to work #540

Closed githubbersky closed 8 months ago

githubbersky commented 9 months ago

Before you post a new issue - you must first check the following (and check the boxes with an "X" below)

Environment

Describe the bug

Steps to Reproduce

Expected behavior

Screenshots

Traceback/Error logs

Debug information - all JSON responses from logfile

Additional context

githubbersky commented 8 months ago

It seems some of my text did not make it into the ticket:

I added this wonderfull integration after uninstalling it when issues occured after VW changed the API. With this version, and all the good news i read, I decided to try again. A lot of parameters are discovered, but the battery level is missing. I do see the fuel consumption and battery consumtion, along with lots of other parameters. I did a new discovery, changing DE to NL, where the car is nowadays, but that does not seem to make any difference. Attached you see both attempts I did. It someone can tell me how to make a debug log, then I can make one if needed.

Regards, Richard.

VW

stickpin commented 8 months ago

@githubbersky if the issue is still reproducible with the latest versions (v4.5.1+), please reopen the issue and share the debug logs. I've explained here https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/555#issuecomment-1919993282 how to enable debugging mode.

stickpin commented 8 months ago

pay attention to this:

  "charging": {
    "batteryStatus": {
      "error": {
        "message": "Bad Gateway",
        "errorTimeStamp": "datetime.datetime(2024, 2, 2, 18, 15, 49, tzinfo=datetime.timezone.utc)",
        "info": "Upstream service responded with an unexpected status. If the problem persists, please contact our support.",
        "code": 4007,
        "group": 2,
        "retry": true
      }
    },

You have many Upstream service responded with an unexpected status. If the problem persists, please contact our support. errors coming back from the VW server. Nothing I can do about it.

githubbersky commented 8 months ago

Wow! That is interesting, it worked once... I will try contacting volkswagen. Are the willing to help with these kind of questions? Do you have any experience with that? Perhaps even a way to contact them? (I chatted with volkswagen online earlier because at the moment we cannot download navigation maps, error 404)

stickpin commented 8 months ago

@githubbersky No, unfortunately, I have no experience with VW support. But in general, since they migrated to the new Backend/App, there are a lot of issues on their end. Hopefully, they will stabilize it soon.