Node-red-node-pi-gpio library

How do I get the node-red-node-pi-gpio library to work? I really need it. I have systems that I’m afraid to update so they don’t stop working. @MichaIng @Joulinar

Does it not support the RPi.GPIO drop-in replacement?

apt install python3-rpi-lgpio

Should be installed already.

If the Node-RED plugin does not work with that, it probably won’t work from Bookworm on. RPi.GPIO is a legacy library using legacy methods to access the GPIO on RPi. lgpio, libgpiod and GPIO Zero (an lgpio wrapper) are modern alternatives, and the first has above package which is intended to be an RPi.GPIO drop-in replacement.

But just test it, Raspbian (and Debian) still provides the package, just RPi Ltd does not:

apt purge python3-rpi-lgpio
apt install python3-rpi.gpio

Unfortunately, this is not the method, I am raising the topic again.

https://dietpi.com/forum/t/rpi-gpio-node-red-library-not-work-on-dietpi-bookworm-and-trixie/25047/2

https://discourse.nodered.org/t/rpi-gpio-library-not-work-with-dietpi-trixie/100595/11

Please help.

pls stay in the new topic you already opened. Doesn’t make sense to post twice.

1 Like