CMQTT Client that publishes data from Volkswagen WeConnect
MQTT Client that publishes data from Volkswagen WeConnect Services
What is the purpose?
If you want to integrate data from your weconnect enabled car a standard protocol such as MQTT can be very helpful. This Client enables you to integrate with the MQTT Broker of your choice (e.g. your home automation solution such as ioBroker, FHEM or Home Assistant)
You need to install python 3 on your system: How to install python
How to install
If you want to use WeConnect-mqtt, the easiest way is to obtain it from PyPI. Just install instead using:
pip3 install weconnect-mqtt
If you want to update WeConnect-mqtt, the easiest way is:
pip3 install weconnect-mqtt --upgrade
There is also a Docker image to easily host WeConnect-MQTT: See on Dockerhub
How to use
Start weconnect-mqtt from the commandline:
You get all the usage information by using the --help command
An example to connect with an MQTT broker at 192.168.0.1 with user test and password test123 is
weconnect-mqtt --username firstname.lastname@example.org --password test123 --mqttbroker 192.168.0.1 --mqtt-username test --mqtt-password test123 --prefix weconnect
The client uses user email@example.com and password test123 in this example to connect to weconnect
If you do not want to provide your username or password all the time you have to create a ".netrc" file at the appropriate location (usually this is your home folder):
# For WeConnect machine volkswagen.de login firstname.lastname@example.org password testpassword123 # For the MQTTBroker machine 192.168.0.1 login test password testpassword123
You can also provide the location of the netrc file using the --netrc option
- Volkswagen ID.3 Modelyear 2021
- Volkswagen Passat GTE Modelyear 2021
Please feel free to open an issue at GitHub Issue page to report problems you found.
- The Tool is in alpha state and may change unexpectedly at any time!
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size weconnect_mqtt-0.6.1-py3-none-any.whl (9.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size weconnect-mqtt-0.6.1.tar.gz (11.5 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for weconnect_mqtt-0.6.1-py3-none-any.whl