Colorpicker webapp for Hyperion
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Colorpicker webapp for Hyperion (

The color picker is based on the Boblight version created by Nadnerb ( The color picker was re-factored by Bradley Cornford (


Install dependencies:

sudo apt-get update
sudo apt-get install nginx php5-fpm

Configure the webserver:

sudo nano /etc/nginx/sites-enabled/default

Replace the contents of the file with:

server {
        listen 8888;
        root /home/pi/www;
        index index.php index.html index.htm;

        location ~ \.php$ {
                fastcgi_pass unix:/var/run/php5-fpm.sock;
                fastcgi_index index.php;
                include fastcgi_params;
sudo nano /etc/nginx/fastcgi_params

Add the following contents to the file:

fastcgi_param    SCRIPT_FILENAME    $document_root$fastcgi_script_name;
fastcgi_param    PATH_INFO          $fastcgi_path_info;
fastcgi_param    PATH_TRANSLATED    $document_root$fastcgi_path_info;

Download the contents of this repository to /home/pi/www. You can either download a zip from github or clone the repository using (you need to have git installed for this):

git clone /home/pi/www

Finally restart the webserver:

sudo service nginx restart
sudo service php5-fpm restart

The site should now be available on http://ip-of-host:8888

Required if you are running Raspbian / Debian:

Update the visudo list:

pkexec visudo

In the section "# Cmnd alias specification" add:

Cmnd_Alias WEBDAEMONS = /etc/init.d/hyperion

In the section "#includedir /etc/sudoers.d" add:

www-data ALL = (root) NOPASSWD: WEBDAEMONS

Open the configuration file:

sudo nano /home/pi/www/conf/Configuration.php

Update the configuration for "serverController"

'serverController' => 'sudo /etc/init.d',


  • I got a 403 error when loading the webpage.
    Check if index.php exists in the /home/pi/www folder and check the permissions on the file (change with chmod -R 775 /home/pi/www)
  • I got an error when clicking a button. Check the owner of the index.php file in /home/pi/www (change with chown -R pi:www-data /home/pi/www)


This software is released under the GPL license