@Colin
rpi gpio 2.07 library not work with dietpi trixie?
In general, they don't work on Bookworm either. The old 2.06 library works on Bulleye.
I don't know whether it works or not.
Dear Colin, I don't know if you have cross-platform support? I've learned that I have to ask the same question on both platforms and expect an adequate answer. Thanks.
I apologize, but you gave me correct answers to the questions I asked. That's why I turned to you.
@dceejay rpi gpio 2.07 library not work with dietpi trixie?
In general, they don't work on Bookworm either. The old 2.06 library works on Bulleye.
Is that a question or a statement ? I don’ t know as I haven’t tried it. We rely on user feedback to report back. If you are saying it doesn’t work, then what errors is it reporting ?
After Bullseye they replaced the rpi-gpio library with something like rpi-lgpio which was more modern etc. And since then node-red-node-pi-gpio stopped working (under the pins when I configure them as inputs and outputs it says n/a). I keep installing Bullseye but this can't go on forever.
Who replaced it ? Official Pi did I think. Did Diet-Pi not also do it ? A few more clues would be useful.
As far as I remember, the official Pi was replaced because the new library controlled the pins in a more modern way or something. Things don't work with Bookworm and Trixie.https://dietpi.com/forum/t/node-red-node-pi-gpio-library/24578
They work fine with Pi-OS. So we need to fine out what is different
I don't know if you looked at the link above.
Yes. The pi nodes can use lgpio so it could/should work
Im quite social currently, so thought id chip in (and sound clever)
python3-rpi-lgpio
RPi.GPIO (used by the python helper for the Node RED Node) depends on an old library - no longer around in recent RPI OS's, and the shim above is a proxy to the new lib (lgpio), and polyfils the missing lib that RPi.GPIO wants.
(at least thats what I understand)
Yes correct AFAIK. And the default script checks for it. But I’ve no idea if the Diet-Pi installs it. ( and generally it’s a bad idea to mix the default script with the Diet-Pi installer - you can but it’s a one way deal so in general don’t).
I am just a user and I can install Dietpi and Node red and that's where my competence ends. I have made several attempts with a fresh installation and what is shown here https://dietpi.com/forum/t/node-red-node-pi-gpio-library/24578
but things work half-heartedly or not at all.
I tried that too https://dietpi.com/forum/t/rpi-gpio-node-red-library-not-work-on-dietpi-bookworm-and-trixie/25047/3
but I can't set it up as a daemon. In short, nothing happened. Please help.
I have seen this issue over and over in the forum.
Someone says something along the lines of "gpio pins don't work any more"
Someone else says what setup do you have? What error messages do you see?
A third person says it works for me with lgpio.
And there the discussion ends.
So I'll happily reprogram an SD card and try flashing an led if it helps clarify this.
- What version of Pi would you like me to use? Available, assuming i can find my USB wifi dongle are zero 2W (64 bit), 3B (32 bit?) And 1B+ (32 bit)
- What version of RPiOS should I install?
- What version of Node-red?
- Can you post a test flow?
I think you need a dietpi unfortunately.
Ah.
But Dietpi is an OS not an alternative board?
board: rpi zero2
OS: Dietpi Trixie 64 bit
Node Red from install manager of Dietpi.
Thats it.

