Skip to main content

CarConnectivity connector for Volkswagen services

Project description

CarConnectivity Connector for Volkswagen Vehicles

GitHub sourcecode GitHub release (latest by date) GitHub GitHub issues PyPI - Downloads PyPI - Python Version Donate at PayPal Sponsor at Github

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.

Configuration

In your carconnectivity.json configuration add a section for the volkswagen connector like this:

{
    "carConnectivity": {
        "connectors": [
            {
                "type": "volkswagen",
                "config": {
                    "username": "test@test.de",
                    "password": "testpassword123"
                }
            }
        ]
    }
}

Credentials

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 test@test.de
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 test@test.de
password testpassword123
account 1234

Known issues

Locking/Unlocking and door status

Some cars do not announce the ACCESS capability although being able to lock/unlock and/or show the door status. You can fix this by adding "force_enable_access": true to the configuration of the connector

Unexpected keys found

Not all items that are presented in the data from the server are already implemented by the connector. Feel free to report interesting findings in your log data in the Discussions section or as an Issue (Enhancement). My time is very limited, so usually new features take some time to get into the library, also because I need to align functionallity between the connectors of all brands.

2 Factor Authentification

Some users currently report that the API is asking for a two factor auth. I have not seen this behaviour myself and currently also do not see an easy way to automate 2FA with a code coming in via email. The work-around that seems to work is to login via the browser on the machine running carconnectivity and put in the 2FA code.

Limitations

The connector is not working with US based vehicles. If you are looking for a connector for your Volkswagen in North America, use this connector instead: CarConnectivity-connector-volkswagen-na

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

carconnectivity_connector_volkswagen-0.10.5.tar.gz (53.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file carconnectivity_connector_volkswagen-0.10.5.tar.gz.

File metadata

File hashes

Hashes for carconnectivity_connector_volkswagen-0.10.5.tar.gz
Algorithm Hash digest
SHA256 449fd90df4cb6759a76f8741e2eb27cd8a225e5f84074ae9d5b6f5026fa9360d
MD5 68a1777f15592e6fa146c4bc1e9cfc55
BLAKE2b-256 b70d7b5ac0e3a11e9d01688ad91915c697af37897c9475c6481bf6626d38f18c

See more details on using hashes here.

Provenance

The following attestation bundles were made for carconnectivity_connector_volkswagen-0.10.5.tar.gz:

Publisher: build_and_publish.yml on tillsteinbach/CarConnectivity-connector-volkswagen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file carconnectivity_connector_volkswagen-0.10.5-py3-none-any.whl.

File metadata

File hashes

Hashes for carconnectivity_connector_volkswagen-0.10.5-py3-none-any.whl
Algorithm Hash digest
SHA256 359ddcd32c25ea06fcc31120e68a29da486e3a35f63f2e015e0b8024eeceec8f
MD5 7dd8f15843d8103e32161759f3d7587d
BLAKE2b-256 9e4bf015757bf60c0800684c802bad2dc9e9a1873b86e74380377581bc67cb8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for carconnectivity_connector_volkswagen-0.10.5-py3-none-any.whl:

Publisher: build_and_publish.yml on tillsteinbach/CarConnectivity-connector-volkswagen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page