Skip to content

dwt/home-automation

Repository files navigation

The Problem

a. I want an easy way to play around with automating HomeKit and Tradfri devices from python b. I have Phillips Hue devices linked to my Ikea Tradfri Bridge - which the Hub refuses to push to HomeKit - even though it does it fine for all other devices.

Building libcoap

  • braucht asciidoc via brew
  • braucht export XML_CATALOG_FILES=/Users/dwt/Library/Homebrew/etc/xml/catalog damit xmllint funktioniert

Building / Deploying HomeKit Accessory Protocol Custom Bridge

  1. venv with requirements.txt
  2. Binaries from libcoap/examples symlinked in the bin folder of the venv
  3. Manual start of tradfri_bridge.py once to configure it for the tradfri bridge
  4. Manual checks of the fnordlicht.py and light_strip.py shell tools to check that they are working
  5. SystemD / LaunchD Services that starts tradfri_bridge.py

Design overview

tradfri_bridge.py implements a custom HomeKit <-> Tradfri Bridge to push the missing Hue device to Homekit. It also allows easy triggering of custom shell scripts to add functionality to HomeKit.

Fnordlicht is just an old CCC name for a random color changing LED Project, so there.

About

Me playing around with my home automation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages