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.1a2.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.1a2-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for carconnectivity_plugin_mqtt-0.1a2.tar.gz
Algorithm Hash digest
SHA256 58d815894d10abc9317dd9cf3f981897d5eb7b6e62e2a0c6b14f9f2e187bc25e
MD5 45cd8a6d4ae80ba89d57a7aade926d4f
BLAKE2b-256 e98f9e476f7f41f1b994e2f63b198081670d74f41e4a8139acb9e95eb3aa010c

See more details on using hashes here.

Provenance

The following attestation bundles were made for carconnectivity_plugin_mqtt-0.1a2.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.1a2-py3-none-any.whl.

File metadata

File hashes

Hashes for carconnectivity_plugin_mqtt-0.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 275914bf4b3fbe6f22bb8ff3706a0de56b8028822c4f5e52c19765d4540df83b
MD5 806802d403cbceb0cd044a7aeaeebb8b
BLAKE2b-256 8a3524f8080c544bf405a166610566c7850d4c0be2f9beea3455a16b1e090eb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for carconnectivity_plugin_mqtt-0.1a2-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