Using a Raspberry Pi to control LED lights with MIDI output
git clone https://github.com/jzarzycki/MIDI-LED.git
cd MIDI-LED
pip3 install -r requirements.txt
sudo apt-get install -y nodejs npm
cd website
npm install
In bash enter:
sudo crontab -e
And add at the end of the file:
@reboot cd /home/pi/MIDI-LED/website && node app.js
@reboot python3 /home/pi/MIDI-LED/midi-led.py
The program should now start automatically and be available at port 13579 on the ip address of your RaspberryPI (It needs to be connected to a WiFi, or work in access point mode. I plan to add instructions on how to do this in the future.)