Hello everyone,
With the release of Raspberry Pi OS / Debian 13 (Trixie) and newer Linux kernels, legacy GPIO libraries like RPi.GPIO or WiringPi no longer work reliably—especially for reading input pins.
To solve this, I forked and adapted the classic Domoticz-GPIO-Plugin to use libgpiod (python3-libgpiod v2), supporting both outputs and inputs directly with BCM GPIO numbering (GPIO 2 to 27).
Key Features:
• Native libgpiod support (works on Debian 13 Trixie, Raspberry Pi 3, 4, and 5).
• Supports both Output pins (relays, active-high / active-low) and Input pins (switches, dry contacts).
• Configurable internal Pull-Up, Pull-Down, or None (external resistor) for inputs.
• Uses standard BCM pin numbers instead of physical board pin numbers.
GitHub Repository & Installation Instructions:
github.com/VincentFichetElectronique/Domoticz-GPIO-Plugin-libgpiod
Feel free to test it and share any feedback or suggestions!
[Plugin] Raspberry Pi GPIO using libgpiod (Debian 13 Trixie / Pi 3, 4 & 5 compatible)
Moderator: leecollings
-
Rik60
- Posts: 245
- Joined: Sunday 25 June 2023 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.3
- Location: The Netherlands
- Contact:
Re: [Plugin] Raspberry Pi GPIO using libgpiod (Debian 13 Trixie / Pi 3, 4 & 5 compatible)
Thanks, but it would be nice to translate the French text into English