LIFX HomeKit bridge
Go Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
vendor/github.com
.gitignore
LICENSE
Makefile
README.md
hklifxd.go

README.md

hklifx

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)

Getting Started

  1. Install Go

  2. Setup Go workspace

  3. Install

     cd $GOPATH/src
     
     # Clone project
     git clone https://github.com/brutella/hklifx && cd hklifx
     
     # Fetch hklifxd go dependencies
     go get
    
  4. Run

     go run hklifxd.go -pin 00102003 -v
    
  5. 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

Contributors

Contact

Matthias Hochgatterer

Github: https://github.com/brutella

Twitter: https://twitter.com/brutella

License

hklifx is available under a non-commercial license. See the LICENSE file for more info.