← All packages

homebridge-ctrlpi

Already running Homebridge? Add one plugin and your Pi, Pico W, and ESP32 are in the Apple Home app, beside everything else you have there. Search ctrlPi in the Homebridge UI, fill in the settings, done. Homebridge does not have to run on the Pi: every pin is driven over your agents' REST API.

platformHomebridge 1.8 | 2.0+ version0.9.78 authApi-Key agentsPi, Pico & ESP32 licenseMIT statusBeta

Quick start

In the Homebridge UI open Plugins, search for ctrlPi, install it, and fill in the settings form. There is no terminal step and nothing to configure on the Pi first.

Restart Homebridge and the accessories appear in the Home app, each one individually automatable.

Accessories

accessoryHomeKit serviceBacked by
Output Devices
fanFanan output pin
lightbulbLightbulban output pin
outletOutletan output pin, optional in-use input
switchSwitchan output pin
Input Devices
buttonStateless Programmable Switchan input pin, single / double / long press
contactContact Sensoran input pin
dioxideCarbon Dioxide Sensoran input pin
indicatorLightbulb, read-onlyan input pin, shows its state as a light; taps are ignored
leakLeak Sensoran input pin
monoxideCarbon Monoxide Sensoran input pin
motionMotion Sensoran input pin
occupancyOccupancy Sensoran input pin
smokeSmoke Sensoran input pin
Combined Devices
garagedoorGarage Door Openera relay pin, optional open and close sensors
irrigationIrrigation Systemone relay pin per zone, each zone a Valve
lockLock Mechanismone or two relay pins, optional door and bolt sensors
shadesWindow Coveringan up and a down relay, optional limit sensors
valveValveone or two relay pins, optional position sensor
Environment Sensors
humidityHumidity Sensoran agent script, polled
luxLight Sensoran agent script, polled
temperatureTemperature Sensoran agent script, polled

How it drives the pins

In the family

Drives any mix of pi-gpio-api Pis, pico-gpio-api Pico Ws and esp32-gpio-api ESP32s, so one Homebridge can put every board in the house into Apple Home side by side.

To talk to the same agents from Claude or another AI assistant, see mcp-bridge. To test endpoints, watch webhook events and tail logs in the browser, open ctrlpi-lab, and to find and drive agents from a terminal, use ctrlpi-cli.

To get an agent onto a board over USB, use pico-bay. It can install MicroPython, manage the board's files and run code on a Pico and an ESP32. pi-bay, for a Raspberry Pi over the network, is coming soon.