control ws2812 over matrix
 
 
 
 
Go to file
Ryan Rix e7b9a2944e Add remote 2016-03-14 03:27:44 +00:00
lightrix Fix brightness 2016-03-14 03:27:32 +00:00
remote Add remote 2016-03-14 03:27:44 +00:00
roles Make the new lightrix work with ansible 2016-03-14 00:59:23 +00:00
.gitignore Shrug 2016-03-13 08:28:50 +00:00
.gitmodules Create lightrix ansible role 2015-09-16 08:02:38 +00:00
README.org Add necessary deps 2015-09-14 02:01:52 +00:00
lightrix.py I have a 150 count strip fuck it 2016-03-14 00:59:05 +00:00
lightrix.service Make the new lightrix work with ansible 2016-03-14 00:59:23 +00:00
mcatrc Create lightrix ansible role 2015-09-16 08:02:38 +00:00
playbook.yaml Create lightrix ansible role 2015-09-16 08:02:38 +00:00
requirements.txt Make the new lightrix work with ansible 2016-03-14 00:59:23 +00:00
test-client.py Shrug 2016-03-13 08:28:50 +00:00

README.org

Lightrix: Drive Adafruit Neopixels over Matrix

Installation

You will need a Raspberry Pi that is attached to your network. I am using a Raspberry Pi Model A+ due to its really adorable formfactor and the fact that I have some WiFi dongles laying about.

First off, get the rpi_ws281x library working, and verify that strandtest.py works for you. I followed this Adafruit tutorial to get it working, I would recommend the same; you will need a 3v3->5v logic level converter, which is unfortunate, but it makes this so much easier.

Once you have that working and installed, install the matrix-client from Pip.

sudo pip install matrix-client pyyaml pytz

Yes, I install it in to the main Python library path, because I'm an infoterrorist. It's an embedded Raspberry Pi, deal with it.

Usage

  • Create a ~/.mcatrc
  • Run python ./lightrix.py --room "<YOUR ROOM ID>" -c ~/.mcatrc and it'll fire up
  • Go in to the room and type "rainbow"