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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for carconnectivity_plugin_homekit-0.7.4.tar.gz
Algorithm Hash digest
SHA256 b724b9aacf86b6912e98f29df7b537cbbe1cd9952668c3ad15cbf9aec87a24a0
MD5 863522273ae05d2d269ee271b8ca48f1
BLAKE2b-256 279b5e99be3ead37f3cf3b007204a525df489b65bd0bb34927ca591b8a34b7d0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for carconnectivity_plugin_homekit-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f1ffee5ed23c48494880ac020eddc8fdb7d6c011d3f0c7b172f7d9592216aad9
MD5 9b2c55a56b43fb3fd2bfcd17d0248ac6
BLAKE2b-256 89d673f030a9a615243d013f744c3d7a61c13e560ccb513ced2c2d2e73ba1d66

See more details on using hashes here.

Provenance

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