Giter Site home page Giter Site logo

lifx-homekit's Introduction

lifx-homekit

This projects combines http://github.com/brutella/hc and http://github.com/pdf/golifx to make LIFX light bulbs available to Apple HomeKit.

Usage

At first you need to install Go (https://golang.org) and set up your $GOPATH (https://github.com/golang/go/wiki/GOPATH).

When your go command works you can run

go get -u github.com/tosie/lifx-homekit

to download the source code and all of its dependencies to your computer. They will be put into $GOPATH/src/github.com/tosie/lifx-homekit.

After downloading the projects and dependencies, go to the project's root directory:

cd $GOPATH/src/github.com/tosie/lifx-homekit

Here you can run

go build lifx-homekit.go

to compile the project. The resulting file will be named lifx-homekit and can be run immediately via

./lifx-homekit --pin 12341234

At startup you must provide a pin code that you can choose by yourself, but must be made up of exactly eight digits (e.g. 12341234). Other than this pin code there is no other configuration to be done. The LIFX lights will be discovered automatically and, upon discovery, will be announced as HomeKit devices.

Now you need to use a HomeKit app in your iOS device (e.g. eve, Insteon, Home, ...; just search for HomeKit on the App Store) to setup the LIFX bulbs as HomeKit devices.

Running as a server on a Raspberry Pi

When you run

GOOS=linux GOARCH=arm GOARM=6 go build lifx-homekit.go

the project will be compiled in a way that makes it run on a Raspberry Pi. In the future there might be a manual here to describe the steps neccessary to set up everything, but for now this must suffice as a starting point for you.

lifx-homekit's People

Contributors

tosie avatar

Stargazers

Arev Imer avatar piaoyunsoft avatar Tom Hensel avatar

Watchers

 avatar James Cloos avatar

Forkers

piaoyunsoft

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.