Skip to content

BAngel87/volkswagen-carnet-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update 2 for WE Connect - again working Thanks to https://github.com/youpixel

Python Volkswagen CarNet Client for we connect platform (Thanks to jaybora for the new login process)

This is a Python client for Volkswagen CarNet, it simulates the behaviour of the CarNet app. It allows users to retrieve information about the vehicle (location, temperature and mileage), next to this the Window melt and Climat functionalities can be started from the Python script.

Installation

Clone the Github page and modify the following values in the vw_carnet.py script:

CARNET_USERNAME = ''
CARNET_PASSWORD = ''
not needed anymore: CARNET_SPIN = '' <- PIN for executing actions like used in your VW app

Enter the correct MQTT-broker host and port in the lib_mqtt.py:

MQTT_HOST = "<hostname or IP>" <- host where your mqtt broker runs
MQTT_PORT = <port> <- port of your mqtt service, default is 1883

Usage

Run the script with a argument. The following are supported:

python vw_carnet_web.py retrieveCarNetInfo
python vw_carnet_web.py startClimat
python vw_carnet_web.py stopClimat
python vw_carnet_web.py startWindowMelt
python vw_carnet_web.py stopWindowMelt

... (see code for more options)

Send all data to the MQTT broker configured in lib_mqtt:

python vw_carnet.py mqtt

See also FHEM integration

About

A Python client to use Volkswagen CarNet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%