robinostlund/homeassistant-volkswagencarnet

[BUG] Unlocking/Locking vehicle is not working

eopo opened this issue · 0 comments

eopo commented

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

  • 1.) Can you login using the smartphone app We Connect (not We Connect ID or We Connect GO) and interact with your car?
  • 2.) Please make sure that you can login into https://vwid.vwgroup.io/ and make sure that any "Terms and Conditions" are all checked
  • 3.) I do not have MFA enabled.

Environment

  • Volkswagencarnet release with the issue: 4.4.64
  • Last working homeassistant-volkswagencarnet release (if known): -
  • Home Assistant Core release with the issue: 2023.8.2
  • Operating environment (Home Assistant OS/Supervised/Container/Core/venv): HA OS
  • Car model and year: Passat 2022
  • Country where the car was bought: DE
  • Valid We Connect subscription: Yes
  • Have you verified that the We Connect service works via VW´s portal?: Via App

Describe the bug

It is not possible to lock or unlock my vehicle via the HA integration

Steps to Reproduce

  • Setup Integration via HASS
  • Add Vehicle
  • Try to unlock or lock the vehicle using the lock service
  • Wait a minute or so and trigger a force refresh or monitor the car itself
  • Observe, that neither the car does actually lock or unlock, nor the state is update in the WeConnect App or the Home Assistant integration

Expected behavior

Vehicle is locked or unlocked an locking state is updated

Screenshots

--

Traceback/Error logs

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: volkswagencarnet.vw_connection
Source: custom_components/volkswagencarnet/lock.py:57 
Integration: Volkswagen WeConnect (documentation, issues) 
First occurred: 00:11:11 (1 occurrences) 
Last logged: 00:11:11

Got unhandled error from server: 404

Debug information - all JSON responses from logfile

2023-08-17 23:40:33.040 DEBUG (MainThread) [volkswagencarnet.vw_connection] HTTP GET "https://mal-3a.prd.eu.dp.vwg-connect.com/api/rolesrights/authorization/v2/vehicles/[[redacted]]/services/rlu_v1/operations/UNLOCK/security-pin-auth-requested"
2023-08-17 23:40:33.203 DEBUG (MainThread) [volkswagencarnet.vw_connection] HTTP GET "https://mal-3a.prd.eu.dp.vwg-connect.com/api/rolesrights/authorization/v2/vehicles/[[redacted]]/services/rlu_v1/operations/UNLOCK/security-pin-auth-requested"
2023-08-17 23:40:33.350 DEBUG (MainThread) [volkswagencarnet.vw_connection] Request for "https://mal-3a.prd.eu.dp.vwg-connect.com/api/rolesrights/authorization/v2/vehicles/[[redacted]]/services/rlu_v1/operations/UNLOCK/security-pin-auth-requested" returned with status code [200], response: {'securityPinAuthInfo': {'securityToken': '[[redacted]]', 'securityPinTransmission': {'hashProcedureVersion': 2, 'challenge': '[[redacted]]'}, 'remainingTries': 3}}
2023-08-17 23:40:33.351 DEBUG (MainThread) [volkswagencarnet.vw_connection] HTTP POST "https://mal-3a.prd.eu.dp.vwg-connect.com/api/rolesrights/authorization/v2/security-pin-auth-completed"
2023-08-17 23:40:33.462 DEBUG (MainThread) [volkswagencarnet.vw_connection] Request for "https://mal-3a.prd.eu.dp.vwg-connect.com/api/rolesrights/authorization/v2/vehicles/[[redacted]]/services/rlu_v1/operations/UNLOCK/security-pin-auth-requested" returned with status code [200], response: {'securityPinAuthInfo': {'securityToken': '[[redacted]]', 'securityPinTransmission': {'hashProcedureVersion': 2, 'challenge': '[[redacted]]'}, 'remainingTries': 3}}
2023-08-17 23:40:33.463 DEBUG (MainThread) [volkswagencarnet.vw_connection] HTTP POST "https://mal-3a.prd.eu.dp.vwg-connect.com/api/rolesrights/authorization/v2/security-pin-auth-completed"
2023-08-17 23:40:33.544 DEBUG (MainThread) [volkswagencarnet.vw_connection] Request for "https://mal-3a.prd.eu.dp.vwg-connect.com/api/rolesrights/authorization/v2/security-pin-auth-completed" returned with status code [200], response: {'securityToken': '[[redacted]]'}
2023-08-17 23:40:33.545 DEBUG (MainThread) [volkswagencarnet.vw_connection] HTTP POST "https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/rlu/v1/VW/DE/vehicles/[[redacted]]/actions"
2023-08-17 23:40:33.729 DEBUG (MainThread) [volkswagencarnet.vw_connection] Request for "https://mal-3a.prd.eu.dp.vwg-connect.com/api/rolesrights/authorization/v2/security-pin-auth-completed" returned with status code [200], response: {'securityToken': '[[redacted]]'}
2023-08-17 23:40:33.731 DEBUG (MainThread) [volkswagencarnet.vw_connection] HTTP POST "https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/rlu/v1/VW/DE/vehicles/[[redacted]]/actions"
2023-08-17 23:40:33.779 DEBUG (MainThread) [volkswagencarnet.vw_connection] Request for "https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/rlu/v1/VW/DE/vehicles/[[redacted]]/actions" returned with status code [202], response: {'rluActionResponse': {'requestId': 1261135595, 'vin': '[[redacted]]'}, 'rate_limit_remaining': '13'}
2023-08-17 23:40:33.779 DEBUG (MainThread) [volkswagencarnet.vw_connection] Data call returned: {'rluActionResponse': {'requestId': 1261135595, 'vin': '[[redacted]]'}, 'rate_limit_remaining': '13'}
2023-08-17 23:40:33.780 DEBUG (MainThread) [volkswagencarnet.vw_connection] Request for lock action returned with state "1261135595", request id: 1261135595, remaining requests: 13
2023-08-17 23:40:33.780 INFO (MainThread) [volkswagencarnet.vw_vehicle] 13 requests
2023-08-17 23:40:33.782 DEBUG (MainThread) [volkswagencarnet.vw_connection] HTTP GET "https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/lock/v1/VW/DE/vehicles/[[redacted]]/requests/1261135595/status"
2023-08-17 23:40:33.822 ERROR (MainThread) [volkswagencarnet.vw_connection] Got unhandled error from server: 404

Additional context