Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUES WITH BETA RELEASE #511

Closed
robinostlund opened this issue Nov 28, 2023 · 156 comments
Closed

ISSUES WITH BETA RELEASE #511

robinostlund opened this issue Nov 28, 2023 · 156 comments
Labels
bug Something isn't working

Comments

@robinostlund
Copy link
Owner

Only report issues here with the latest beta release and do not start any discussion here!

Thanks

@robinostlund robinostlund added the bug Something isn't working label Nov 28, 2023
@stickpin
Copy link
Collaborator

Thanks a lot for your hard work @oliverrahner and @robinostlund! :)

Let the party begin:

2023-11-28 22:13:21.972 INFO (MainThread) [volkswagencarnet.vw_connection] Successfully logged in
2023-11-28 22:13:23.731 ERROR (MainThread) [custom_components.volkswagencarnet] Unexpected error fetching volkswagencarnet data: 'fuelLevelStatus'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/volkswagencarnet/__init__.py", line 502, in _async_update_data
    dashboard = vehicle.dashboard(
                ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 647, in dashboard
    return Dashboard(self, **config)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 1110, in __init__
    self.instruments = [instrument for instrument in create_instruments() if instrument.setup(vehicle, **config)]
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 1110, in <listcomp>
    self.instruments = [instrument for instrument in create_instruments() if instrument.setup(vehicle, **config)]
                                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 57, in setup
    if not self.is_supported:
           ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 103, in is_supported
    if hasattr(self.vehicle, supported):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 861, in is_oil_inspection_supported
    if not self.has_combustion_engine():
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 2531, in has_combustion_engine
    return self.is_primary_drive_combustion() or self.is_secondary_drive_combustion()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 2521, in is_primary_drive_combustion
    return find_path(self.attrs, "measurements.fuelLevelStatus.value.primaryEngineType") in ENGINE_TYPE_COMBUSTION
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_utilities.py", line 97, in find_path
    return find_path(src[path[0]], path[1:])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_utilities.py", line 97, in find_path
    return find_path(src[path[0]], path[1:])
                     ~~~^^^^^^^^^
KeyError: 'fuelLevelStatus'

VW Touran 1.5 TSI 2021

@AndreasAtHome
Copy link

AndreasAtHome commented Nov 28, 2023

Thank you for your hard work, everyone!

Continuing the party - VW Passat GTE 2018 phev

`This error originated from a custom integration.

Logger: custom_components.volkswagencarnet
Source: helpers/update_coordinator.py:290
Integration: Volkswagen We Connect (documentation, issues)
First occurred: 10:25:32 PM (3 occurrences)
Last logged: 10:26:48 PM

Unexpected error fetching volkswagencarnet data: 'measurements'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/volkswagencarnet/init.py", line 502, in _async_update_data
dashboard = vehicle.dashboard(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 647, in dashboard
return Dashboard(self, **config)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 1110, in init
self.instruments = [instrument for instrument in create_instruments() if instrument.setup(vehicle, **config)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 1110, in
self.instruments = [instrument for instrument in create_instruments() if instrument.setup(vehicle, **config)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 57, in setup
if not self.is_supported:
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 103, in is_supported
if hasattr(self.vehicle, supported):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 861, in is_oil_inspection_supported
if not self.has_combustion_engine():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 2531, in has_combustion_engine
return self.is_primary_drive_combustion() or self.is_secondary_drive_combustion()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 2521, in is_primary_drive_combustion
return find_path(self.attrs, "measurements.fuelLevelStatus.value.primaryEngineType") in ENGINE_TYPE_COMBUSTION
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_utilities.py", line 97, in find_path
return find_path(src[path[0]], path[1:])
~~~^^^^^^^^^
KeyError: 'measurements' `

Also:
`Logger: volkswagencarnet.vw_connection
Source: runner.py:186
First occurred: 10:25:31 PM (12 occurrences)
Last logged: 10:26:48 PM

Got unhandled error from server: 429
Could not fetch operation list, HTTP status code: 429
Could not fetch parkingposition for vin WVWZZZ*`

@enoch85
Copy link

enoch85 commented Nov 28, 2023

A HUGE THANK YOU for everyone working on this! Now my e-UP 2021 is finally showing entities and can be smart charged again.

EDIT
Only issue I found so far is this:

File "/config/custom_components/volkswagencarnet/switch.py", line 86, in async_turn_on
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 557, in turn_on
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 389, in set_charger
File "/config/custom_components/volkswagencarnet/switch.py", line 92, in async_turn_off
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 561, in turn_off
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 389, in set_charger
File "/config/custom_components/volkswagencarnet/switch.py", line 86, in async_turn_on
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 557, in turn_on
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 389, in set_charger
File "/config/custom_components/volkswagencarnet/switch.py", line 86, in async_turn_on
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 557, in turn_on
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 389, in set_charger

EDIT2
And these sensors seems to be gone:
(Really missing position)

image

@LucTs
Copy link

LucTs commented Nov 28, 2023

Following Sensors are not there anymore:
Touran

@mcfly1403
Copy link

Big Thanks to ALL for your Great Work Following Error on my Side:

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: volkswagencarnet.vw_connection
Source: custom_components/volkswagencarnet/init.py:527
Integration: Volkswagen WeConnect (documentation, issues)
First occurred: 22:57:48 (15 occurrences)
Last logged: 23:14:35

User identity token could not be verified!

@LucTs
Copy link

LucTs commented Nov 29, 2023

Issue with parking position:
`Logger: volkswagencarnet.vw_connection
Source: runner.py:188
First occurred: 07:40:37 (128 occurrences)
Last logged: 08:34:34

Could not fetch parkingposition for vin WVG*****
Could not fetch vehicle data, error: 'NoneType' object is not iterable
Could not fetch operation list, HTTP status code: 502`

@menloperk
Copy link

menloperk commented Nov 29, 2023

Updated to latest Beta version and tried to add integration back again... it doesn't fail now logging in anymore but I see a forever spinning 'Logging in to We Connect' window... not sure how to debug as it doesn't stop!

image

Update: I thought nothing was to be seen in the logs but I now found it:

This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/volkswagencarnet/config_flow.py:167
Integration: Volkswagen We Connect (documentation, issues)
First occurred: 8:35:07 AM (2 occurrences)
Last logged: 8:42:54 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 293, in async_configure
    result = await self._async_handle_step(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 389, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/volkswagencarnet/config_flow.py", line 166, in async_step_login
    self._init_info["CONF_VEHICLES"] = {
                                       ^
  File "/config/custom_components/volkswagencarnet/config_flow.py", line 167, in <dictcomp>
    vehicle.vin: vehicle.dashboard().instruments for vehicle in self._connection.vehicles
                 ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 647, in dashboard
    return Dashboard(self, **config)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 1110, in __init__
    self.instruments = [instrument for instrument in create_instruments() if instrument.setup(vehicle, **config)]
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 1110, in <listcomp>
    self.instruments = [instrument for instrument in create_instruments() if instrument.setup(vehicle, **config)]
                                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 57, in setup
    if not self.is_supported:
           ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 103, in is_supported
    if hasattr(self.vehicle, supported):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 861, in is_oil_inspection_supported
    if not self.has_combustion_engine():
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 2531, in has_combustion_engine
    return self.is_primary_drive_combustion() or self.is_secondary_drive_combustion()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 2521, in is_primary_drive_combustion
    return find_path(self.attrs, "measurements.fuelLevelStatus.value.primaryEngineType") in ENGINE_TYPE_COMBUSTION
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_utilities.py", line 97, in find_path
    return find_path(src[path[0]], path[1:])
                     ~~~^^^^^^^^^
KeyError: 'measurements'

@larsmarius87
Copy link

Hi Thansk alot! One issue i have on the e-golf is that it does not report remaining charge time, :)

@oliverrahner
Copy link

Just to sum up the current development status:

  • locked entities are not supposed to work right now, but I'm on it
  • same for parking_position
  • same for all information regarding last trip
  • remaining charge time should work, have to look into that one
  • all control features don't work yet

@Driekes
Copy link

Driekes commented Nov 29, 2023

On my side the Volkswagen app also doesn't load or work, so no clue if this is related to e.g. rate limiting or if Volkswagen itself has issues (NL).

Errors I see in the logging:

This error originated from a custom integration.

Logger: volkswagencarnet.vw_connection
Source: custom_components/volkswagencarnet/__init__.py:541
Integration: Volkswagen We Connect (documentation, issues)
First occurred: 00:10:25 (10 occurrences)
Last logged: 08:30:29

Something went wrong when refreshing VW account tokens.
Logger: volkswagencarnet.vw_connection
Source: runner.py:188
First occurred: 01:41:21 (323 occurrences)
Last logged: 08:50:57

Could not fetch parkingposition for vin ***
Got unhandled error from server: 429
Could not fetch operation list, HTTP status code: 429
Could not fetch operation list, HTTP status code: 502
This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/volkswagencarnet/__init__.py:271
Integration: Volkswagen We Connect (documentation, issues)
First occurred: 05:43:20 (31 occurrences)
Last logged: 08:51:02

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 233, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 389, in _async_refresh
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 172, in async_update_listeners
    update_callback()
  File "/config/custom_components/volkswagencarnet/__init__.py", line 318, in async_write_ha_state
    backend_refresh_time = self.instrument.last_refresh
                           ^^^^^^^^^^^^^^^
  File "/config/custom_components/volkswagencarnet/__init__.py", line 381, in instrument
    return self.data.instrument(self.vin, self.component, self.attribute)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/volkswagencarnet/__init__.py", line 271, in instrument
    raise ValueError(f"Instrument not found; component: {component}, attribute: {attr}")
ValueError: Instrument not found; component: binary_sensor, attribute: charging_cable_connected

@stickpin
Copy link
Collaborator

@oliverrahner unfortunately have not too much time to debug it, but it seems like for the combustion cars like Touran the "fuelLevelStatus" and in general "measurements" are different.

Here the example for my Touran:

{
   "access": {
      "accessStatus": {
         "value": {
            "overallStatus": "safe",
            "carCapturedTimestamp": "datetime.datetime(2023, 11, 28, 18, 50, 17, tzinfo=datetime.timezone.utc)",
            "doors": [
               {
                  "name": "bonnet",
                  "status": [
                     "closed"
                  ]
               },
               {
                  "name": "frontLeft",
                  "status": [
                     "locked",
                     "closed"
                  ]
               },
               {
                  "name": "frontRight",
                  "status": [
                     "locked",
                     "closed"
                  ]
               },
               {
                  "name": "rearLeft",
                  "status": [
                     "locked",
                     "closed"
                  ]
               },
               {
                  "name": "rearRight",
                  "status": [
                     "locked",
                     "closed"
                  ]
               },
               {
                  "name": "trunk",
                  "status": [
                     "locked",
                     "closed"
                  ]
               }
            ],
            "windows": [
               {
                  "name": "frontLeft",
                  "status": [
                     "closed"
                  ]
               },
               {
                  "name": "frontRight",
                  "status": [
                     "closed"
                  ]
               },
               {
                  "name": "rearLeft",
                  "status": [
                     "closed"
                  ]
               },
               {
                  "name": "rearRight",
                  "status": [
                     "closed"
                  ]
               },
               {
                  "name": "roofCover",
                  "status": [
                     "unsupported"
                  ]
               },
               {
                  "name": "sunRoof",
                  "status": [
                     "closed"
                  ]
               }
            ],
            "doorLockStatus": "locked"
         }
      }
   },
   "userCapabilities": {
      "capabilitiesStatus": {
         "value": [
            {
               "id": "access",
               "status": [
                  2003,
                  2002
               ],
               "expirationDate": "datetime.datetime(2022, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "cubicNetwork",
               "userDisablingAllowed": "False"
            },
            {
               "id": "cubicNetworkConsumption",
               "userDisablingAllowed": "False"
            },
            {
               "id": "dealerAppointment",
               "status": [
                  1004
               ],
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": true
            },
            {
               "id": "destinations",
               "status": [
                  2003,
                  2002
               ],
               "expirationDate": "datetime.datetime(2022, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "emergencyCalling",
               "expirationDate": "datetime.datetime(2031, 3, 8, 19, 24, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "fuelStatus",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "honkAndFlash",
               "status": [
                  2003,
                  2002
               ],
               "expirationDate": "datetime.datetime(2022, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "measurements",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "oilLevelStatus",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "parkingPosition",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "personalizationOnline",
               "userDisablingAllowed": "False"
            },
            {
               "id": "roadsideAssistant",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "state",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "theftWarning",
               "status": [
                  2003,
                  2002
               ],
               "expirationDate": "datetime.datetime(2022, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "transactionHistoryAntiTheftAlert",
               "status": [
                  2003,
                  2002
               ],
               "expirationDate": "datetime.datetime(2022, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "transactionHistoryAntiTheftAlertDelete",
               "status": [
                  2003,
                  2002
               ],
               "expirationDate": "datetime.datetime(2022, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "transactionHistoryHonkFlash",
               "status": [
                  2003,
                  2002
               ],
               "expirationDate": "datetime.datetime(2022, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "transactionHistoryLockUnlock",
               "status": [
                  2003,
                  2002
               ],
               "expirationDate": "datetime.datetime(2022, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "tripStatistics",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "vehicleHealth",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "vehicleHealthArchive",
               "status": [
                  1007
               ],
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "vehicleHealthInspection",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "vehicleHealthSettings",
               "status": [
                  1007
               ],
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "vehicleHealthTrigger",
               "status": [
                  1007
               ],
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "vehicleHealthWakeUp",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "vehicleHealthWarnings",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "vehicleLights",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "vehicleWakeUp",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            },
            {
               "id": "vehicleWakeUpTrigger",
               "expirationDate": "datetime.datetime(2051, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)",
               "userDisablingAllowed": "False"
            }
         ]
      }
   },
   "fuelStatus": {
      "rangeStatus": {
         "value": {
            "carCapturedTimestamp": "datetime.datetime(2023, 11, 28, 18, 50, 17, tzinfo=datetime.timezone.utc)",
            "carType": "gasoline",
            "primaryEngine": {
               "type": "gasoline",
               "currentSOC_pct": 60,
               "remainingRange_km": 340,
               "currentFuelLevel_pct": 60
            },
            "totalRange_km": 340
         }
      }
   },
   "vehicleLights": {
      "lightsStatus": {
         "value": {
            "carCapturedTimestamp": "datetime.datetime(2023, 11, 28, 18, 50, 17, tzinfo=datetime.timezone.utc)",
            "lights": [
               {
                  "name": "right",
                  "status": "off"
               },
               {
                  "name": "left",
                  "status": "off"
               }
            ]
         }
      }
   },
   "vehicleHealthInspection": {
      "maintenanceStatus": {
         "value": {
            "carCapturedTimestamp": "datetime.datetime(2023, 11, 28, 18, 50, 17, tzinfo=datetime.timezone.utc)",
            "inspectionDue_days": 402,
            "inspectionDue_km": 17500,
            "mileage_km": 33652,
            "oilServiceDue_days": 384,
            "oilServiceDue_km": 16700
         }
      }
   },
   "measurements": {
      "rangeStatus": {
         "value": {
            "carCapturedTimestamp": "datetime.datetime(2023, 11, 28, 18, 50, 17, tzinfo=datetime.timezone.utc)",
            "gasolineRange": 340,
            "totalRange_km": 340
         }
      },
      "odometerStatus": {
         "value": {
            "carCapturedTimestamp": "datetime.datetime(2023, 11, 28, 18, 50, 17, tzinfo=datetime.timezone.utc)",
            "odometer": 33652
         }
      }
   }
}

Fuel status and many other params are actually in a different path.
For example: vw_vehicle.py line 2521.
Instead of: measurements.fuelLevelStatus.value.primaryEngineType
Should be: fuelStatus.rangeStatus.value.primaryEngine.type

I will try to find some time today to try to adapt it to my Touran, I will keep you posted.

@oliverrahner
Copy link

@Driekes that "HTTP status code: 429" line means "Too many requests", so it seems to be related to rate limiting. Did that happen immediately or after a certain time?

@MHerweijer
Copy link

Updated to latest Beta version and tried to add integration back again... it doesn't fail now logging in anymore but I see a forever spinning 'Logging in to We Connect' window... not sure how to debug as it doesn't stop!

image

Update: I thought nothing was to be seen in the logs but I now found it:

This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/volkswagencarnet/config_flow.py:167
Integration: Volkswagen We Connect (documentation, issues)
First occurred: 8:35:07 AM (2 occurrences)
Last logged: 8:42:54 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 293, in async_configure
    result = await self._async_handle_step(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 389, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/volkswagencarnet/config_flow.py", line 166, in async_step_login
    self._init_info["CONF_VEHICLES"] = {
                                       ^
  File "/config/custom_components/volkswagencarnet/config_flow.py", line 167, in <dictcomp>
    vehicle.vin: vehicle.dashboard().instruments for vehicle in self._connection.vehicles
                 ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 647, in dashboard
    return Dashboard(self, **config)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 1110, in __init__
    self.instruments = [instrument for instrument in create_instruments() if instrument.setup(vehicle, **config)]
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 1110, in <listcomp>
    self.instruments = [instrument for instrument in create_instruments() if instrument.setup(vehicle, **config)]
                                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 57, in setup
    if not self.is_supported:
           ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 103, in is_supported
    if hasattr(self.vehicle, supported):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 861, in is_oil_inspection_supported
    if not self.has_combustion_engine():
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 2531, in has_combustion_engine
    return self.is_primary_drive_combustion() or self.is_secondary_drive_combustion()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 2521, in is_primary_drive_combustion
    return find_path(self.attrs, "measurements.fuelLevelStatus.value.primaryEngineType") in ENGINE_TYPE_COMBUSTION
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_utilities.py", line 97, in find_path
    return find_path(src[path[0]], path[1:])
                     ~~~^^^^^^^^^
KeyError: 'measurements'

Same here.... The logging in pop up keeps spinning

@oliverrahner
Copy link

@stickpin That is funny... for my 2023 Arteon (Diesel only), these properties are present under both nodes. I could just adapt both and check which one is available.

@Sab3rRid3r
Copy link

Same here at the moment(DE) [v4.4.67] with e-golf. The Volkswagen App is receiving no data.
Logs: "Something went wrong when refreshing VW account tokens."
Regards

@menloperk
Copy link

Also my Audi Connect integration is not loading this morning after I restarted HA for the new VW integration. So could it be the issues are on the VW/Audi side and nothing to do with the integration itself...

@maceace
Copy link

maceace commented Nov 29, 2023

Good job, the integration logs in, loads the sensors of my Polo.
For maximum satisfaction, I still lack the trip sensors.
Thank you to the creators of the integration.

@Driekes
Copy link

Driekes commented Nov 29, 2023

@Driekes that "HTTP status code: 429" line means "Too many requests", so it seems to be related to rate limiting. Did that happen immediately or after a certain time?

Let me check the logging. It did work, because I did get results after installing yesterday evening.

I also had the other component the 'id' HA component running which I disabled shortly after. That component had also recommendations to only check less than e.g. every 90 seconds, so maybe that conflicted. I will await until tomorrow to see if it resolves itself.

@janchlebek
Copy link

janchlebek commented Nov 29, 2023

On my side the Volkswagen app also doesn't load or work, so no clue if this is related to e.g. rate limiting or if Volkswagen itself has issues (NL).

Mine also did not work earlier today for about an hour or two but now it is back and data still also shows in HA - seems to me there was rather something on VW.

@Dennis1000
Copy link

@MHerweijer @menloperk I had the same problem (endless spinning) but tried some hours later again, and now it works.

@oneteam2win
Copy link

After upgrading to the beta version, I unfortunately have the same behaviour as some of the previous posters. During the login process on the integration page, the window remains permanently open with a spinning wheel.
I had already noticed the same thing 12 hours earlier. Now that the login via the web and the app works, I don't think it has anything to do with too many attempts.
My vehicle is a Passat Diesel model year 2019.
If you need further information, I'm happy to assist.

I see the following information in the log file:

2023-11-29 13:05:25.685 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 293, in async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 389, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/volkswagencarnet/config_flow.py", line 166, in async_step_login
self._init_info["CONF_VEHICLES"] = {
^
File "/config/custom_components/volkswagencarnet/config_flow.py", line 167, in
vehicle.vin: vehicle.dashboard().instruments for vehicle in self._connection.vehicles
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 647, in dashboard
return Dashboard(self, **config)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 1110, in init
self.instruments = [instrument for instrument in create_instruments() if instrument.setup(vehicle, **config)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 1110, in
self.instruments = [instrument for instrument in create_instruments() if instrument.setup(vehicle, **config)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 57, in setup
if not self.is_supported:
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 103, in is_supported
if hasattr(self.vehicle, supported):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 861, in is_oil_inspection_supported
if not self.has_combustion_engine():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 2531, in has_combustion_engine
return self.is_primary_drive_combustion() or self.is_secondary_drive_combustion()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 2521, in is_primary_drive_combustion
return find_path(self.attrs, "measurements.fuelLevelStatus.value.primaryEngineType") in ENGINE_TYPE_COMBUSTION
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_utilities.py", line 97, in find_path
return find_path(src[path[0]], path[1:])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_utilities.py", line 97, in find_path
return find_path(src[path[0]], path[1:])

KeyError: 'fuelLevelStatus'

@oliverrahner
Copy link

Most of the above issues should already be fixed (for technical details, you might look at robinostlund/volkswagencarnet#216).
We are now waiting for @robinostlund to push out another beta release for you to test.
In the meantime, I'm trying to get the command stuff working (stop/start charging, stop/start climatisation, stop/start window heating, lock/unlock car).

@oliverrahner
Copy link

oliverrahner commented Nov 29, 2023

Also, the additional features now working are:

  • locked entities
  • parking_position
  • last_trip information

@jurrianv
Copy link

Updated to latest Beta version and tried to add integration back again... it doesn't fail now logging in anymore but I see a forever spinning 'Logging in to We Connect' window... not sure how to debug as it doesn't stop!

image

Update: I thought nothing was to be seen in the logs but I now found it:

This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/volkswagencarnet/config_flow.py:167
Integration: Volkswagen We Connect (documentation, issues)
First occurred: 8:35:07 AM (2 occurrences)
Last logged: 8:42:54 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 293, in async_configure
    result = await self._async_handle_step(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 389, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/volkswagencarnet/config_flow.py", line 166, in async_step_login
    self._init_info["CONF_VEHICLES"] = {
                                       ^
  File "/config/custom_components/volkswagencarnet/config_flow.py", line 167, in <dictcomp>
    vehicle.vin: vehicle.dashboard().instruments for vehicle in self._connection.vehicles
                 ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 647, in dashboard
    return Dashboard(self, **config)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 1110, in __init__
    self.instruments = [instrument for instrument in create_instruments() if instrument.setup(vehicle, **config)]
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 1110, in <listcomp>
    self.instruments = [instrument for instrument in create_instruments() if instrument.setup(vehicle, **config)]
                                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 57, in setup
    if not self.is_supported:
           ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 103, in is_supported
    if hasattr(self.vehicle, supported):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 861, in is_oil_inspection_supported
    if not self.has_combustion_engine():
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 2531, in has_combustion_engine
    return self.is_primary_drive_combustion() or self.is_secondary_drive_combustion()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 2521, in is_primary_drive_combustion
    return find_path(self.attrs, "measurements.fuelLevelStatus.value.primaryEngineType") in ENGINE_TYPE_COMBUSTION
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_utilities.py", line 97, in find_path
    return find_path(src[path[0]], path[1:])
                     ~~~^^^^^^^^^
KeyError: 'measurements'

The same error here. I got a VW Passat Variant model 2018.

@MHerweijer
Copy link

@MHerweijer @menloperk I had the same problem (endless spinning) but tried some hours later again, and now it works.

I ended up deleting it from hacs, rebooting, installing again and then I was able to install the integration without any spinning.

Keep up the good work guys!

@oliverrahner
Copy link

oliverrahner commented Nov 29, 2023

Please make sure to update to the release from ~2:40 PM today before posting any further issues!

image

@oliverrahner
Copy link

Everything should work now, apart from control stuff (stop/start charging, stop/start climatisation, stop/start window heating, lock/unlock car).

@oliverrahner
Copy link

oliverrahner commented Nov 29, 2023

Just as a reminder, should anybody feel overwhelmingly thankful :)
@robinostlund 's buymeacoffee: https://www.buymeacoffee.com/robinostlund
my ko-fi: https://ko-fi.com/oliverrahner

@deluxestyle
Copy link

@stickpin ah thanks. I might missed that.

@danielszilagyi
Copy link

Hey all, we have prepared a new release of the underlying library. Those of you who are able to do it, could you pull robinostlund/volkswagencarnet#226 to test it on your instances?

I just got time to do it. Actually updating the integration manifest.json file's dependency section to this:

    "requirements": [
        "pytz",
        "git+https://github.com/robinostlund/volkswagencarnet.git@next-stable#volkswagencarnet==4.4.65"
    ],

Results in HA managing the installation of the dependency directly from the branch, unless there is a 4.4.65 tag already (which doesn't exist yet):

2023-12-12 00:02:24.467 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of git+https://github.com/robinostlund/volkswagencarnet.git@next-stable#volkswagencarnet==4.4.65

I will keep you posted with the results, with the previous (current) beta I usually get locked out by the evening hours with 1 hour refresh time set in the integration.

@maceace
Copy link

maceace commented Dec 12, 2023

Hello
My question is simple and probably of interest to many users of this integration. I would like to ask @robinostlund whether we can expect any progress in the development of integration or whether the development is finished.
Thank you for the good work so far.

@Dennis1000
Copy link

@maceace just read the whole thread.

@stickpin
Copy link
Collaborator

The new beta released: https://github.com/robinostlund/homeassistant-volkswagencarnet/releases/tag/v4.4.69-beta3

@kp-bit
Copy link

kp-bit commented Dec 12, 2023

The new beta released: https://github.com/robinostlund/homeassistant-volkswagencarnet/releases/tag/v4.4.69-beta3

Awesome work guys! Little snag though, it logs on fine but reports wrong car type (Passat vs Golf, I can live with that), but the only sensors I get are these:

image

@maceace
Copy link

maceace commented Dec 12, 2023

Vyšla nová beta: https://github.com/robinostlund/homeassistant-volkswagencarnet/releases/tag/v4.4.69-beta3

Úžasná práce kluci! Malý zádrhel, přihlásí se dobře, ale hlásí špatný typ auta (Passat vs Golf, s tím dokážu žít), ale jediné senzory, které mám, jsou tyto:

obraz

I have all my sensors in the number of 37, I didn't even add all the API sensors.

@stickpin
Copy link
Collaborator

The new beta released: https://github.com/robinostlund/homeassistant-volkswagencarnet/releases/tag/v4.4.69-beta3

Awesome work guys! Little snag though, it logs on fine but reports wrong car type (Passat vs Golf, I can live with that), but the only sensors I get are these:

image

See API status. You are rate-limited. That's why you don't see the sensors.
You will have to wait until midnight or something when VW will unblock you.

@kp-bit
Copy link

kp-bit commented Dec 12, 2023

I have all my sensors in the number of 37, I didn't even add all the API sensors.

I might be rate limited, the app won't connect right now either - will check tomorrow.

@maceace
Copy link

maceace commented Dec 13, 2023

Vyšla nová beta: https://github.com/robinostlund/homeassistant-volkswagencarnet/releases/tag/v4.4.69-beta3

Thank you very much for releasing beta3.
I would like to draw your attention to a non-functional sensor binary_sensor.xxxxx_vehicle_moving
Thank you for the work of all the developers involved.

@stickpin
Copy link
Collaborator

Vyšla nová beta: https://github.com/robinostlund/homeassistant-volkswagencarnet/releases/tag/v4.4.69-beta3

Thank you very much for releasing beta3. I would like to draw your attention to a non-functional sensor binary_sensor.polo_vehicle_moving Thank you for the work of all the developers involved.

Thanks for reporting.
Yes, we will release a new beta soon with the fix (robinostlund/volkswagencarnet#231).

@stickpin
Copy link
Collaborator

@maceace the new beta released: https://github.com/robinostlund/homeassistant-volkswagencarnet/releases/tag/v4.4.69-beta4 vehicle_moving sensor should work now.

@maceace
Copy link

maceace commented Dec 13, 2023

@maceace the new beta released: https://github.com/robinostlund/homeassistant-volkswagencarnet/releases/tag/v4.4.69-beta4 vehicle_moving sensor should work now.

Thank you very much.
I will test the moving sensor as soon as I can.
I also noticed the removal of duplicate lock sensors.
Great job.
Thank you.

@maceace
Copy link

maceace commented Dec 13, 2023

@maceace the new beta released: https://github.com/robinostlund/homeassistant-volkswagencarnet/releases/tag/v4.4.69-beta4 vehicle_moving sensor should work now.

Sorry, I just noticed that I'm missing the overall average fuel economy sensor.
I can only see the fuel economy sensor on the trip.

EDIT:
Sorry, it's my own statistical sensor.

@AlexJacu
Copy link

AlexJacu commented Dec 14, 2023

@maceace the new beta released: https://github.com/robinostlund/homeassistant-volkswagencarnet/releases/tag/v4.4.69-beta4 vehicle_moving sensor should work now.

Sorry, binary.sensor.vehicle_moving and device_tracker.position still not working with eUP!
Also using beta4 none of the switches are working. All switches states " switch/turn_on. Remote control of climatisation functions is not supported."
I found, that before Beta 4 it had 44 entities, now only 34 entities are shown.
Most of the missing entities worked befor update to beta4

from log:
File "/config/custom_components/volkswagencarnet/switch.py", line 86, in async_turn_on
await self.instrument.turn_on()
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 557, in turn_on
await self.vehicle.set_charger("start")
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 400, in set_charger
raise Exception("Remote start/stop of charger is not supported.")
Exception: Remote start/stop of charger is not supported.
2023-12-14 10:55:56.642 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139677052463552] Remote start/stop of charger is not supported.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 238, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2067, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2104, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 272, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 878, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/volkswagencarnet/switch.py", line 86, in async_turn_on
await self.instrument.turn_on()
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_dashboard.py", line 557, in turn_on
await self.vehicle.set_charger("start")
File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_vehicle.py", line 400, in set_charger
raise Exception("Remote start/stop of charger is not supported.")
Exception: Remote start/stop of charger is not supported.

@virtualdj
Copy link

@AlexJacu I think remote controls (such as start charging, climatisation, etc.) are not implemented yet in the current beta.
I'm waiting for them too, but obviously rewriting all the stuff takes time.

@drlauridsen
Copy link

Hi Thansk alot! One issue i have on the e-golf is that it does not report remaining charge time, :)

Same here, also with egolf.

Thanks for making the integration work again..

@gwilford
Copy link

Great work with beta4 guys!

I'm sure you know most if not all of the below, but I've repeated the full list in-case it's useful...

For my Golf GTE hybrid, all previous vwcarnet sensors are back and appear to be working reliably, except:

  • Charger max ampere (state is always 'invalid')
  • Charging time left (unavailable)
  • Heater source for departure timers (unavailable)
  • Last connected (unavailable)
  • Minimum charge level for departure timers (unavailable)
  • Requests remaining (state is always -1)
  • Request results (state is always unknown)

Departure schedules in configuration are all unavailable and while controls appear to reflect current state, their operation fails.

@oliverrahner
Copy link

I implemented the lock controls, which is now way easier than it was before.
Unfortunately, I got myself locked out of my account because of too many login attempts 😂
So I'll test it tomorrow to see if it works.

@Jaspils
Copy link

Jaspils commented Dec 16, 2023

Really happy with all your work on this! Running beta-4 now, and all currently working sensors seem to be updating and the API remains up.

However, since my car is quiet limited in functions, none of the interactive functions are currently working. Through the Volkswagen App (as well as WeConnect before), the following functions are available:

  • Parking heater (enable/disable)
  • Parking ventilation (enable/disable)
  • Blink lights
  • Blink lights and honk
  • Setting departure times for climatisation

note: I mentioned heater and ventilation seperately, because that was the case previously in WeConnect and the integration. However, in the new Volkswagen App, they have combined the two so that I can only enable/disable climatisation. It then mentions that heating or ventilation is selected, based on the current temperature. There is no way to manually choose heating of ventilation through the app now. But in the car itself, it is a different setting on the Auxiliary heater.

Another function that is available in the Volkswagen app (and also was available in the WeConnect app, but never in the integration), is setting departure times for climatisation. However, when this function is enabled, it doesn't really seem to actually work at all. So I'm not entirely sure what goes wrong here. Just want to mention that this is potentially something that you can find when investigating this.

Regarding blinking and honking, I honestly can't remember if it was included in the integration before, since it is something I never used.

I would love to help, but my skills are very limited in this case, compared to you guys.

@oliverrahner
Copy link

@Jaspils I have just implemented to lock/unlock scenario, because I could test that with my own car. Next might be the blink lights (and horn) scenario.
After that I'm going to try to work on the other calls, courtesy to @TheBlackBGD and the credentials to his car 😬
But before that we will release a stable version with the features we currently got to make them available to the complete user base.

@oliverrahner
Copy link

@robinostlund @stickpin I suggest we close these very large threads once we release the next stable version to keep things well separated again

@stickpin
Copy link
Collaborator

@oliverrahner yes, I agree. :)

@TheBlackBGD
Copy link

@Jaspils I have just implemented to lock/unlock scenario, because I could test that with my own car. Next might be the blink lights (and horn) scenario.

After that I'm going to try to work on the other calls, courtesy to @TheBlackBGD and the credentials to his car 😬

But before that we will release a stable version with the features we currently got to make them available to the complete user base.

@oliverrahner you can keep them good, as i will not change them, and test anytime you want or like, you really did an awsome job all of you of course!
What i have noticed that even with the beta 4 the vehicle moving sensor does not change.
However a stupid question from my side, as somebody told me that in the past he was able to lock his vw e-up from the app, i never saw this in the app, do you think it is possible to have this feature ?Andif yes, maybe set them up in home assistant?

@maceace
Copy link

maceace commented Dec 17, 2023

Hello.
Confirm that the vehicle move sensor is working properly.
Thank you for the good work.

@csiemsen
Copy link

Hi,
good work. The most important data is back.
However, there is an error in "Last trip average recuperation". See photo.
UP

@stickpin
Copy link
Collaborator

@csiemsen should be fixed once we merge this PR: robinostlund/volkswagencarnet#237

Thanks for reporting.

@enoch85
Copy link

enoch85 commented Dec 18, 2023

PR is now merged, please close this and open separate issues for each thing that's not working.

Thanks! 👌🏼✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests