Install Hyperion On Raspberry Pi (Step-by-step Guide)

1. Download the latest version of Hyperion from the official website.

2. Extract the downloaded file and copy the contents to the Raspberry Pi.

3. Open a terminal window and navigate to the directory where the Hyperion files were extracted.

4. Install the necessary dependencies by running the following command:

sudo apt-get install libqt4-dev libqt4-opengl-dev libqt4-sql-sqlite libqt4-sql-mysql libqt4-sql-psql libqt4-sql-odbc libqt4-sql-sqlite2 libqt4-sql-tds libqt4-sql-ibase libqt4-sql-sqlite3 libqt4-sql-sqlite3-dev libqt4-sql-mysql-dev libqt4-sql-psql-dev libqt4-sql-odbc-dev libqt4-sql-sqlite2-dev libqt4-sql-tds-dev libqt4-sql-ibase-dev

5. Compile the source code by running the following command:

qmake && make

6. Install Hyperion by running the following command:

sudo make install

7. Create a configuration file for Hyperion by running the following command:

hyperion-remote –add

8. Start the Hyperion service by running the following command:

sudo service hyperion start

9. Test the installation by running the following command:

hyperion-remote –list

10. Enjoy your new Hyperion installation!

I have Philips Hue smart lights at home and am amazed by the number of projects you can do with them. I already wrote on how to control these lights in Python, Home Assistant, etc. Hyperion is another tool you can use, with the primary goal of enhancing your TV experience by linking light colors to the movie you are watching. Let’s learn how to install it on a Raspberry Pi.

Hyperion has packages and repositories available for most operating systems and architectures, and it’s fully supported on Raspberry Pi. After adding the official repository to Raspberry Pi OS, you can install it with APT.

If you are used to installing new apps and services on your Raspberry Pi, it should be pretty straightforward, so let’s get to the point.

If you’re looking to quickly progress on Raspberry Pi, you can check out my e-book here. It’s a 30-day challenge where you learn one new thing every day until you become a Raspberry Pi expert. The first third of the book teaches you the basics, but the following chapters include projects you can try on your own.

Install Hyperion on Raspberry Pi

Get a supported distribution on your Raspberry Pi

Hyperion is supported on many distributions (Debian, Ubuntu, Fedora, etc.), and is a lightweight application, so you can probably keep your current installation. But, make sure to have your system ready before going further:

I’m testing this for you with a Raspberry Pi 4, running Raspberry Pi OS Bullseye (64-bit). You might notice some slight changes depending on your setup, but overall the installation process would be the same.

Note: If you want to try it, Hyperion also has a custom distribution, named HyperBian. It’s a custom Raspberry Pi OS release with Hyperion pre-installed. It looks up-to-date, so it might be something to consider.

Install Hyperion

Here are the steps to install Hyperion on a Debian-based system:

  • Open a terminal or connect via SSH.
  • The first thing to do is to add the key for the Hyperion repository:
    wget -qO- https://apt.hyperion-project.org/hyperion.pub.key | sudo gpg --dearmor -o /usr/share/keyrings/hyperion.pub.gpg
  • Then, you can add the repository to your sources list:
    echo "deb [signed-by=/usr/share/keyrings/hyperion.pub.gpg] https://apt.hyperion-project.org/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hyperion.list
  • Update the package list:
    sudo apt update
  • Install Hyperion:
    sudo apt install hyperion

If everything is going well, it will install all the required packages (including Hyperion) and give you some information once complete:

Take note of the URL shown there, as you’ll need it for the next step. In theory, it should be your Raspberry Pi IP address, accessed via the 8090 port (or 8091 if you already have a service running on the default port).

You may also need to reboot your Raspberry Pi to complete the installation. Hyperion will enable SPI for you, just in case you need it with some of your lights later.
You can restart it with one command line:
sudo reboot

Are you a bit lost in the Linux command line? Check this article first for the most important commands to remember, and a free downloadable cheat sheet so you can have the commands at your fingertips.

Make sure it’s working properly

After the installation of Hyperion on your Raspberry Pi, you should be able to access the web interface at:
http://<IP_ADDRESS>:8090
You’ll now configure everything from here, so just make sure it’s working.

You’re almost done. You can now browse the menu and configuration options, and then tweak anything you want. For example, you can switch to your native language by clicking on the wrench icon in the top-right corner.

If you are looking for exclusive tutorials, I post a new course each month, available for premium members only. Join the community to get access to all of them right now!

Add your smart lights to Hyperion

