Based on this post, as of Linux kernel 5.11, the old methods of communicating with header pins on the Raspberry Pi no longer work. This means packages such as RPi.GPIO no longer function properly with newer kernels hence the node-red-node-pi-gpio is not functioning as well.
According to that post, a new package called LGPIO able to communicate with the header pins on the Raspberry Pi. I've installed it using the command below but it's not working within Node-Red:
sudo apt install python3-lgpio
I assumed that this require a new Node that able to interact with LGPIO library. Can anyone point me to this Node as I'm not able to find it anywhere on the Net?
FYI, below is the specs that I'm currently using for my project:
Hardware: Raspberry Pi 4 Model B Rev 1.2
Operating System: Ubuntu Server 21.04
Kernel: Linux 5.11.0-1017-raspi
Architecture: arm64
Node.js: v14.17.6
Node-RED: v2.0.6