After buying HUE lights for the most part my living room I wanted to expand to the kitchen. Forcing me to look for GU10 spots. Ofcourse I could have bought Philips own GU10 spots but the colors had no extra functionality in my kitchen so I decided to buy a third party compatible GU10 lamp. Having it all set-up I found out that de HUE bridge doesn't broadcast third party lamps into HomeKit.
No worries let's build HomeBridge to make those lamps available over HomeKit. I started out with a Raspberry Pi 2nd gen. with Raspbian installed.
So after setting it up in my network and installing SSH on it and got to the part where I could set up HomeBridge.
Setting up pre-requirements
First of we need to update the default system packages:
After doing so we need to download and install Node.JS to run HomeBridge:
HomeBridge also requires Avahi (practically Open Source Bonjour for Linux)
The next step is to install HomeBridge itself by entering the following command:
Next we can add the configuration so HomeBridge will actually work with Philips HUE and the 3rd party lamps. To do so we need to create an empty configuration file that will setup the basic settings.
You can change the HomeBridge pin to a different random number. The default number will work, but most people will be using that one. I really don't know what the security impact might be so I decided to change mine to some other random numbers just to be safe.
At this moment we're done installing HomeBridge and you could run the following command to start HomeBridge manually:
I will do some more in explaining about setting up automatic start and specific plugins in the coming posts.