gohome
is a go app built on top of HomeControl for controlling various devices in your home via HomeKit from and iOS device.
gohome
was built specifically for my home automation setup which makes use of various X10 modules and some RGB LED strips connected to a Particle Core. In my setup, gohome
is run on a Raspberry Pi 2 which is connected to a CM15A X10 interface.
Disclaimer: This is not meant to be used by others without modification. This project is setup to work specifically with my setup and my devices. Your setup will probably be different. This is just meant to be an example of how to build a Go app that uses HomeControl.
-
Go get this project and change to that directory
# Clone project $ go get github.com/edc1591/gohome $ cd $GOPATH/src/github.com/edc1591/gohome # Install dependencies $ go get
-
Copy the
config-sample
directory toconfig
and edit the files according to your setup. -
Build and install the
gohome
binary$ go install
-
Run it!
$ gohome
-
Pair your devices with a HomeKit app
- Queue X10 commands and execute serially with a delay because X10 can't always handle multiple commands in quick succession.
gohome
is available under the MIT license. See the LICENSE file for more info.