Skip to main content

CarConnectivity plugin for publishing data to MQTT

Project description

CarConnectivity Plugin for MQTT

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. If you want to publish the data collected from your vehicle in a standard protocol such as MQTT this plugin will help you. 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)

Configuration

In your carconnectivity.json configuration add a section for the mqtt plugin like this:

{
    "carConnectivity": {
        "connectors": [
            ...
        ]
        "plugins": [
            {
                "type": "mqtt",
                "config": {
                    "broker": "mymqttbroker"
                    "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 MQTT broker
machine mymqttbroker
login test@test.de
password testpassword123

In this case the configuration needs to look like this:

{
    "carConnectivity": {
        "connectors": [
            ...
        ]
        "plugins": [
            {
                "type": "mqtt",
                "config": {
                    "broker": "mymqttbroker"
                }
            }
        ]
    }
}

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

{
    "carConnectivity": {
        "connectors": [
            ...
        ]
        "plugins": [
            {
                "type": "mqtt",
                "config": {
                    "broker": "mymqttbroker"
                    "netrc": "/some/path/on/your/filesystem"
                }
            }
        ]
    }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

carconnectivity_plugin_mqtt-0.1a1.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

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

carconnectivity_plugin_mqtt-0.1a1-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file carconnectivity_plugin_mqtt-0.1a1.tar.gz.

File metadata

File hashes

Hashes for carconnectivity_plugin_mqtt-0.1a1.tar.gz
Algorithm Hash digest
SHA256 7f0e51fa1bd48f0da02afcc2c21621cbb33f5839525d58e0b26de29e8fe88927
MD5 eb03443d9625d938da344ca12ca2a3a2
BLAKE2b-256 175b88a504d6e3bdb83a5244d71f22829be4fe1c2725c6bdb2ba62e1b05cf9d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for carconnectivity_plugin_mqtt-0.1a1.tar.gz:

Publisher: build_and_publish.yml on tillsteinbach/CarConnectivity-plugin-mqtt

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_plugin_mqtt-0.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for carconnectivity_plugin_mqtt-0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 6697c8715160511ef28e674d55427227eab8e64f3df852c245b27e111b85eba7
MD5 e00895eb276599cc48ed71ac48e55dec
BLAKE2b-256 127d634cd1d9e25e65a18cc825fd3d50fdec143722db20633b402f42e49dd952

See more details on using hashes here.

Provenance

The following attestation bundles were made for carconnectivity_plugin_mqtt-0.1a1-py3-none-any.whl:

Publisher: build_and_publish.yml on tillsteinbach/CarConnectivity-plugin-mqtt

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