Raspberry Pi GPIO
thecode/ha-rpi_gpio · v2026.4.0
Home Assistant Raspberry Pi GPIO Integration
In Apple Home through HomeKit Bridge
What HomeKit Bridge makes of each kind of entity this integration creates, read from its source code. A device only gets the ones that apply to it.
| Entity | Shows up as | Note |
|---|---|---|
switch | Switch or outlet | |
cover | Blind, garage door, window or door | |
binary_sensor | Sensor (motion, contact, leak, smoke…) |
What people report
GPIO control works on Pi 4 and earlier; Raspberry Pi 5 reports are mixed because of the new RP1 GPIO, though one maintainer says it works on HAOS.
- Partly works1
- Not working1
| Device | In Home Assistant | In Apple Home | What they said | Source |
|---|---|---|---|---|
| Raspberry Pi 5 | Partly works Local | Original RPi.GPIO fails on Pi 5; maintainer later says works on HAOSSaved copyDoes this really work with the RPi5 running HAOS? Will it get overwritten after HAOS updates? Excerpt saved from GitHub on 2026-10-23. | Discussion #383 · 2025-09 | |
| Raspberry Pi 5 (switch platform error) | Not working Local | Setup error on Pi 5; closed stale, needs lgpioSaved copyha-rpi_gpio is not working with Raspberry Pi 5. 2023-12-20 18:58:30.841 ERROR (MainThread) [homeassistant.components.switch] Error while setting up rpi_gpio platform for switch Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform await asyncio.shield(task) File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/rpi_gpio/switch.py", line 69, in setup_platform RPiGPIOSwitch( … Excerpt saved from GitHub on 2026-10-23. | Issue #225 · 2023-12 |
Gathered from GitHub issues, pull requests, discussions and docs, and from r/homeassistant. These are individual reports, so check the linked thread and the date before you buy.
How it connects
Local push
Talks to the device on your network, and the device tells Home Assistant the moment something changes.
Details
| Installs (analytics) | 1,386 (0.2%) |
|---|---|
| GitHub stars | 277 |
| Latest version | 2026.4.0 (2026-10-19) |
| Set up in the UI | No, YAML |
| Maintainers | @thecode, @tomer-w |
| License | Apache-2.0 |
Notable forks
Forks with stars, or with code pushed at least 90 days after the original’s last push. Useful when the original goes quiet.
| Fork | Stars | Last push | Description |
|---|---|---|---|
| jlinford/ha-gpio | ★ 10 | 2024-03-31 | Home Assistant GPIO Integration (libgpiod2) |
In ReReHome
Whatever HomeKit Bridge shares reaches Apple Home as normal HomeKit accessories behind your Home Assistant bridge, so ReReHome shows and controls them like any other.
Bridges get their own settings page listing the accessories behind them.
Sources
- Documentation: https://github.com/thecode/ha-rpi_gpio
- Source code: https://github.com/thecode/ha-rpi_gpio
- Issues: https://github.com/thecode/ha-rpi_gpio/issues
- HACS: https://hacs.xyz