This is a small service to monitor buildbox builds and change the color of a lifx globe. Currently starts green and changes to red if one or more build fail.
The following command will compile an executable and put it in bin/buildbox-lifx
(GOOS=windows will build add .exe).
make
If you wanna run this on a beagle bone or the like device.
GOARCH=arm GOOS=linux make
Or for the raspberry pi.
GOARM=5 GOARCH=arm GOOS=linux make
Or for those who want to use it build it for windows (note requires linux/osx to build atm).
GOARCH=amd64 GOOS=windows make
NAME:
buildbox-lifx - Monitors buildbox and changes lifx bulbs to reflect success or failure
USAGE:
buildbox-lifx [global options] command [command options] [arguments...]
VERSION:
0.1.0
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--apikey buildbox api key
--branch 'master' branch to filter builds
--bulb 'build' the label of the bulb you want to control
--debug enable debug logging
--help, -h show help
--version, -v print the version
So to get started.
- Setup your globe on the same wifi as your monitor box.
- Using the lifx app label a globe
build
- Grab your person api key from http://buildbox.io
- Start the service passing in your key.
buildbox-lifx -apikey=XXXXX
This is currently very early release, everything can and will change.
Copyright (c) 2014 Mark Wolfe Licensed under the MIT license.