HyperBian
HyperBian is a set of ready-to-use images for Raspberry Pi.
It's based on the original Raspberry Pi Foundation's image, "Raspberry Pi OS Lite," previously called Raspbian. Thus, Hyperion and Raspbian form HyperBian.
Here is a high-level overview of the installation process:
- Download the HyperBian image for your Raspberry Pi.
- Write the image to a microSD card from a PC.
- Optionally, customize your Raspberry Pi's Wi-Fi network or system settings, like language or time zone.
- Insert the SD card and power on your Pi.
- In a web browser, navigate to
http://IP.OfYour.RPi:8090to access the Hyperion web interface.
Requirements
- Raspberry Pi
- PC running Linux, macOS, or Windows
- microSD or SD card reader
- For SD card readers, use a microSD-to-SD adapter
- microSD card with minimum 4 GB capacity
Installation Instructions
Download the appropriate HyperBian image for your Raspberry Pi hardware.
If using Raspberry Pi 1, 2 or Zero v1, download the asset with
armhfin the filename.
For all other versions of Raspberry Pi, download the file witharm64.Extract the
.zipfile. You should now have a.imgfile.Download and install your preferred tool for writing images to SD cards. The following instructions will cover these tools:
- Download and install the Raspberry Pi Imager.
- Start
Raspberry Pi Imager. - At the Device step, select your Raspberry Pi device.
- At the OS step, select
Use customat the bottom of the list. - Select the extracted HyperBian
.imgfile. - At the Storage step, select your microSD card.
- At the Writing step, confirm the installation details, and click the "Write" button to begin writing the image to the SD card.
- Wait until the image is written to the SD card.
- Download and install balenaEtcher.
- Start balenaEtcher.
- Click the
Flash from filebutton. - Select the extracted HyperBian
.imgfile. - Click the
Select "Targetbutton, and choose your SD card. - Click the
Flash!button to begin writing the image to the SD card. - Wait until the image is written to the SD card.
- Download and install Win32 Disk Imager.
- Start Win32DiskImager.
- In the Image File section, click the blue folder icon and select the extracted HyperBian
.imgfile. - In the Device section, select the drive letter corresponding to your SD card device.
- Click the
Writebutton to write the image to the SD card. - Wait until the image is written to the SD card.
After the HyperBian image is written to the SD card successfully, you can optionally customize the Raspberry Pi configuration.
- Before first boot, prepare Wi-Fi and/or System configuration files.
- After first boot, run the
raspi-configcommand from the CLI.
Configuration Files
Wi-Fi and System configuration files can be generated using the wizard tools below or by directly editing the configuration files already provided by the image.
IMPORTANT
Save the configuration file(s) in the boot partition of your SD card. The configuration will then take place after the first boot.
Prepare a Wi-Fi configuration file
WiFi Configuration Generator
Generate a customized WiFi configuration for your HyperBian system.
How to Use the WiFi Configuration Generator
Enter your network details:
SSID: Your Wi-Fi network name
Password: Your Wi-Fi password
Country: Your two-letter country code, e.g., DE, US, GB, FR.
TIP
For a list of country codes, refer to the ISO 3166-1 alpha-2 standard.
Click the
Save Configurationbutton to save your customizednetwork-configfile.- If your browser asks where to save the file, select the destination folder. Otherwise, it will be saved to the default location, e.g., the
Downloadsfolder.
- If your browser asks where to save the file, select the destination folder. Otherwise, it will be saved to the default location, e.g., the
Copy the
network-configfile into thebootpartition of your HyperBian SD card.
What is the network-config file?
The network-config file is used by HyperBian during the first boot to configure your Raspberry Pi's Wi-Fi connection. By placing this file in the boot partition before the first startup, your device will automatically connect to your Wi-Fi network.
This wizard tool helps you generate a Wi-Fi configuration file for your HyperBian installation.
Simply enter your network details below, and click "Generate Config" to create a customized configuration file.
Manual Configuration
If you prefer to manually edit the configuration file, you can use the following template:
####################################################################################
## Configure your initial HyperBian Wifi connectivity to your needs below.
## Uncomment and edit the relevant sections as needed.
##
## If you have additional needs refer to the cloud-init documentation
## and the netplan reference for full details:
##
## https://netplan.io/reference
## https://cloudinit.readthedocs.io/en/latest/topics/network-config.html
## https://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v2.html
####################################################################################
network:
version: 2
wifis:
wlan0:
dhcp4: true
optional: true
access-points:
"YOUR_SSID":
password: "YOUR_PASSWORD"
regulatory-domain: YOUR_COUNTRY_CODEReplace YOUR_SSID, YOUR_PASSWORD, and YOUR_COUNTRY_CODE with your actual values.
Prepare a System configuration file
This wizard tool helps you generate a system configuration file for your HyperBian installation.
Simply enter your system details below, and click "Generate Config" to create a customized configuration file.
System Configuration Generator
Generate a customized system configuration for your HyperBian system.
How to Use the System Configuration Generator
Fill out the form with your desired system settings:
Username
Password
Hostname: If your network supports mDNS, also known as Bonjour or Avahi, then the hostname can be used to access your Hyperion web interface, i.e.,
http://hostname.local:8090.When you tick the checkbox for the following three settings, a dropdown menu will appear. Select your desired option from the dropdown menu.
Set Timezone: Timezones must be valid IANA time zone identifiers.
Set Locale: Locale must follow glibc locale naming and be supported by the system.
Set Keyboard layout: Layouts must be valid XKB layout names.
Enable SPI Interface: Enable or disable the SPI interface. Enable if your LEDs communicate using the Raspberry Pi's SPI pins in the GPIO.
Enable SSH Access: Enable or disable SSH access. Enable if you want remote access to the CLI, e.g., to change the service user to use WS281x LEDs with the Raspberry Pi's PWM pins in the GPIO.
Click
Save Configurationto save your customizeduser-datafile.- If your browser asks where to save the file, select the destination folder. Otherwise, it will be saved to the default location, e.g., the
Downloadsfolder.
- If your browser asks where to save the file, select the destination folder. Otherwise, it will be saved to the default location, e.g., the
Copy the
user-datafile into thebootpartition of your HyperBian SD card.
What is the user-data file?
The user_data file is used by HyperBian during the first boot to configure your Raspberry Pi's setup. By placing this file in the boot partition, you can pre-configure settings like username, password, hostname, and more.
Manual Configuration
If you prefer to manually edit the configuration file, you can use the following template.
Replace the placeholder or sample values with your desired configuration. You might need to uncomment selections to get them to work.
## template: jinja
#cloud-config
# This is the user-data configuration file for cloud-init.
# Many additional actions can be initiated on first boot from this file.
# The cloud-init documentation has more details:
#
# https://cloudinit.readthedocs.io/
#
# Please note that the YAML format employed by this file is sensitive to
# differences in whitespace; if you are editing this file in an editor (like
# Notepad) which uses literal tabs, take care to only use spaces for
# indentation. See the following link for more details:
#
# https://en.wikipedia.org/wiki/YAML
#
##################################################################
## Configure your initial HyperBian system to your needs below ###
## Uncomment and edit the relevant sections as needed. ###
##################################################################
# 1. Define the Hyperion user name (optional)
{% set HYPERION_USER = "YOUR_HYPERION_USERNAME" %}
# 2. Define, if ssh access should be enabled (optional)
{% set ENABLE_SSH = false %}
# 3. Set the system's hostname (optional)
hostname: YOUR_HYPERBIAN_HOSTNAME
# 4. Set the timezone for this instance (optional)
# the value of 'timezone' must exist in /usr/share/zoneinfo
# Run: timedatectl list-timezones
## Sample for Berlin timezone
#timezone: Europe/Berlin
# 5. Set the locale to a given locale; default: en_GB.UTF-8 (optional)
# Run: locale -a
## Sample for German locale
#locale: de_DE.UTF-8
# 6. Set up the keyboard layout (optional)
# See localectl(1), in particular the various list-x11-* sub-commands,
# to determine the available models, layouts, variants, and options
# Run: localectl list-x11-keymap-layouts
## Sample for German keyboard layout
#keyboard:
# layout: de
# 7. Enable the SPI interface (optional)
rpi:
interfaces:
spi: true
####################################################
### DO NOT CHANGE THE BELOW BESIDES THE PASSWORD ###
####################################################
users:
- name: {{ HYPERION_USER }}
gecos: Hyperion user
groups: users, dialout, sudo, video, audio, gpio, spi, i2c
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
lock_passwd: false
passwd: "YOUR_HYPERION_USERNAME_PASSWORD_ENCRYPTED"
shell: /bin/bash
ssh_pwauth: {{ ENABLE_SSH }}
runcmd:
- |
echo "Running setup for Hyperion user: {{ HYPERION_USER }}"
/usr/share/hyperion/scripts/updateHyperionUser.sh -u "{{ HYPERION_USER }}"
{% if ENABLE_SSH %}
- systemctl unmask ssh
- systemctl enable ssh
- systemctl start ssh
{% else %}
- echo "SSH is disabled in config"
{% endif %}NOTE
The passwd field requires a SHA-512 encrypted password hash, e.g. run openssl passwd -6 "YOUR_PASSWORD" and replace YOUR_HYPERION_USERNAME_PASSWORD_ENCRYPTED with the output.
-> Now, put the SD card into your Raspberry Pi and start up the system.
INFO
The Raspberry Pi may reboot several times while configuring the system.
Running the raspi-config command
Customizing configuration after first boot
If you want to customize the Raspberry Pi's configuration without using the above configuration files, you can still update its configuration via the sudo raspi-config command.
This method may require a specialized HDMI adapter or cable, which is not always available to all users. Therefore, it is recommended to use the configuration files as described in the previous section for simplicity.
Default Configuration
HyperBian's default username, password, and hostname
- User:
hyperion - Password:
ambientlight - Hostname:
hyperbian
Default keyboard language and layout
HyperBian ships with an English keyboard by default. If using a non-English keyboard, some keys might be found in different places. When logging in for the first time, type as though you have an English keyboard.
If your network supports mDNS, navigate to http://hyperbian.local:8090. Otherwise, use the IP address of your Raspberry Pi.
Proceed to the next section for details on Advanced setup in Hyperion.

