Homebridge Raspberry Pi Image
This project provides a free Raspbian based Raspberry Pi image with Homebridge and Homebridge Config UI X pre-installed.
- Works on all Raspberry Pi models
- Built on Raspbian Lite (no desktop)
- Simple WiFi Setup
- Includes
ffmpeg
pre-compiled with audio support (libfdk-aac) and hardware decoding (h264_omx) - Includes a user friendly, easy to use web based GUI to configure Homebridge and monitor your Raspberry Pi
- Visual configuration for over 80 popular plugins (no manual config.json editing required)
This image also provides a command called hb-config
which helps you keep Node.js up-to-date, perform maintenance on your Homebridge server, and install additional optional software such as Pi Hole, Node-RED and the UniFI Controller.
The Homebridge service is installed using the method described in the official Raspberry Pi Installation Guide on the Homebridge project wiki.
Download
Downloading the Homebridge Raspberry Pi Image is completely free (no sign up required).
Download Latest Version
Flash to SD Card
The easiest way to flash the Homebridge Raspberry Pi Image to your SD card is to use Etcher.
- Download and install the latest version of Etcher.
- Open Etcher and select the
Homebridge-Raspbian-v0.0.0.zip
file you have downloaded. There is no need to extract the.zip
file first. - Choose the drive your SD card has been inserted into.
- Click Flash.
First Boot / Network Setup
Now that you have flashed your SD card, you can insert it into your Raspberry Pi.
Before powering on your Raspberry Pi decide if you want to use Ethernet or WiFi to connect to your network.
Ethernet
If you have decided to connect your Raspberry Pi using ethernet, do so before you power on your device for the first time.
WiFi Setup
Follow these steps to connect your device to WiFi:
- Power on your device without an Ethernet cable attached.
- Wait 1-2 minutes
- Use your mobile phone to scan for new WiFi networks
- Connect to the hotspot named Homebridge WiFi Setup
- Wait a few moments until the captive portal opens, this portal will allow you to connect the Raspberry Pi to your local WiFi network.
If you enter your WiFi credentials incorrectly the Homebridge WiFi Setup hotspot will reappear allowing you to try again.
Managing Homebridge
The Homebridge Config UI X web interface will allow you to install, remove and update plugins, and modify the Homebridge config.json and manage other aspects of your Homebridge service.
The default user is admin
with password admin
.
If you're using macOS or a mobile device, you should be able to access the UI via http://homebridge.local.
If you're using Windows, or http://homebridge.local
does not work for you, you will need to find the IP address of your Raspberry Pi another way:
- Login to your router and find the "connected devices" or "dhcp clients" page to find the IP address that was assigned to the Raspberry Pi.
- Use an iPhone to access
http://homebridge.local
, once you login using the default username and password (admin/admin) you can find the IP address under System Information. - Download the Fing app for iOS or Android to scan your network to find the IP address of your Raspberry Pi.
- As a last resort, if you plug a monitor into your Raspberry Pi, the IP address will be displayed on the attached screen once it has finished booting.
Once you've found your IP address, login to the web interface by going to http://<ip address of your server>
.
You should take a moment to review the Configuration Reference at the bottom of this guide.
Updating Node.js
To update Node.js run sudo hb-config
and select Upgrade Node.js.
This will ensure your Raspberry Pi is running the latest LTS version of Node.js.
SSH Access
SSH is enabled by default. The default username is pi
with password raspberry
.
Security and Privacy
- Privacy: The Homebridge Raspbian Image, as well as the Homebridge and Homebridge Config UI X software components, do not contain any analytics, call home, or similar features that would allow the project maintainers to track you or the usage of this image.
- Security: The Homebridge Raspbian Image is kept up-to-date with the latest official Raspbian builds. To find out more, or to report a security issue or vulnerability, please see the project's SECURITY policy.
- Transparency: The Homebridge Raspbian Image project is open source and each image is built using the public GitHub Action runners. The build logs for each release are publicly available on the project's GitHub Actions page and every release contains a SHA-256 checksum of the image you can use to verify the integrity of your download.
Community
The official Homebridge Discord server and Reddit community are where users can discuss Homebridge and ask for help.
Configuration Reference
This table contains important information about your setup. You can use the information provided here as a reference when configuring or troubleshooting your environment.
File Location / Command | |
---|---|
Config File Path | /var/lib/homebridge/config.json |
Storage Path | /var/lib/homebridge |
Restart Command | sudo hb-service restart |
Stop Command | sudo hb-service stop |
Start Command | sudo hb-service start |
View Logs Command | sudo hb-service logs |
Manage Homebridge Server | sudo hb-config |
Systemd Service File | /etc/systemd/system/homebridge.service |
Systemd Env File | /etc/default/homebridge |
Default Hostname | homebridge.local |
Default SSH Username | pi |
Default SSH Password | raspberry |
Default Web Username | admin |
Default Web Password | admin |
The Homebridge Raspberry Pi Image wiki contains more information and instructions on how to further customise your install:
https://github.com/homebridge/homebridge-raspbian-image/wiki