gbelken / krampus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:Python 47.5%Language:JavaScript 32.7%Language:HTML 15.9%Language:CSS 3.8%