Skip to main content

Python API for the Volkswagen WeConnect Services

Project description

WeConnect-python

WARNING:

:warning: :warning: :warning:

WeConnect-python will reach end of life this year. It will be repalced by CarConnectivity which will provide equal functionality but for more brands such as Volkswagen, Skoda, Seat, Cupra. Developers should start to check if moving to CarConnectivity is an option.

:warning: :warning: :warning:

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 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)

WARNING

Use this API with care. If you use it wrong (e.g. too many logins, repeated login attempts with wrong password, ...) your account may get blocked.

Install

pip3 install weconnect[Images]

The minimum required python version is 3.8

Getting started

Tested with

  • Volkswagen ID.3 Modelyear 2021
  • Volkswagen Passat GTE Modelyear 2021

Login & Consent

WeConnect-python is based on the new WeConnect 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 new WeConnect interface. Easiest to do so is by installing the Volkswagen 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, ...

Now owning a Skoda vehicle I'm about to make a rewrite of this library called CarConnectivity, I hope this will be ready for a first release in early 2025

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

weconnect-0.60.11.tar.gz (132.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

weconnect-0.60.11-py3-none-any.whl (166.3 kB view details)

Uploaded Python 3

File details

Details for the file weconnect-0.60.11.tar.gz.

File metadata

  • Download URL: weconnect-0.60.11.tar.gz
  • Upload date:
  • Size: 132.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for weconnect-0.60.11.tar.gz
Algorithm Hash digest
SHA256 dbe9f1a348297f8c5c01c2fcaef139e6e12099800f6a36318de0b5daa4b036a7
MD5 44f9663236137b93815ef3347f91676f
BLAKE2b-256 ee2a5cda4510d14aa030e7ec13af20a02af2ba157a1b3e4b3f9d76c14c553a86

See more details on using hashes here.

File details

Details for the file weconnect-0.60.11-py3-none-any.whl.

File metadata

  • Download URL: weconnect-0.60.11-py3-none-any.whl
  • Upload date:
  • Size: 166.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for weconnect-0.60.11-py3-none-any.whl
Algorithm Hash digest
SHA256 edb5585fd5246b62ba7fc097df46faf0d3b2088054c8d621e522b5421071a396
MD5 99745bbe1ca99d56bf36d53cfb73eae7
BLAKE2b-256 18ddd34ae18dd04beed7cfbf6b96f537825525be9722982e7b80e595085ee43d

See more details on using hashes here.

Supported by

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