Awesome Open Source
Awesome Open Source

Homebridge Raspberry Pi Image

Build GitHub release (latest by date) GitHub All Releases

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 400 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, deCONZ, 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 and Flash to SD Card

The Homebridge Raspberry Pi Image is completely free (no sign up required).

The easiest way to flash the Homebridge Raspberry Pi Image to your SD card is to use the Raspberry Pi Imager.

  1. Download and install the latest version of Raspberry Pi Imager.
  2. Open the Raspberry Pi Imager application.
  3. Click Choose OS.
  4. Scroll down and select the Other specific purpose OS category.
  5. Select Homebridge, then choose the latest Homebridge image.
  6. Click Choose Storage and select your SD card.
  7. Click Write.

Raspberry Pi Imager will now download and flash the latest version of the Homebridge Raspberry Pi Image to your SD card, this may take several minutes depending on the speed of your internet connection and SD card.


Advanced users:

If you wish to use another tool such as Etcher or dd to flash the Homebridge Raspberry Pi Image, you can manually download the image from our releases page:

Download Latest Version

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

⚠️ An Ethernet connection is recommended as this provides the most simple and stable Homebridge setup.

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:

  1. Power on your device without an Ethernet cable attached.
  2. Wait 1-2 minutes
  3. Use your mobile phone to scan for new WiFi networks
  4. Connect to the hotspot named Homebridge WiFi Setup
  5. 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.

wifi-connect-setup

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:

  1. 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.
  2. 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.
  3. Download the Fing app for iOS or Android to scan your network to find the IP address of your Raspberry Pi.
  4. 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.

hb-config

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.

Homebridge Discord Homebridge Reddit

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


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Shell (230,877
Raspberry Pi (7,248
Ui (5,193
Ffmpeg (2,045
Smarthome (1,176
Raspberry Pi 3 (928
Homebridge (490
Homekit (464
Raspberry Pi 4 (201
Related Projects