Skip to main content

CarConnectivity plugin for integrating the cars data into the Apple Home ecosystem

Project description

CarConnectivity Plugin for Homekit

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

CarConnectivity is a python API to connect to various car services. If you want to automatically integrate the data collected from your vehicle into Apple Home this plugin will help you.

Install using PIP

If you want to use the CarConnectivity Plugin for Homekit, the easiest way is to obtain it from PyPI. Just install it using:

pip3 install carconnectivity-plugin-homekit

after you installed CarConnectivity

Configuration

In your carconnectivity.json configuration add a section for the homekit plugin like this. A documentation of all possible config options can be found here.

{
    "carConnectivity": {
        "connectors": [
            ...
        ]
        "plugins": [
            {
                "type": "homekit",
                "config": {}
            }
        ]
    }
}

Adding to ios

After CarConnectivity is started the first time with the Homekit plugin enabled it will display a QR-Code and the pin-code in the console. Use the QR code or the pin to add the bridge to the Home app. Afterwards all accessories your car offers are added to the Home app.

A note to Docker users

CarConnectivity with Homekit will need Host or Macvlan Mode for the container. This is necessary as the bridge mode will not forward multicast which is necessary for Homekit to work. Host mode is not working on macOS. The reson is that the network is still virtualized. If you do not like to share the host network with CarConnectivity you can use macvlan mode. In macvlan mode CarConnectivity will appear as a seperate computer in the network.

Example Docker Compose configuration

The following configuration uses host mode network

services:
  carconnectivity:
    image: "tillsteinbach/carconnectivity-mqtt:latest"
    restart: unless-stopped
    environment:
      - TZ=Europe/Berlin
      - LANG=de_DE
      - LC_ALL=de_DE
      - ADDITIONAL_INSTALLS=--pre carconnectivity-connector-skoda carconnectivity-plugin-homekit
    network_mode: host
    volumes:
      - /home/myuser/docker-compose/smarthome/carconnectivity/carconnectivity.json:/carconnectivity.json
      - carconnectivity_data:/root/.carconnectivity
volumes:
  carconnectivity_data:

Updates

If you want to update, the easiest way is:

pip3 install carconnectivity-plugin-homekit --upgrade

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_homekit-0.7.6.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

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

carconnectivity_plugin_homekit-0.7.6-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

Details for the file carconnectivity_plugin_homekit-0.7.6.tar.gz.

File metadata

File hashes

Hashes for carconnectivity_plugin_homekit-0.7.6.tar.gz
Algorithm Hash digest
SHA256 ae8892a63a997a9c0f000f665a4a36084460f8e27cf9073e8a7b5dbb8c5ace18
MD5 4756e2e8ed16b2a3495f2f514d18685c
BLAKE2b-256 703eb6d126922413edddefc684abf6a38a65bd06bcbad3a63d29ee25680d0b15

See more details on using hashes here.

Provenance

The following attestation bundles were made for carconnectivity_plugin_homekit-0.7.6.tar.gz:

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

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_homekit-0.7.6-py3-none-any.whl.

File metadata

File hashes

Hashes for carconnectivity_plugin_homekit-0.7.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8b467ed0259555165413f3f720d532c7ffe6d29e39a373eed255335fb99f7b15
MD5 8c0dfe1af3765c4ff2bc4929957d7823
BLAKE2b-256 9c50613d1b46b8ad5db65e42e65a7be287c66704d9b994279e79af0377d722b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for carconnectivity_plugin_homekit-0.7.6-py3-none-any.whl:

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

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