Skip to content

Latest commit

 

History

308 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Addon for saving and loading presets in the Piano-LED-Visualizer. It also allows configuring static rtpMIDI connections, managing Bluetooth devices, setting the password for the "plv" user and displaying WiFi and system information. The addon is available on port 8080 (e.g. http://[HOST-IP]:8080).

Screenshot with the new buttons and dropdownmenus in top of the screen to save and load the PLV-settings and sequences.

Configure static rtpMIDI connections, bluetooth devices and user-password in the @-on...

@-on screenshots.

Prerequisits:

Up and running installation of Piano-LED-Visualizer.

Installation:

1. Create a backup:

This addon is without warranty! I strongly recommend making a backup of your existing installation beforehand. Generally, I recommend installing on a new SD card with the latest release of "Raspbian 12 (bookworm)" as minimal OS, as well as the latest version of Piano-LED-Visualizer and rtpMIDI Daemon.

2. Update your system!:

sudo apt-get update
sudo apt-get upgrade
*it will take a while, go grab a coffee

3. Copy php directory to your existing installation

Navigate to the webinterface folder of your PLV installation

cd /home/Piano-LED-Visualizer/webinterface
  • GIT clone repository
sudo git clone https://github.com/geg1965/Piano-LED-Visualizer-Addon php

4. Installing php:

sudo apt-get install php8.2-common php8.2-cli

5. Enable autostart PHP script on boot:

sudo nano /lib/systemd/system/plvconfig.service

Paste and save:

[Unit]
Description=Piano-LED Visualizer Addon
After=network-online.target
Wants=network-online.target

[Install]
WantedBy=multi-user.target

[Service]
ExecStart=sudo php -S 0.0.0.0:8080 -t /home/Piano-LED-Visualizer/webinterface/php
Restart=always
Type=simple
User=plv
Group=plv
*Press CTRL + O to save file, confirm with enter and CTRL + X to exit editor and don't forget to adjust the parameters "ExecStart", "User" and "Group"!

6. Change permissions:

sudo chmod a+rwxX -R /home/Piano-LED-Visualizer/webinterface/php/

7. Reload daemon and enable service:

sudo systemctl daemon-reload
sudo systemctl enable plvconfig.service
sudo systemctl start plvconfig.service

Credits:

Thanks to onlaj for his work on the Piano-LED-Visualizer! I really enjoyed creating this interactive lighting for my master keyboard. The ledemu2.html used here is part of his code and has only been minimally adapted (autorefresh added).

About

Addon to save and load presets in Piano LED Visualizer

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages