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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for carconnectivity_plugin_homekit-0.7.7.tar.gz
Algorithm Hash digest
SHA256 5b4b3a0f3f78a3fae4cbfb36c5572ce9e2241d7348a5f02e529742edee816595
MD5 99b0eb5c40c6d91319c870791827eda4
BLAKE2b-256 f5fb7a28abc589d95a8c9ac0d02ab77900753b8759412d54b2e923185a0f76fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for carconnectivity_plugin_homekit-0.7.7.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.7-py3-none-any.whl.

File metadata

File hashes

Hashes for carconnectivity_plugin_homekit-0.7.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5181a97f399a47952cb932de430570d9ecc3ef525870f2f450b533e923ecfa43
MD5 b459deaef96390e4bd48ed72e781e1b6
BLAKE2b-256 712643258258820af832f69e64f61c0482b0a66f208eda957bdab4d9a7267c5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for carconnectivity_plugin_homekit-0.7.7-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