This is a HomeKit bridge for LIFX light bulbs using HomeControl and lifx golifx.
LIFX light bulbs are automatically discovered and published as HomeKit accessories on your local network. After pairing the light bulbs with HomeKit using any iOS HomeKit app (e.g. Home), you can
- use Siri to control your lights using voice command – Hey Siri turn on the bedroom lights
- use HomeKit triggers to automate your lights – turn on the lights every day at 7:00 AM
- remotely access your lights using HomeKit Remote Access (HomeKit uses strong end-to-end encryption)
-
Install
cd $GOPATH/src # Clone project git clone https://github.com/brutella/hklifx && cd hklifx # Fetch hklifxd go dependencies go get
-
Run
go run hklifxd.go -pin 00102003 -v
-
Pairing: The official LIFX app for iOS or Android is required to initially setup the light bulbs. After that you can use the
hklifxd
daemon to control your lights via HomeKit by using Home or any other HomeKit-compatible app.
Command Line Arguments
Required
-pin [8-digits]
must be entered on iOS to pair with the light bulb(s)
Optional
-transition-duration [seconds]
sets the transition speed-v
for verbose log output
Matthias Hochgatterer
Github: https://github.com/brutella
Twitter: https://twitter.com/brutella
hklifx is available under a non-commercial license. See the LICENSE file for more info.