xmas-tree
xmas-tree copied to clipboard
Blackout-proof Xmas Tree
A pattern for a 3D RGB Xmas Tree and RPi.
Hardware
- Raspberry Pi
- 3D RGB Xmas Tree for Raspberry Pi
- Waveshare UPS HAT
Installation
- Install dependencies
sudo apt install python3-gpiozero
- Download the script
git clone https://github.com/dr-mod/xmas-tree.git ~/xmas-tree
- Run it
python3 ~/xmas-tree/main.py
- To make it run on startup
-
nano /etc/rc.local
- Add one the following before
exit 0
conversely, you can run in/usr/bin/python3 /home/pi/xmas-tree/main.py &
screen
su - pi -c "/usr/bin/screen -dm sh -c '/usr/bin/python3 /home/pi/xmas-tree/main.py'"
-
Support the project
If you would like to support this project and and keep me caffeinated, you can do it here: