HomeBridge - Apple HomeKit on Raspberry Pi

Last modified:

Introduction

Two years ago I’ve started to setup a HomeMatic installation using a Raspberry 3b and a RF module by ELV. I can now control the heating and want to control many other connected things as well.

Since I have a lot of Apple devices I want to control my HomeMatic devices with Siri and HomeKit. Fortunately there’s a software called HomeBridge which supports a lot of addons which integrate other IoT devices into HomeBridge.

homebridge

There are quite a few instructions available on the internet so I’ll focus on the things I’ve forgot and/or find useful.

homebridge-homematic

One of these Plugins is called HomeBridge-HomeMatic and integrates HomeMatic devices into HomeBridge.

If you’ve setup HomeBridge-HomeMatic you’ll have a new “Gewerk” created with name “Homekit”. I’ve forgot to add new devices I’ve added to HomeMatic so they never appeared in HomeBridge.

homebridge-airrohr

You can also track the data from your “Feinstaubsensor” created by the luftdaten.info project. It tracks the temperature, humidity and air quality. The plugin’s code is available on github.

homebridge-hyperion-light

I’ve got a hyperion ambilight for my TV. The LEDs can be controlled like a HUE lamp so you can turn them on/off and change the brightness and color. The homebridge-hyperion-light plugin works fine.

homebridge Xiaomi Robot

There are several plugins which I need to check:

There are also some good instructions online:

Combination with Apple TV 4K

If you want to use homebridge while you are on the road you’ll need to have either an iPad or an Apple TV setup to use the same iCloud account like your phone does. It looks like you’ll also need to enable the iCloud Keychain, otherwise the communication won’t work and you don’t see the homekit setting in your Apple TV settings. However, I’ve removed iCloud Keychain from my setup and it still seems to be working.