How to Install Homebridge on a Raspberry Pi (Step-by-Step)

· Updated

Disclosure: This post contains affiliate links. If you buy through them, we may earn a small commission at no extra cost to you. We only recommend gear we would put in our own home. Learn more.

Quick answer: The easiest way is to flash the official Homebridge Raspberry Pi image onto a microSD card (or SSD) with Raspberry Pi Imager, boot the Pi on your network, open http://homebridge.local:8581 in a browser, and follow the setup wizard. Then scan the QR code in the Apple Home app and start adding plugins. Plan on 30–60 minutes the first time.

What Homebridge does (and whether you need it)

Homebridge is free, open-source software that makes devices without native Apple HomeKit support show up in the Apple Home app. Plugins written by the community act as translators between Apple Home and thousands of devices and services. Since version 2.0 (May 2026), plugins can also publish their devices over Matter, so they can show up in Google Home, Amazon Alexa and Samsung SmartThings as well as Apple Home.

Before you start, check whether you even need it. Many devices now support Apple Home directly or through Matter, and some hubs (including Hubitat) can expose devices to Apple Home on their own. Homebridge shines when you have a device that doesn’t, or when you want features the native integration doesn’t offer. It’s a bridge rather than a hub, so if you’re still choosing the hub itself, see the best smart home hubs that work without the cloud.

What changed in Homebridge 2.0 (and do you need Matter?)

Homebridge 2.0 was released on May 4, 2026, and the big change is Matter. Homebridge still works as a HomeKit bridge. From version 2, plugins can also expose their accessories over Matter, so they can be added to Google Home, Amazon Alexa, Samsung SmartThings and other Matter controllers, not just Apple Home (Homebridge docs).

What to know before you turn it on:

  • It’s opt-in, per bridge, and it depends on the plugin. You enable Matter for the main bridge or for a single plugin’s child bridge, and Homebridge then runs a separate Matter server next to the HomeKit one. Only plugins that have added Matter support publish Matter devices.
  • Expect a warning when pairing. Homebridge’s Matter support isn’t certified by the Connectivity Standards Alliance, so the app you pair it with may warn you about an uncertified accessory. Homebridge’s own docs say that’s expected.
  • Node.js and plugins have moved on. Homebridge 2 dropped Node.js 18 and 20 and requires Node.js 22 or 24 (release notes). Most plugins work unchanged, but ones that relied on old functions had to be updated. The UI’s readiness check shows a green tick for plugins that declare Homebridge 2 support (v2 update guide).

Do you need Matter? If everything you control lives in Apple Home, no. The HomeKit bridge works as before. Matter is worth a look if you also use Alexa or Google Home and a plugin you rely on has added Matter support.

What you’ll need

  • A Raspberry Pi. A Raspberry Pi 4 or Raspberry Pi 5 is a comfortable choice. Homebridge is light, so you don’t need the top memory option.
  • Official power supply. Underpowered Pis cause weird, hard-to-diagnose problems. Use the official supply for your model.
  • Storage. A good-quality microSD card (A2-rated, 32 GB is plenty) or, for better long-term reliability, a USB or NVMe SSD.
  • A case with cooling. Especially for the Pi 5, a case with a fan or the official active cooler is a good idea.
  • An Ethernet cable (recommended). Wired is more reliable than Wi-Fi for a device that runs 24/7.
  • A computer to flash the card, and an Apple device (iPhone, iPad or Mac) with the Home app. An Apple home hub (HomePod or Apple TV) is needed for automations and remote access.

Step-by-step installation

Step 1: Install Raspberry Pi Imager

Download Raspberry Pi Imager from the official Raspberry Pi website and install it on your computer (Windows, macOS or Linux).

Step 2: Choose the Homebridge image

Open Imager, choose your Pi model, then go to the operating system list. The Homebridge image is listed under the home automation / specific-purpose OS section. Select it, then choose your microSD card or SSD as the storage target.

Menu names in Imager change from version to version. If you can’t find it, download the image from the Homebridge project’s GitHub page and use “Use custom” in Imager.

Step 3: Set up Wi-Fi (only if you’re not using Ethernet)

If you’ll use Ethernet, skip this. If not, follow the Homebridge image’s current instructions for Wi-Fi setup. Depending on the version, this is done either in Imager’s settings before writing or through a temporary setup hotspot the Pi creates on first boot.

Step 4: Write the image and boot the Pi

Write the image, put the card (or SSD) in the Pi, connect Ethernet, and plug in power. Give it a few minutes on first boot — it’s setting itself up.

Step 5: Open the Homebridge UI

On a computer on the same network, go to http://homebridge.local:8581. If that doesn’t load, find the Pi’s IP address in your router’s device list and use http://[IP address]:8581 instead. Create your admin account when prompted.

Step 6: Add Homebridge to Apple Home

The Homebridge dashboard shows a QR code. Open the Home app on your iPhone, tap + > Add Accessory, and scan it. You’ll see a warning that it’s an uncertified accessory — that’s normal for Homebridge. Tap “Add Anyway.”

