Skip to content
/ colors Public

Integration of colored LED strips into kcapp

Notifications You must be signed in to change notification settings

kcapp/colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kcapp logo

colors

Simple node script which listens for certain events from socket.io and switches colors on a LED strip, matching each color configured for a player

Install

  1. Install all node dependencies npm install
  2. Make sure to set correct GPIO pins for the RGB strip in kcapp-colors.js
const led = require("./led-util")(R, G, B);
  1. Run with
npm start
# ... or for testing (on a non-RPi)
npm run mock

Troubleshooting

Make sure match is started in a venue with has_led_lights enabled.