Skip to main content

WeConnect-python

GitHub sourcecode GitHub release (latest by date) GitHub GitHub issues PyPI - Downloads PyPI - Python Version Donate at PayPal Sponsor at Github

Python API for the Volkswagen WeConnect and Cupra MyCupra Services. If you are not a developer and ended up here you probably want to check out a project using this library (see below).

Projects in which the library is used

  • VWsFriend: VWsFriend records statistics about your car (charging sessions, battery, trips, fueling, etc.) and displays them nicely. It also allows you to forward data from the car to other applications such as A better routeplanner and allows you to integrate your car into Apple HomeKit
  • WeConnect-cli: A commandline interface to interact with WeConnect
  • WeConnect-MQTT: A MQTT Client that provides WeConnect data to the MQTT Broker of your choice (e.g. your home automation solution such as ioBroker, FHEM or Home Assistant)

Install

pip3 install weconnect[Images]

Package

python3 -m pip install --upgrade build
python3 -m build --sdist
python3 -m build --wheel

Distribute

python3 -m pip install --upgrade twine
python3 -m twine upload --repository pypi dist/*

Getting started

Tested with

  • Volkswagen ID.3 Modelyear 2021
  • Volkswagen Passat GTE Modelyear 2021
  • Cupra Born Modelyear 2022

Login & Consent

WeConnect-python is based on the new WeConnect ID API that was introduced with the new series of ID cars. If you use another car or hybrid you probably need to agree to the terms and conditions of the WeConnect ID interface. Easiest to do so is by installing the WeConnect ID app on your smartphone and login there. If necessary you will be asked to agree to the terms and conditions.

Reporting Issues

Please feel free to open an issue at GitHub Issue page to report problems you found.

Known Issues

  • The API is in alpha state and may change unexpectedly at any time! Please conscider this and pin to a specific version if you depend on it.
  • Examples and API documentation is missing

Credits

Inspired by TA2k/ioBroker.vw-connect that gave me a point to start working with the API

Seat, Cupra, Skoda IV, ...

In an effort to try to make WeConnect-python also to work with latest generation of vehicles from other volkswagen brands I'm looking for users to temporarily share access to their accounts. If you are willing to support please send me a message.

  • Already tried: Cupra Born (The API looks a bit different, maybe it is older, I will check again in some weeks), thanks to the user initdebugs

Metadata

Release files for weconnect-cupra 0.49.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for weconnect-cupra 0.49.9
File Size Uploaded
weconnect-cupra-0.49.9.tar.gz 142.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for weconnect-cupra 0.49.9
File Interpreter ABI Platform
weconnect_cupra-0.49.9-py3-none-any.whl Python 3 none any Details

Total release size: 324.9 kB

Release files / weconnect-cupra-0.49.9.tar.gz

Download URL weconnect-cupra-0.49.9.tar.gz
Size 142.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5a970a8a0ecb6e646e88b9e5a596434b91e5a9adf5c958a9fbda14c0bd8d7952
BLAKE2b-256 checksum
How to use checksums
c0e7242e2430e0f4464c38513d75ef407c07d24f4924580a914218194ec82ebb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / weconnect_cupra-0.49.9-py3-none-any.whl

Download URL weconnect_cupra-0.49.9-py3-none-any.whl
Size 182.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
478981a9f41ee14d4b28faa560fba504c4f250cef5fcae0c34b19ddd46dbdc28
BLAKE2b-256 checksum
How to use checksums
934d83a49304f022d99dd77d34d0d5754adb4134ae5489df1eeba74661e75ad5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page