Registry / http-networking / volkswagencarnet

volkswagencarnet

JSON →
library5.4.5pypypi✓ verified 85d ago

Python library to communicate with Volkswagen Connect (WeConnect) API. Current version 5.4.5, requires Python >=3.11. Actively maintained, release cadence irregular but frequent bug fixes and features.

pip install volkswagencarnet
INSTALL
IMPORT
SIG · VOLKSWAGENCARNET
V
volkswagencarnet
http-networkingpythonv5.4.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Connection
import volkswagencarnet
from volkswagencarnet import Connection
Connection is not a top-level import; use the main module to authenticate and get vehicles.
Vehicle
import volkswagencarnet
from volkswagencarnet import Vehicle
Vehicle objects are obtained via Connection.vehicles, not directly imported.

Authenticate with Volkswagen Connect and list vehicles.

import os import volkswagencarnet email = os.environ.get('VW_USERNAME', '') password = os.environ.get('VW_PASSWORD', '') conn = volkswagencarnet.Connection(email, password) conn.doLogin() vehicles = conn.vehicles for vin, vehicle in vehicles.items(): print(f'VIN: {vin}, Model: {vehicle.model()}')
Debug
Known issues
breakingPython >=3.11 required. This library will not install on older Python versions.
fix
Upgrade to Python 3.11 or later.
affects: >=5.0.0
gotchaLogin may fail due to region-locked accounts or captcha challenges. The library currently does not handle captcha.
fix
Ensure account region matches the API regional endpoint (use Connection(..., country='DE') etc.). If captcha appears, manual intervention is required.
affects: all
deprecatedThe old `get_selectivestatus` with hardcoded service list is deprecated in favor of dynamic discovery based on active services.
fix
Update custom code to use Vehicle.update() which automatically fetches only discovered active services.
affects: >=5.4.2
gotchaAuxiliary heating entities may be missing after update if the vehicle does not support them. This is not a bug but a vehicle-specific limitation.
fix
Check vehicle capability via `vehicle.capabilities` before relying on auxiliary heating entities.
affects: >=5.4.4
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'volkswagencarnet'
The library is not installed or installed in a different Python environment.
fix
Run `pip install volkswagencarnet` in the correct environment (Python >=3.11).
volkswagencarnet.exceptions.LoginFailedException: Technical problem
Incorrect credentials or region mismatch; sometimes the VW backend returns a generic error.
fix
Double-check username and password. Try specifying country code: Connection(email, password, country='DE'). Ensure account is registered for WeConnect.
AttributeError: module 'volkswagencarnet' has no attribute 'Connection'
Trying to import Connection from the module but it's not a direct attribute (old version or wrong import).
fix
Use `import volkswagencarnet` and then `volkswagencarnet.Connection(...)`. In older versions (<5.0) the class was named differently. Check installed version.
Upgrade
Version history
5.4.5latest on PyPI · released Jan 21, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
52 hits · last 30 days
node
44
OpenAI (training)
1
Resources
volkswagencarnet — pip install volkswagencarnet · libregistry