# RBPi GPIO issues

**URL:** <https://discourse.nodered.org/t/rbpi-gpio-issues/84519>\
**Category:** General\
**Tags:** gpio\
**Created:** [13 January 2024 15:55 UTC](https://discourse.nodered.org/t/rbpi-gpio-issues/84519 "2024-01-13T15:55:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simone](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@Simone](https://discourse.nodered.org/u/Simone)\
**Post date:** [13 January 2024 15:55 UTC](https://discourse.nodered.org/t/rbpi-gpio-issues/84519/1 "2024-01-13T15:55:36Z")

</div>

Hi friends,  
with the last NODE RED i've issues with RBPi's GPIOs.  
I've a setup with Raspberry Pi 2W and two SD cards with the following setups:  
SD1) Linux 5.10.17-v7+ armv7, Node Red 2.1.3, NPM v14.18.1, node-red-node-pi-gpio V2.0.1  
SD2) Linux 5.10.17-v7+ armv7, Node Red 3.1.3, NPM v18.19.0, node-red-node-pi-gpio V2.0.6

With SD1, GPIOs are working, with SD2 not. Same flow (copy and paste).  
With SD2, under the nodes, there are grey square advisories, With SD1 they are green.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/c/fc3eab81373b5596802b508eae8326822657d480.png)

What happens?  
Many thanks in advance.

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [13 January 2024 19:16 UTC](https://discourse.nodered.org/t/rbpi-gpio-issues/84519/2 "2024-01-13T19:16:18Z")

</div>

Have a look at this topic;

> [@Raspi Zero 2W GPIO](https://discourse.nodered.org/t/raspi-zero-2w-gpio/84484):
>
> Raspi GPIOs unusable in up to date installation (Nodes say "not available") node red v3.1.3 running on bullseye Linux 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux) on Raspi Zero 2W, Syslog level trace says: [warn] rpi-gpio : Raspberry Pi specific node set inactive fixed after reading this: [Rpi-gpio : Raspberry Pi specific node set inactive](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569) by manually installing the python3 libs: sudo apt install python3-rpi.gpio I have several node reds running on different ol…

---

<div class="post-metadata">

**Author:** ![Simone](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@Simone](https://discourse.nodered.org/u/Simone)\
**Post date:** [13 January 2024 19:35 UTC](https://discourse.nodered.org/t/rbpi-gpio-issues/84519/3 "2024-01-13T19:35:35Z")

</div>

Many thanks! This works.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [13 January 2024 20:47 UTC](https://discourse.nodered.org/t/rbpi-gpio-issues/84519/4 "2024-01-13T20:47:44Z")

</div>

Which version of Raspbian are you running ? can you show us what

```auto
cat /etc/issue

```

reports ?

---

<div class="post-metadata">

**Author:** ![Simone](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@Simone](https://discourse.nodered.org/u/Simone)\
**Post date:** [13 January 2024 20:56 UTC](https://discourse.nodered.org/t/rbpi-gpio-issues/84519/5 "2024-01-13T20:56:29Z")

</div>

> [@dceejay](#):
>
> `cat /etc/issue`

Linux 5.10.17-v7+ #1414 SMP Fri Apr 30 13:18:35 BST 2021 armv7l

cat /etc/issue  
Raspbian GNU/Linux 10 \n \l

cat /etc/os-release  
PRETTY\_NAME="Raspbian GNU/Linux 10 (buster)"  
NAME="Raspbian GNU/Linux"  
VERSION\_ID="10"  
VERSION="10 (buster)"  
VERSION\_CODENAME=buster  
ID=raspbian  
ID\_LIKE=debian  
HOME\_URL="[http://www.raspbian.org/](http://www.raspbian.org/)"  
SUPPORT\_URL="[RaspbianForums - Raspbian](http://www.raspbian.org/RaspbianForums)"  
BUG\_REPORT\_URL="[RaspbianBugs - Raspbian](http://www.raspbian.org/RaspbianBugs)"

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [13 January 2024 20:59 UTC](https://discourse.nodered.org/t/rbpi-gpio-issues/84519/6 "2024-01-13T20:59:07Z")

</div>

Thanks,  
yes - OK - I think I squished that bug in the latest install script. So it should now "fix" that if run again. (but you have already fixed it so no worries) 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 January 2024 20:59 UTC](https://discourse.nodered.org/t/rbpi-gpio-issues/84519/7 "2024-01-27T20:59:37Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
