robinostlund / homeassistant-volkswagencarnet

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

[FR] ID Models Climatisation control #586

Closed brhahlen closed 9 months ago

brhahlen 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

Climatization is not available

Steps to Reproduce

Upgraded to a recent version, noticed it's not working anymore. Not entirely sure when it was working

Expected behavior

Climatization works

Screenshots

image image

Traceback/Error logs

Debug information - all JSON responses from logfile

homeassistant  | 2024-02-26 11:47:17.251 DEBUG (MainThread) [volkswagencarnet.vw_dashboard] <VIN> Window Heater (WindowHeater:window_heater) is not supported
homeassistant  | 2024-02-26 11:47:17.251 DEBUG (MainThread) [volkswagencarnet.vw_dashboard] <VIN> Climatisation from battery (BatteryClimatisation:climatisation_without_external_power) is not supported
homeassistant  | 2024-02-26 11:47:17.251 DEBUG (MainThread) [volkswagencarnet.vw_dashboard] <VIN> Auxiliary Climatisation (AuxiliaryClimatisation:auxiliary_climatisation) is not supported
homeassistant  | 2024-02-26 11:47:17.251 DEBUG (MainThread) [volkswagencarnet.vw_dashboard] <VIN> Parking Heater Ventilation (PHeaterVentilation:pheater_ventilation) is not supported
homeassistant  | 2024-02-26 11:47:17.251 DEBUG (MainThread) [volkswagencarnet.vw_dashboard] <VIN> Parking Heater Heating (PHeaterHeating:pheater_heating) is not supported
homeassistant  | 2024-02-26 11:47:17.251 DEBUG (MainThread) [volkswagencarnet.vw_dashboard] <VIN> Electric Climatisation (ElectricClimatisationClimate:electric_climatisation) is not supported

Additional context

Please let me know if you need any additional information. Not really sure what to look for.

stickpin commented 9 months ago

Seems to be an issue on the VW side, try to restart the HA and see if it solves the issue. If not enable debug logging in your HA configuration.yaml and share a full log:

logger:
  default: info
  logs:
    volkswagencarnet: debug
    custom_components.volkswagencarnet: debug

Another option you share your credentials with me via email (stickpins at gmail com) and I will check it myself.

brhahlen commented 9 months ago

Should I remove the VIN from the logs? Figure that might be considered sensitive data?

stickpin commented 9 months ago

@brhahlen yes, replace it with

brhahlen commented 9 months ago

home-assistant.log Replaced with VIN12345

stickpin commented 9 months ago

@brhahlen i see the problem. i will check how can i solve it.

brhahlen commented 9 months ago

@brhahlen i see the problem. i will check how can i solve it.

@stickpin Cool. Let me know if you need anything more from my end, or if you need me to test anything.

stickpin commented 9 months ago

@brhahlen I was checking my code and I remembered why ID models still don't have climatisation control. For active climatisation, ID models require many more details than "regular" electric/hybrid vehicles. I've started working on additional features for ID models, which will allow me to activate climatisation as well. If everything goes well, the next version should support it.

brhahlen commented 9 months ago

Awesome, thank you very much for your hard work!

stickpin commented 9 months ago

@brhahlen The v4.5.6 is released https://github.com/robinostlund/homeassistant-volkswagencarnet/releases/tag/v4.5.6. The climatisation and many other ID features should be available now.

brhahlen commented 9 months ago

Hi @stickpin , Just updated and is there! Thanks!