Control Adafruit NeoPixels using a RaspberryPi and the Cheerlights feed!
Clone or download this project at Github.
Last year, I was inspired by Dave Koerner's NØHIO LOGBOOK.
Then I put together a Cheerlights display using a Ubuntu computer, Adafruit FLORA Arduino, and 8 FLORA NeoPixels: https://www.youtube.com/watch?v=lJNamwgsGlE https://plus.google.com/photos?pid=5957627945770423090&oid=116675413971505814200
This year, thanks to Tony DiCola's Python wrapper for the the excellent rpi_ws281x library created by Jeremy Garff, I could redo the project and cut out the Arduino! Follow the Adafruit guide here to get your NeoPixels working with Raspberry Pi
./install.sh
sudo python rpi_ws281x/python/examples/strandtest.py
python test_cheerlights_feed.py
sudo python cheerlights.py
sudo update-rc.d -f cheerlights.sh remove
sudo /etc/init.d/cheerlights.sh start
sudo /etc/init.d/cheerlights.sh status
sudo /etc/init.d/cheerlights.sh stop
* * * * * /bin/bash /home/pi/repos/CheerlightsPi/autorestart.sh >> /home/pi/myscript.log 2>&1
grep CRON /var/log/syslog
tail -f /var/log/syslog | grep CRON