Hyperion supports a large array of smart lights, so you should be able to connect to yours easily.

To add your LED to the interface, go to LED Instances > LED Output via the left menu, and select the type of controller you have.
Personally, I’m using Philips Hue smart lights, so I’ll share my experience with them. But the procedure with other brands should be similar. Obviously, if your lights are connected to the GPIO pins, there are a few additional steps, and each setup will be different.

I first tested filling the form manually, but it didn’t work. I had an “Invalid port” error in the logs (by the way, you can check the logs under System in the left menu, it will be very useful to understand any issue you might have).

Then, I noticed that there was a wizard to connect Hyperion to my Philips Hue bridge.
This was way easier, it detected my controller automatically, I just had to press the button to allow the connection.
Once connected, my Light were available in the interface, and I just had to set their position to match my screen display colors.

The ideal setup is to have how light strip on each side of your monitor or TV.
You then have several choices to capture the media stream, depending on the hardware you use. Each setup is different, but basically, you need to configure it under “Capturing hardware” in the left main. It can be simple screen capture, or external devices, like a video capture device or even a camera.

You’ll find all the information to configure it your way on their official documentation. They also have a pretty active forum, so feel free to ask there if you are lost somewhere.

You can also watch the end of this video for a concrete example:

Additional Resources

Not sure where to start?
Understand everything about the Raspberry Pi, stop searching for help all the time, and finally enjoy completing your projects.
Watch the Raspberry Pi Bootcamp course now.

Master your Raspberry Pi in 30 days
Don’t want the basic stuff only? If you are looking for the best tips to become an expert on Raspberry Pi, this book is for you. Learn useful Linux skills and practice multiple projects with step-by-step guides.
Download the e-book.

VIP Community
If you just want to hang out with me and other Raspberry Pi fans, you can also join the community. I share exclusive tutorials and behind-the-scenes content there. Premium members can also visit the website without ads.
More details here.

Need help building something with Python?
Create, understand, and improve any Python script for your Raspberry Pi.
Learn the essentials step-by-step without losing time understanding useless concepts.
Get the e-book now.

You can also find all my recommendations for tools and hardware on this page.

Install Hyperion On Raspberry Pi (Step-by-step Guide)

Hyperion is an open source ambient light software for the Raspberry Pi. It allows you to control the lighting of your home or office with a few simple commands. In this guide, we will show you how to install Hyperion on your Raspberry Pi.

Step 1: Install Raspbian

The first step is to install Raspbian, the official operating system for the Raspberry Pi. You can download the latest version of Raspbian from the official Raspberry Pi website. Once you have downloaded the image, you can write it to an SD card using a tool such as Etcher.

Step 2: Install Hyperion

Once you have Raspbian installed, you can install Hyperion. To do this, open a terminal window and enter the following command:

sudo apt-get install hyperion

This will install the latest version of Hyperion on your Raspberry Pi. Once the installation is complete, you can start the Hyperion service by entering the following command:

sudo service hyperion start

Step 3: Configure Hyperion

Once Hyperion is installed, you can configure it to work with your lighting system. To do this, you will need to edit the Hyperion configuration file. To open the configuration file, enter the following command:

sudo nano /etc/hyperion/config.json

This will open the configuration file in the nano text editor. You can then edit the file to configure Hyperion to work with your lighting system. Once you have finished editing the file, you can save it and exit the editor.

Step 4: Test Hyperion

Once you have configured Hyperion, you can test it to make sure it is working correctly. To do this, you can use the Hyperion CLI tool. To open the CLI tool, enter the following command:

hyperion-cli

This will open the Hyperion CLI tool. You can then use the tool to test your lighting system. Once you have finished testing, you can exit the CLI tool.

Conclusion

In this guide, we have shown you how to install Hyperion on your Raspberry Pi. We have also shown you how to configure Hyperion and test it to make sure it is working correctly. With Hyperion, you can control the lighting of your home or office with a few simple commands.

Jaspreet Singh Ghuman

Jaspreet Singh Ghuman

Jassweb.com/

Passionate Professional Blogger, Freelancer, WordPress Enthusiast, Digital Marketer, Web Developer, Server Operator, Networking Expert. Empowering online presence with diverse skills.

jassweb logo

Jassweb always keeps its services up-to-date with the latest trends in the market, providing its customers all over the world with high-end and easily extensible internet, intranet, and extranet products.

Contact
San Vito Al Tagliamento 33078
Pordenone Italy
Item added to cart.
0 items - 0.00
Open chat
Scan the code
Hello 👋
Can we help you?