CarConnectivity will become the successor of WeConnect-python in 2025 with similar functionality but support for other brands beyond Volkswagen!
CarConnectivity is a python API to connect to various car services. This connector enables the integration of volkswagen vehicles through the WeConnect API. Look at CarConnectivity for other supported brands.
In your carconnectivity.json configuration add a section for the volkswagen connector like this:
{
"carConnectivity": {
"connectors": [
{
"type": "volkswagen",
"config": {
"username": "[email protected]",
"password": "testpassword123"
}
}
]
}
}
If you do not want to provide your username or password inside the configuration you have to create a ".netrc" file at the appropriate location (usually this is your home folder):
# For WeConnect
machine volkswagen
login [email protected]
password testpassword123
In this case the configuration needs to look like this:
{
"carConnectivity": {
"connectors": [
{
"type": "volkswagen",
"config": {
}
}
]
}
}
You can also provide the location of the netrc file in the configuration.
{
"carConnectivity": {
"connectors": [
{
"type": "volkswagen",
"config": {
"netrc": "/some/path/on/your/filesystem"
}
}
]
}
}
The optional S-PIN needed for some commands can be provided in the account section of the netrc:
# For WeConnect
machine volkswagen
login [email protected]
password testpassword123
account 1234