https://github.com/tatey/lifx-homekit-raspberry-pi
Turn a Raspberry Pi into a HomeKit bridge for LIFX lights
https://github.com/tatey/lifx-homekit-raspberry-pi
bash homekit lifx raspberry-pi script
Last synced: 7 months ago
JSON representation
Turn a Raspberry Pi into a HomeKit bridge for LIFX lights
- Host: GitHub
- URL: https://github.com/tatey/lifx-homekit-raspberry-pi
- Owner: tatey
- Created: 2016-10-02T23:43:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-03T10:26:37.000Z (about 9 years ago)
- Last Synced: 2025-03-24T11:38:33.852Z (about 1 year ago)
- Topics: bash, homekit, lifx, raspberry-pi, script
- Language: Shell
- Size: 2.93 KB
- Stars: 21
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# Turn a Raspberry Pi into a HomeKit bridge for LIFX lights
A quick dirty guide for getting Homebridge with the LIFX plugin running on your
Raspberry Pi. Tested with a Raspberry Pi 3.

## TL;DR
SSH into your Raspberry Pi and run this script:
curl https://raw.githubusercontent.com/tatey/lifx-homekit-raspberry-pi/master/install.sh | sh
Add the Bridge to HomeKit using a compatible app. I recommend [Home by Matthias
Hochgatterer](https://itunes.apple.com/app/id995994352).
## Step by Step
Assuming you're on a Mac with an SD card reader:
Download the latest version of Raspbian Lite.
curl -OL https://downloads.raspberrypi.org/raspbian_lite_latest
Plug in your MicroSD card (You'll need the adapter) and use `diskutil` to work
out its identifier.
diskutil list
Unmount the disk.
diskutil unmountDisk /dev/disk
Copy the image.
sudo dd bs=1m if=raspbian_lite_latest of=/dev/rdisk
Plug the MicroSD card back into the Raspberry Pi, connect the the ethernet
cable, power cable, and power on.
Use [`nmap`](https://nmap.org) to find the IP address of your Raspberry Pi (Probably the highest
number).
nmap -sn 10.0.0.0/24
Shell into your Raspberry Pi and run the install script.
ssh pi@10.0.0.167
curl https://raw.githubusercontent.com/tatey/lifx-homekit-raspberry-pi/master/install.sh | sh
If you get stuck refer to the original guides for more detail:
* https://www.raspberrypi.org/documentation/installation/installing-images/mac.md
* https://www.raspberrypi.org/documentation/remote-access/ssh/unix.md
## Thanks
This is made possible thanks to these open source projects:
* https://github.com/nfarina/homebridge
* https://github.com/devbobo/homebridge-lifx-lan
* https://github.com/MariusRumpf/node-lifx
* http://www.raspbian.org