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.1.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.

File details

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

File metadata

File hashes

Hashes for carconnectivity_plugin_homekit-0.7.1.tar.gz
Algorithm Hash digest
SHA256 291db8f85a6a5995533ac089e6595a80a6ec6758d9f3827a650e5de85d7fcf30
MD5 2ec002ef5ced00d010fb195a3fa6776b
BLAKE2b-256 25684696eb6c05736bba6c1effded674cea560073ca76c523c3c21dbeb648d1f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for carconnectivity_plugin_homekit-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 66a866b50c2ce849de5b9c221ccba66ccdf70243c426f89ad16bc05648ed1657
MD5 58c3a308146b97aab75cb1c69a84b284
BLAKE2b-256 14a7ab395dc2a503146ec48bad4a2bd7f53ff0a15d8b44188b9eab463bd01c0a

See more details on using hashes here.

Provenance

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