/krampus

Primary LanguagePythonMIT LicenseMIT

Krampus Controller

What is this?

Krampus is a controller to drive and control neoPixel LEDS using the WS281x protocol. Krampus models LEDs to be arranged as a Christmas Tree or on a tree.
Web interface is able to start and stop the tree lights, set the color or start a loop of prebaked sequence of effects.

Equipment Needed

  • NeoPixel supporting WS281x protocol
  • 5v DC power supply (1 amp per 50 lights)
  • Raspberry PI

Getting started

  1. Clone repo
  2. sudo pip3 install -r requirements.txt
  3. sudo python3 krampus/server.py
  4. Open localhost

PI Hookup Configuration

  • Default GPIO data port 18
  • Common ground between raspberry pi and power supply

NeoPixel PI wiring]

Auto Startup on PI

  • Open crontab, type in terminal crontab -e
  • Add to bottom of crontab file @reboot sudo python3 {path-to-project}/krampus/server.py