Python API for the Cupra Born online services
Project description
WeConnect-Cupra-python
Python API for the 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-cupra-daern[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
- To get started have a look in the examples folder
Tested with
- Cupra Born Model year 2022/23
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
Largely based on WeConnect-python for VW from https://github.com/tillsteinbach/WeConnect-python, with the initial Cupra port developed by Alan Gibson Inspired by TA2k/ioBroker.vw-connect that gave me a point to start working with the API
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
Built Distribution
Hashes for weconnect-cupra-daern-0.50.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5de44192ea8594cf0e75332d80fd10686d646b8d2b7002563d593026d568f3bf |
|
MD5 | 5916f546a46d8ec5e818966fc018ea91 |
|
BLAKE2b-256 | aedaeaa033633b311f7edfd9e40de70f5ef96bee5f1aa63bd358e6194b877ce1 |
Hashes for weconnect_cupra_daern-0.50.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01cd3e69cad3a93e394338fb851ced70ad32172f53496759e3af0e8816e782ba |
|
MD5 | 42e906b1132230bf003283e355f31559 |
|
BLAKE2b-256 | f2528b9a9fc40539c8c5ba413b2f303e7ef9dc1913e360e1d3ea7f8c062fe6d3 |