Skip to content

feiticeir0/cheerlights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Cheerlights using Python and Pimoroni's Mood light and a Raspberry PI

This is my take using Python and Pimoroni's Mood light kit with a Raspberry PI Zero W

The main difference is there's transitions from one colour to another instead of just put the new color there

Installing

Required libraries

Requests

sudo apt-get install requests

If using the Pimoroni's Unicorn PHAT HD, the libraries are needed. You can check their github page for instructions: https://github.com/pimoroni/unicorn-hat

Running

If using Piromoroni's kit, sudo is necessary:

sudo python cheerlights.py

About

Cheerlights is a colaborative IoT project. Everytime someone changes the color, every device around the world (and outside too) connected to Cheerlights API will display the same color.

More info on: http://cheerlights.com/

Pimoroni's Mood Light: https://shop.pimoroni.com/collections/kits/products/mood-light-pi-zero-w-project-kit

Run automatically on Raspberry PI start

Just added to cron

sudo crontab -e
@reboot /usr/bin/python /home/pi/cheerlights/cheerlights.py &

Releases

No releases published

Packages

No packages published

Languages