Skip to main content

CarConnectivity Connector for Volkswagen North American 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_na",
        "config": {
          "username": "test@test.de",
          "password": "testpassword123",
          "country": "us"
        }
      }
    ]
  }
}

Country is optional, and defaults to 'us'. 'ca' may work, but is currently untested.

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 MyVW
machine volkswagen_na
login test@test.de
password testpassword123

In this case the configuration needs to look like this:

{
  "carConnectivity": {
    "connectors": [
      {
        "type": "volkswagen_na",
        "config": {}
      }
    ]
  }
}

You can also provide the location of the netrc file in the configuration.

{
  "carConnectivity": {
    "connectors": [
      {
        "type": "volkswagen_na",
        "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_na
login test@test.de
password testpassword123
account 1234

Limitations

The connector is tested for US and CA based vehicles, and has the most support for EVs, but does support most (non-remote start) functionality for ICE vehicles as well.

Play Integrity Token Relay

Some VW endpoints require a Play Integrity token. It can be supplied statically in the connector config with "play_integrity_token", or refreshed dynamically from an external relay (e.g. a vw-token-relay add-on) publishing JSON such as {"play_integrity_token": "..."} to an MQTT topic.

If the CarConnectivity MQTT plugin is enabled, no MQTT broker details are needed in this connector's config — the relay automatically reuses the plugin's existing MQTT connection:

{
  "carConnectivity": {
    "plugins": [
      { "type": "mqtt", "config": { "broker": "192.168.0.123", "port": 1883 } }
    ],
    "connectors": [
      {
        "type": "volkswagen_na",
        "config": {
          "play_integrity_mqtt": { "enabled": true }
        }
      }
    ]
  }
}

The relay is enabled automatically when the MQTT plugin is present, so "play_integrity_mqtt" can be omitted entirely. Use "topic" to override the default relay topic (vw/token_relay), or "enabled": false to disable the relay.

If the MQTT plugin is not used, the relay can still connect to a broker directly (requires the optional paho-mqtt dependency, e.g. pip install carconnectivity-connector-volkswagen-na[mqtt]):

"play_integrity_mqtt": {
  "broker": "192.168.0.123",
  "port": 1883,
  "topic": "vw/token_relay",
  "username": "optional",
  "password": "optional"
}

Metadata

Release files for carconnectivity-connector-volkswagen-na 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for carconnectivity-connector-volkswagen-na 0.4.0
File Size Uploaded Provenance Actions
carconnectivity_connector_volkswagen_na-0.4.0.tar.gz 64.0 kB With provenance Details for carconnectivity_connector_volkswagen_na-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for carconnectivity-connector-volkswagen-na 0.4.0
File Interpreter ABI Platform Actions
carconnectivity_connector_volkswagen_na-0.4.0-py3-none-any.whl Python 3 none any Details for carconnectivity_connector_volkswagen_na-0.4.0-py3-none-any.whl

Total release size: 123.7 kB

Release files / carconnectivity_connector_volkswagen_na-0.4.0.tar.gz

Download URL carconnectivity_connector_volkswagen_na-0.4.0.tar.gz
Size 64.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b5b0e7d33899667b6a66c52d6364e9e9313f727c5d872031ec4013305bb1b3cc
BLAKE2b-256 checksum
How to use checksums
c4da9c4e658490cd27575f12acbbe54afba3767efa8a42f4273052c80adbca16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / carconnectivity_connector_volkswagen_na-0.4.0-py3-none-any.whl

Download URL carconnectivity_connector_volkswagen_na-0.4.0-py3-none-any.whl
Size 59.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5f56efa28a8c006af5902ef503635ed0a85abcd259e02946027d7e85ab02f63
BLAKE2b-256 checksum
How to use checksums
42df053247765681c4d3fbea0956fd29eba070976f996dead12c67502cace755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for carconnectivity-connector-volkswagen-na 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for carconnectivity_connector_volkswagen_na-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page