Drive the color of a BlinkM using Mixpanel
Go Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
files
.gitignore
README.md
blinkm.go
blinky.go
colors.go
config.go
config.json.example
log.go
mixpanel.go
poller.go
utils.go
web.go

README.md

Blinky

This is the source code for driving a BlinkM based on Mixpanel queries. At one point it powered a lamp in the Mixpanel offices.

It runs on Linux, and depends on the I2CTools package. If you happen to be using a Raspberry Pi, there is more information about setting up your Pi to use the package here:

http://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c

Once your i2c is set up and your BlinkM is all plugged in and happy, you can use blinky by by copying the config.json.example file in the root blinky directory, editing it with your Mixpanel project information and Mixpanel queries, and then starting it on the command line- something like:

$ cd blinky
$ go build # build the blinky executable
$ cp config.json.example config.json
$ vi config.json # Add your Mixpanel info
$ ./blinky config.json