Skip to content

Python server & web color picker for controlling NeoPixel light strip.

Notifications You must be signed in to change notification settings

edavis25/neopixel-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NeoPixel App

Python server & web color picker for controlling NeoPixel light strip.

About the project

This project started as a strip of 3x Adafruit NeoPixel RGB Strips soldered into a Raspberry Pi Zero W and mounted to my desk.

AdaFruit provides a nice Python library for controlling the strips and after fiddling around writing some scripts to change color, I decided I'd like a simple web dashboard with a color picker to easily set the strip colors.

Usage

(optional) Configure the port in server.py

sudo python3 /path/to/server.py

Note: you must run server with sudo as it is required by the Adafruit library!

Visit <ip.of.raspberry.pi>:3001

(optional) Create systemd service to run server as daemon

Description=Python server for NeoPixel lights
After=network-online.target

[Service]
Type=simple
Restart=always
# note: configure path to server
ExecStart=/usr/bin/python3 /home/pi/neopixel-app/server.py

[Install]
WantedBy=multi-user.target

color picker