Step 7: Update and back up

In the UI, apply any updates offered for Homebridge, the UI and Node.js. Homebridge 2 requires Node.js 22 or 24; version 2.0 dropped Node.js 18 and 20. If you’re upgrading an older install from Homebridge 1.x, update Node.js first and check that your plugins are v2-ready. On the Pi image, the project’s wiki says to update the Homebridge package over SSH: run sudo hb-config and choose Update Homebridge, which also installs the recommended Node.js version (wiki). Then create a backup from the settings menu and save it somewhere other than the Pi.

Your first plugins

Install plugins from the Plugins tab in the Homebridge UI. Search, install, then fill in the settings form. A few popular ones to look at:

  • Hubitat: community plugins can bring Hubitat devices into Apple Home. Note that Hubitat also offers a built-in HomeKit integration, so compare both (new to Hubitat? Start with our Hubitat vs Home Assistant comparison or the full Hubitat review).
  • Sonos: plugins such as homebridge-zp expose Sonos speakers to Apple Home for things like volume and on/off in scenes.
  • Alexa: the homebridge-alexa plugin works in the other direction, letting Alexa control devices you’ve added to Homebridge.
  • Cameras: camera plugins can bring many RTSP cameras into Apple Home.

Prefer plugins marked as Verified in the Homebridge UI. Homebridge 2.0 changed parts of the plugin API, so a plugin that hasn’t been updated in years may not load. Before you install one, or upgrade from Homebridge 1.x, look at the readiness check in the UI: plugins that declare Homebridge 2 support get a green tick.

Note that Lutron Caséta already works with Apple Home natively through the Lutron hub, so you don’t need Homebridge for it. Still choosing switches? See our Caséta vs Leviton vs Kasa comparison and our guide to smart switches that don’t need a neutral.

Use child bridges

In each plugin’s settings, you can enable a child bridge. This runs the plugin in its own process, so if one plugin crashes or misbehaves, it doesn’t take down the rest of Homebridge. For a reliable setup, turn this on for most plugins. It matters even more on Homebridge 2. Per Homebridge’s v2 update guide, an incompatible plugin in a child bridge will likely just keep restarting on its own, while without a child bridge the main Homebridge process will likely crash and restart continually. Either way the UI stays reachable, so you can disable the plugin. A child bridge is also where you turn on Matter for a single plugin.

Troubleshooting common problems

“homebridge.local” won’t load

Some networks and devices don’t resolve .local names well. Use the Pi’s IP address from your router. Setting a DHCP reservation for the Pi in your router keeps that address from changing.

Accessories show “No Response” in Apple Home

Check the Homebridge logs in the UI first. Common causes: a plugin crashed (child bridges help here), the Pi lost network, or multicast/mDNS traffic is being blocked by mesh Wi-Fi or router settings. Restarting Homebridge from the UI often clears it.

The Pi keeps rebooting or freezing

Usually power or storage. Use the official power supply and replace a worn microSD card — or move to an SSD.

A plugin stopped working after an update

Check the plugin’s GitHub page for known issues, roll back to the previous version from the plugin’s menu in the UI, or restore your backup. If it broke right after moving to Homebridge 2, find the plugin in the UI’s readiness check. No green tick means the plugin hasn’t declared Homebridge 2 support yet, so disable it or keep it in its own child bridge until it’s updated.

Homebridge can’t be found when adding to Home

Make sure your iPhone is on the same network (not a guest network) as the Pi. If you’ve added and removed it before, you may need to reset the Homebridge pairing from the UI settings.

Keeping it reliable long-term

  • Use Ethernet, not Wi-Fi.
  • Run plugins as child bridges.
  • Don’t install plugins you don’t need.
  • Read release notes before big updates.
  • Keep regular backups off the Pi.
  • Consider an SSD instead of a microSD card.

FAQ

Which Raspberry Pi is best for Homebridge?

A Raspberry Pi 4 or 5 is a comfortable choice for most homes. Homebridge doesn’t need much power, so an older Pi you already own may be fine for a small setup. The official image supports the Pi 2 and newer; the original Pi 1 and Zero W are no longer supported.

Is Homebridge free?

Yes. Homebridge and its plugins are free and open source. You only pay for the hardware.

Do I need an Apple TV or HomePod?

Not to add devices, but you need an Apple home hub for automations and controlling things when you’re away from home.

Can Alexa or Google Home control my Homebridge devices now?

Yes, with Homebridge 2.0 or later, for plugins that support Matter. Turn on Matter for the bridge the plugin runs on, then add Homebridge as a Matter device in the Alexa or Google Home app. Expect an uncertified-accessory warning during pairing. Plugins without Matter support still only appear in Apple Home.

Can I run Homebridge on something other than a Pi?

Yes. It also runs on Linux, macOS, Windows, Docker and some NAS devices. A Pi is just the cheapest, most popular always-on option.