homebridge / homebridge-raspbian-image

Official Homebridge Raspberry Pi Image based on Raspberry Pi OS Lite.
http://homebridge.io
BSD 3-Clause "New" or "Revised" License
1.07k stars 64 forks source link
ffmpeg h264-omx homebridge homebridge-ui homekit homekit-bridge libfdk-aac raspberry-pi raspberry-pi-2 raspberry-pi-3 raspberry-pi-4 raspberry-pi-zero-w smarthome ui wifi-setup

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.

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 and deCONZ.

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

Note: The homebridge Image is temporarily not available for download within the Raspberry PI Imager Tool.

As a workaround, please download latest image from here, and use the 'Custom' option under 'Choose OS' within the imager tool.

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 Device
  4. Scroll down and select the No filtering option.
  5. Click Choose OS.
  6. Scroll down and select the Other specific purpose OS category.
  7. Select the Home assistants and home automation category.
  8. Select Homebridge, then choose your Homebridge image.
    • 32bit - For all RPI Models
    • 64bit - For RPI 3B, 3B+, 3A+, 4B, 400, 5, CM3, CM3+, CM4, CM4S, Zero 2 W
  9. Click Choose Storage and select your SD card.
  10. Click Next
  11. For Use OS Customisation, select No
  12. 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

:warning: 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 UI 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.

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>.

Security and Privacy

Community

The official Homebridge Discord server and Reddit community are where users can discuss Homebridge and ask for help.

Homebridge Discord Homebridge Reddit

Help

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