robinostlund / homeassistant-volkswagencarnet

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

[BUG] Sensors are no longer available with the latest version 4.5.1 #558

Closed megabyte0469 closed 8 months ago

megabyte0469 commented 8 months ago

Connect service works via VW´s portal?: Yes

Describe the bug

First of all, thank you for the contributors who make all this possible. You are doing a great job here. First of all, a big thank you for this.

Now to the error. With the new version 4.5.1, there are now only 45 sensors. In addition, the sensor "charging time left" was briefly included. This has suddenly disappeared again. Unfortunately, changing the configuration does not provide a solution. The following sensors are currently no longer available with version 4.5.1.

"charging_time_left"

"auxiliary_climatization"

"window_heater"

"charging"

I'm currently back on version 4.5.0 and most of the sensors are back. Of the 4 described above, 3 are back.

Unfortunately, "Charging_time_left" has completely disappeared ?!

The data can be retrieved using the Volkswagen app. Vehicle is a Passat GTE Hybrid model 2021

stickpin commented 8 months ago

please see my comment here: https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/557#issuecomment-1912390126

migo-it commented 8 months ago

I'am back to 4.5.1 Beta 4 and the Sensor electric_climatisation works fine. The Sensor carging works for visualization the state. The Sensor Charging_time_left works also. Vehicle German eUp 2021

stickpin commented 8 months ago

The switches are not working properly for all the models, if you will try to turn them on or off, you will get an error. We have a few issues opened because of this problem. That is the reason why they got temporarily disabled. We already know the way forward, but we need some free time to implement it.

Regarding charging_time_left, I have one account with eUP and the sensor is present for me. Screenshot 2024-01-26 at 22 38 53

If you want me to look closer to your specific issue, feel free to send me your account to stickpins at gmail dot com.

Loic691 commented 8 months ago

Hi Several sensors are not available too for me with last version 4.5.1

Rollback to 4.5.0 EDIT : on 4.5.0 combustion range is no longer available... I'm not understand why

stickpin commented 8 months ago

Guys, if you need help, enable debug mode and share the logs with API responses. Or share your credentials with me (stickpins at gmail dot com) and I will take a look by myself.

Once you enable debug mode, you should have something like this: Request for "<URL>" returned with status code [<status_code>], response: <api_response> Make sure you replace your vehicle's VIN and your Position with some dummy values before posting it publically.

There are too many variants of vehicle configs. Out of all of them, I have access to only 4 vehicles.

megabyte0469 commented 8 months ago

Hello with the last beta version 2 of release 4.5.2 all sensors are back except the auxiliary_climatisation. If auxiliary_climatisation is still there then everything is ok again. Model Passat GTE Hybrid Germany. Very good work.

Loic691 commented 8 months ago

Hello My sensors are back with this 4.5.2 beta 2

Great job. And with new sensors to lock and unlock the doors ;-)

stickpin commented 8 months ago

Just FYI, nothing has changed between v4.5.0 and 4.5.2 beta 2 related to the mentioned sensors.

It looks like the VW Backend is quite unstable and sometimes provides partial responses which causes sensors to disappear.

Loic691 commented 8 months ago

Strange. The sensors are back from update to beta...

virtualdj commented 8 months ago

It looks like the VW Backend is quite unstable and sometimes provides partial responses which causes sensors to disappear.

@stickpin I'm experiencing the same with charging_time_left sensor. I had that sensor a week ago with v4.5.2-beta3 on a Golf 8 eHybrid and it was working; today it disappeared (i.e. grayed out with Unavailable state).