Skip to main content

Python API for the Volkswagen WeConnect Services

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weconnect-cupra-one-edition-0.1.4.tar.gz (142.1 kB view details)

Uploaded Source

Built Distribution

weconnect_cupra_one_edition-0.1.4-py3-none-any.whl (182.9 kB view details)

Uploaded Python 3

File details

Details for the file weconnect-cupra-one-edition-0.1.4.tar.gz.

File metadata

File hashes

Hashes for weconnect-cupra-one-edition-0.1.4.tar.gz
Algorithm Hash digest
SHA256 319946b4ee596dbaa39416c733e31a176e1ebffb8c2b23f349017c7245946e1c
MD5 0a81d0902ed5a7120ddec431c65e8333
BLAKE2b-256 394c7d79cc04bb82b2c4a2c885806d2fa88c22c56d955898abea05fc06a156de

See more details on using hashes here.

File details

Details for the file weconnect_cupra_one_edition-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for weconnect_cupra_one_edition-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2dc93f8cfc7bd64cb5f539ad9b6e61c787c46bf6ba3efa2ddd60f3955dbee615
MD5 4adb99ad7b4c9ad5b4bbde144b4e4300
BLAKE2b-256 f8aed4181f7fb31b9d2375520482f53d540c4b2b57b6dd9008e5cfe5b0c96e90

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page