All Projects → tillsteinbach → WeConnect-mqtt

tillsteinbach / WeConnect-mqtt

Licence: MIT License
MQTT Client that publishes data from Volkswagen WeConnect

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to WeConnect-mqtt

WeConnect-cli
Commandline Interface to interact with the Volkswagen WeConnect Services
Stars: ✭ 27 (+92.86%)
Mutual labels:  telemetry, volkswagen, telemetry-data, carnet, weconnect, telemetry-client, volkswagen-carnet, volkswagen-weconnect
WeConnect-python
Python API for the Volkswagen WeConnect Services
Stars: ✭ 27 (+92.86%)
Mutual labels:  telemetry, volkswagen, telemetry-data, carnet, weconnect, volkswagen-carnet, volkswagen-weconnect
VWsFriend
VW WeConnect visualization and control
Stars: ✭ 130 (+828.57%)
Mutual labels:  car, volkswagen, volkswagen-carnet, volkswagen-weconnect
Luamqtt
luamqtt - Pure-lua MQTT v3.1.1 and v5.0 client
Stars: ✭ 58 (+314.29%)
Mutual labels:  mqtt, smarthome, mqtt-client
mqtt-datasource
MQTT Datasource for Grafana allows streaming data from any MQTT broker running either locally or remotely.
Stars: ✭ 99 (+607.14%)
Mutual labels:  mqtt, mqtt-client, mqtt-protocol
Mqttnet
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
Stars: ✭ 2,486 (+17657.14%)
Mutual labels:  mqtt, mqtt-client, mqtt-protocol
mqttools
MQTT version 5.0 client and broker using asyncio
Stars: ✭ 44 (+214.29%)
Mutual labels:  mqtt, mqtt-client
ccu-addon-mosquitto
Mosquitto packaged as Addon for the Homematic CCU3 and RaspberryMatic
Stars: ✭ 23 (+64.29%)
Mutual labels:  mqtt, smarthome
rpi2mqtt
Connect RaspberryPi GPIOs and 1-Wire temperature sensors to MQTT 🍰🔘📡
Stars: ✭ 20 (+42.86%)
Mutual labels:  mqtt, smarthome
libzwaveip
libzwaveip - Control Z-Wave devices from your IP network
Stars: ✭ 76 (+442.86%)
Mutual labels:  smarthome, smart-home
CODESYS-MQTT
MQTT client library for CODESYS, supporting all QoS
Stars: ✭ 63 (+350%)
Mutual labels:  mqtt, mqtt-client
BulletGCSS
A High Caliber Ground Control Station System designed for the 21st century lifestyle
Stars: ✭ 29 (+107.14%)
Mutual labels:  mqtt, telemetry
ad-alexatalkingclock
Alexa (or other Smart Speakers) tell you the time without asking every hour. Please ⭐️if you like my app :)
Stars: ✭ 30 (+114.29%)
Mutual labels:  smarthome, smart-home
thermomat
Low cost smart home IOT heating with adapted eq3n and esp8266-07. Server, Webapp and ESP8266 code for autonomous thermostat controling over the internet.
Stars: ✭ 17 (+21.43%)
Mutual labels:  smarthome, smart-home
zigbee
Database of Zigbee devices compatible with third party gateways: ZHA, deCONZ, Zigbee2MQTT, Tasmota, ZiGate, ioBroker,
Stars: ✭ 117 (+735.71%)
Mutual labels:  smarthome, smart-home
wyzesense2mqtt
Configurable WyzeSense to MQTT Gateway intended for use with Home Assistant or other platforms that use MQTT discovery mechanisms.
Stars: ✭ 55 (+292.86%)
Mutual labels:  mqtt, mqtt-client
mqtt-mock
mqtt压测工具。支持subscribe、publish压测方式,支持模拟客户端连接数。
Stars: ✭ 78 (+457.14%)
Mutual labels:  mqtt, mqtt-client
cbj app
📱 CyBear Jinni App is the app to control CyBear Jinni Hub 💡 remotely from your Android, IOS and Web Browser. If you have ever wondered "Is there an open-source project to make my own smart home?", This is part of one.
Stars: ✭ 68 (+385.71%)
Mutual labels:  smarthome, smart-home
kotori
A flexible data historian based on InfluxDB, Grafana, MQTT and more. Free, open, simple.
Stars: ✭ 73 (+421.43%)
Mutual labels:  mqtt, telemetry
homeassistant
Home Assistant Config
Stars: ✭ 50 (+257.14%)
Mutual labels:  smarthome, smart-home

WeConnect-MQTT

GitHub sourcecode GitHub release (latest by date) GitHub GitHub issues PyPI - Downloads PyPI - Python Version Docker Image Size (latest semver) Docker Pulls Donate at PayPal Sponsor at Github

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)

Requirements

You need to install python 3 on your system: How to install python

Login & Consent

WeConnect-mqtt 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.

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

Updates

If you want to update WeConnect-mqtt, the easiest way is:

pip3 install weconnect-mqtt --upgrade

Docker

There is also a Docker image to easily host WeConnect-MQTT: See on Dockerhub

How to use

Start weconnect-mqtt from the commandline:

weconnect-mqtt

You get all the usage information by using the --help command

weconnect-mqtt --help

An example to connect with an MQTT broker at 192.168.0.1 with user test and password test123 is

weconnect-mqtt --username [email protected] --password test123 --mqttbroker 192.168.0.1 --mqtt-username test --mqtt-password test123 --prefix weconnect

The client uses user [email protected] and password test123 in this example to connect to weconnect

Credentials

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 [email protected]
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

Charging stations

You can also obtain data from charging stations by adding a location with e.g. --chargingLocation 52.437132 10.796628 and a radius in meters with --chargingLocationRadius=500. Data for charging stations is mostly static, but you can see the current availability.

Topics

If your broker does not let you observe all available topics you can pass the parameter --list-topics to get all topics displayed on the commandline. Topics marked as "(writeable)" can be manipulated. There are also two topics to receive all available topics as a comma seperated list: weconnect/0/mqtt/topics lists all available topics, weconnect/0/mqtt/writeableTopics provides topics that can be manipulated.

Disabling features

You can disable data for the cars capabilities with --no-capabilities If you only need a subset of the data you can use the --selective option. E.g. --selective climatisation

Images

You can enable ASCII Art pictures of the cars with --pictures

PNG vehicle images

If your client can deal with PNG-images received through MQTT you can set --picture-format png

Times

By default the times coming from the car are UTC isoformat. You can convert times to your local timezone by adding --convert-times. Convert times will use the systems timezone. If you want to set a specific timezone use e.g. --convert-times Europe/Berlin. You can format times in your local format by adding --timeformat. This will use the default Date/Time format of your locale setting. If you want to set a specific format use e.g. --timeformat '%a %d %b %Y %T'. If you want to set the date in another language than default on your system use e.g. --locale de_DE.

Tested with

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

Reporting Issues

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

More Questions?

Please see the wiki Wiki or start a discussion.

Known Issues

  • The Tool is in alpha state and may change unexpectedly at any time!

Related Projects:

  • WeConnect-cli: Commandline Interface to interact with the Volkswagen WeConnect Services
  • WeConnect-python: Python API to connect to Volkswagen WeConnect Services
  • VWsFriend: VWsFriend is a software to visualize and record statistics of your car and allows control via HomeKit

Seat, Cupra, Skoda IV, ...

In an effort to try to make WeConnect-MQTT 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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].