robinostlund / homeassistant-volkswagencarnet

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

no "charging_time_left" sensor? #572

Closed PeerOlli closed 4 months ago

PeerOlli commented 4 months ago

Hello, first of all thank you for this working version since VW changed the server. Everything actually works as before for me, only the sensor is missing: "charging_time_left"! Is the sensor no longer available, or is there something wrong with me? In the Volkswagen phone app I see a remaining charging time when charging the vehicle, but this is completely missing in the integration into HACS. Is there any tip or help for this? My vehicle is a Golf 8 Hybrid. Thanks for the help!

theogq commented 4 months ago

You only get this sensor when your car actually charging. The rest of the time you get the error you get. At least in my case. (2020 Passat GTE)

CZaMOR commented 4 months ago

You only get this sensor when your car actually charging. The rest of the time you get the error you get. At least in my case. (2020 Passat GTE)

E-golf same

virtualdj commented 4 months ago

The same on Golf 8 eHybrid. Probably the sensor should not be flagged to disappear and just remain there as "unavailable" when not in charge mode otherwise it's difficult to use in automations.

PeerOlli commented 4 months ago

Hello, that's almost what I thought. Unfortunately, I can't see the sensor when the car is charging. That's the problem, how do I get the sensor displayed in charging mode? If I go directly to the integration in HomeAssistant, this sensor is not displayed to me. Should I perhaps reinstall the integration again when the car is in charging mode?

stickpin commented 4 months ago

This edge case will fixed with the upcoming beta: https://github.com/robinostlund/volkswagencarnet/pull/249

CZaMOR commented 4 months ago

Hello, that's almost what I thought. Unfortunately, I can't see the sensor when the car is charging. That's the problem, how do I get the sensor displayed in charging mode? If I go directly to the integration in HomeAssistant, this sensor is not displayed to me. Should I perhaps reinstall the integration again when the car is in charging mode?

I had to reload the whole integration when charging to get the sensor to show up.

stickpin commented 4 months ago

Wait for the next beta it will show up if your vehicle supports it.

stickpin commented 4 months ago

Fixed with v4.5.3 (https://github.com/robinostlund/homeassistant-volkswagencarnet/releases/tag/v4.5.3)

Make sure you run Home Assistant v2024.2.0 or newer.