• Stars
    star
    106
  • Rank 325,871 (Top 7 %)
  • Language
    Go
  • License
    Other
  • Created over 9 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

LIFX HomeKit bridge

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.

More Repositories

1

hc

hc is a lightweight framework to develop HomeKit accessories in Go.
Go
1,741
star
2

chatheads

An implementation of Facebook's ChatHeads on iOS.
Objective-C
883
star
3

hkcam

Open-Source HomeKit Surveillance Camera
Go
881
star
4

hap

The HomeKit Accessory Protocol (hap) implemented in Go
Go
289
star
5

can

Connect to a CAN bus in Go
Go
198
star
6

dnssd

This library implements Multicast DNS (mDNS) and DNS-Based Service Discovery (DNS-SD) for Zero Configuration Networking in Go.
Go
174
star
7

hkknx-public

hkknx is a HomeKit KNX bridge for KNX.
89
star
8

swift-csv

Fast and memory-efficient CSV library in Swift.
Swift
80
star
9

hklight

Example project of a HomeKit light bulb using HomeControl
Go
39
star
10

canopen

Communicate with other CANopen nodes in Go
Go
26
star
11

TextViewLineNumbers

Implementation of NSTextView with line numbers
Swift
25
star
12

simplediff-swift

simplediff is a simple diff algorithm implementation in Swift.
Swift
16
star
13

nsuserdefaults-macros

Some handy NSUserDefaults macros/functions
Objective-C
15
star
14

NSTreePopUpButton

An NSPopUpButton subclass which supports binding to NSTreeController
Swift
15
star
15

uvr

Communicate with an UVR1611 over the CAN bus
Go
10
star
16

hkuvr1611

UVR1611 HomeKit bridge
Go
9
star
17

log-swift

Logging to console and file
Swift
9
star
18

Axt

A forgiving HTML SAX Parser for iOS
Objective-C
9
star
19

gouvr

Library to decode the data bus of UVR 1611 and similar devices
Go
7
star
20

hkuvr

HomeKit bridge for UVR1611
Go
5
star
21

hksymo

HomeKit bridge for Fronius Symo inverter
Go
3
star
22

Journal

Easy file logging in Swift
Swift
3
star
23

XCollectionData

Swift
2
star
24

comment-generator

Ruby classes to generate comment templates from source code
Ruby
2
star
25

git-diff

Compare git branches, tags and commits in your favourite diff tool.
Shell
1
star
26

C3Presentation

Slides about C++ programming built with deck.js and deckem
JavaScript
1
star
27

geizhals

Fetch prices from Geizhals
Go
1
star