🚀 Raspberry Pi 5 GPIO to MQTT: The "Missing Link" is here!

:rocket: Raspberry Pi 5 GPIO to MQTT: The “Missing Link” is here!

If you’ve recently upgraded to a Raspberry Pi 5, you probably noticed that your old GPIO scripts (using RPi.GPIO or pigpio) no longer work due to the new RP1 chip. The new standard is libgpiod, but bridging that to Home Assistant can be a headache.

I’ve built a lightweight, Python-based bridge that makes your Pi 5 GPIOs feel like ESPHome for your Linux host!

:bulb: The Motivation

  • Pi 5 Native: Built specifically for libgpiod (the modern Linux GPIO standard).
  • Robust Connectivity: Handled MQTT dropouts/reconnects gracefully (no more lost entities).
  • No Root Required: Runs securely as a standard user.
  • HA Auto-Discovery: Your pins show up instantly as Switches and Binary Sensors in Home Assistant.

:sparkles: Features

  • YAML Config: Define your pins, pull-ups, and debounce times in a simple config.yaml.
  • Inverted Logic: Support for “Active Low” relay boards and inverted input triggers.
  • TLS Support: Secure MQTT communication out of the box.
  • Systemd Integration: Runs as a reliable background service.

:hammer_and_wrench: Get Started

If you need a reliable way to connect your Pi 5 (or Pi 3/4) hardware to Home Assistant without running HA on the Pi itself, check out the repo:

:point_right: rpi5-gpio-mqtt on GitHub

Feedback and Pull Requests are welcome! Let’s keep the Pi 5 GPIOs alive. :pie:


Missing README.EN.MD
Just sayin…

good point! Thanks for pointing me there.
Put a translatoin in place. :slight_smile:

Have fun!

Thanks for the quick update.