# Rpi-gpio : Raspberry Pi specific node set inactive

**URL:** https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569
**Category:** General
**Created:** [11 November 2021 10:59 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569 "2021-11-11T10:59:41Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![alanmasu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alanmasu/32/32206_2.png) [@alanmasu](https://discourse.nodered.org/u/alanmasu)
#### Post date: [11 November 2021 10:59 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/1 "2021-11-11T10:59:41Z")

</div>

Hi, I'm quite new about raspberry and I don't know very well the environment.  
I'm running NodeRED on Raspberry Pi 4B, my problem is that the GPIO nodes are not available and I don't now how to control GPIOs.

When NR starts in console there is the message

```auto
11 Nov 11:43:12 - [warn] rpi-gpio : Raspberry Pi specific node set inactive

```

Thanks for attention  
Alan

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [11 November 2021 11:21 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/2 "2021-11-11T11:21:20Z")

</div>

How did you install Node-RED?  
If you used the [script](https://nodered.org/docs/getting-started/raspberrypi) there is an option to install the Rpi nodes.

Here is a link explaining how to install it and the prerequisits:

> **[node-red-node-pi-gpio](https://flows.nodered.org/node/node-red-node-pi-gpio)**
>
> The basic Node-RED node for Pi GPIO

---

<div class="post-metadata">

### Author: ![alanmasu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alanmasu/32/32206_2.png) [@alanmasu](https://discourse.nodered.org/u/alanmasu)
#### Post date: [11 November 2021 11:51 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/3 "2021-11-11T11:51:25Z")

</div>

Hi, thanks for fast reply,  
I installed Node-RED using the script and allowing it to install RPi nodes;  
indeed I can place GPIO nodes  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/c/ac32247e58cc86954df750aaadaecfc649ade360.png)

Thanks!

Alan

---

<div class="post-metadata">

### Author: ![alanmasu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alanmasu/32/32206_2.png) [@alanmasu](https://discourse.nodered.org/u/alanmasu)
#### Post date: [11 November 2021 13:32 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/4 "2021-11-11T13:32:19Z")

</div>

I have to specify that I'v already use GPIOs on NodeRed first but now I had to reset defaults after a mistake and I restore flows as it were first. The problem could be caused by changing version?

Alan

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [11 November 2021 13:38 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/5 "2021-11-11T13:38:48Z")

</div>

Are you using the standard 32bit Raspberry Pi OS?

> [@alanmasu](#):
>
> The problem could be caused by changing version?

Do you mean you recently updated something?

Did you update the OS or Node-RED?

---

<div class="post-metadata">

### Author: ![alanmasu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alanmasu/32/32206_2.png) [@alanmasu](https://discourse.nodered.org/u/alanmasu)
#### Post date: [11 November 2021 14:38 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/6 "2021-11-11T14:38:23Z")

</div>

Thanks for the reply;  
I erased the SDcard and I created the image using Raspberry Pi Imager, I selected Raspberry Pi OS  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/1/e18123cecf9396170f116a7cd1cd4b92222e7706.png)  
and reinstall Node-RED and also the nodes that I need to my applications.

Alan

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [11 November 2021 14:41 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/7 "2021-11-11T14:41:58Z")

</div>

Does it work now?

---

<div class="post-metadata">

### Author: ![alanmasu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alanmasu/32/32206_2.png) [@alanmasu](https://discourse.nodered.org/u/alanmasu)
#### Post date: [11 November 2021 14:47 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/8 "2021-11-11T14:47:10Z")

</div>

The system yes, and also Node-RED, but NR has "no access" to GPIO and the situation about pi-gpio is this:

> [@alanmasu](#):
>
> ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/c/ac32247e58cc86954df750aaadaecfc649ade360.png)

If I send a `msg.payload = 1` the node not set the GPIO at value of HIGH.

Alan

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [11 November 2021 14:50 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/9 "2021-11-11T14:50:00Z")

</div>

Thanks for the information

The OS was updated last week and you are probably the 1st person to try it out

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [11 November 2021 14:50 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/10 "2021-11-11T14:50:14Z")

</div>

What do you see if you run these commands?  
`apt-cache policy rpi.gpio`  
`groups`

---

<div class="post-metadata">

### Author: ![alanmasu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alanmasu/32/32206_2.png) [@alanmasu](https://discourse.nodered.org/u/alanmasu)
#### Post date: [11 November 2021 14:51 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/11 "2021-11-11T14:51:43Z")

</div>

> [@Colin](#):
>
> What do you see if you run these commands?

```auto
pi@raspberrypi:~ $ apt-cache policy rpi.gpio
python3-rpi.gpio:
  Installato: (nessuno)
  Candidato: 0.7.0-0.2+b1
  Tabella versione:
     0.7.0-0.2+b1 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
python-rpi.gpio:
  Installato: (nessuno)
  Candidato: (nessuno)
  Tabella versione:
rpi.gpio-common:
  Installato: 0.7.0-0.2+b1
  Candidato: 0.7.0-0.2+b1
  Tabella versione:
 *** 0.7.0-0.2+b1 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
        100 /var/lib/dpkg/status
pi@raspberrypi:~ $ groups
pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi
pi@raspberrypi:~ $

```

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [11 November 2021 14:54 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/12 "2021-11-11T14:54:10Z")

</div>

I am currently re-imaging a PiZero2 card to see if the issue replicates on one of them

---

<div class="post-metadata">

### Author: ![alanmasu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alanmasu/32/32206_2.png) [@alanmasu](https://discourse.nodered.org/u/alanmasu)
#### Post date: [11 November 2021 14:55 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/13 "2021-11-11T14:55:00Z")

</div>

Thanks a lot!!

Alan

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [11 November 2021 15:04 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/14 "2021-11-11T15:04:33Z")

</div>

[This thread](https://discourse.nodered.org/t/gpio-not-available-on-raspberry/53531) has another user unable to access the GPIO with raspbian bullseye (which has only just been released).

---

<div class="post-metadata">

### Author: ![alanmasu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alanmasu/32/32206_2.png) [@alanmasu](https://discourse.nodered.org/u/alanmasu)
#### Post date: [11 November 2021 15:06 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/15 "2021-11-11T15:06:08Z")

</div>

I saw it now

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [11 November 2021 15:33 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/16 "2021-11-11T15:33:17Z")

</div>

Please stay on this thread 🙂

---

<div class="post-metadata">

### Author: ![alanmasu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alanmasu/32/32206_2.png) [@alanmasu](https://discourse.nodered.org/u/alanmasu)
#### Post date: [11 November 2021 15:36 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/17 "2021-11-11T15:36:37Z")

</div>

Ok, excuse me!

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [11 November 2021 15:37 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/18 "2021-11-11T15:37:33Z")

</div>

I have googled extensively and can't find any reference to any differences in bullseye relating to GPIO.

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [11 November 2021 15:39 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/19 "2021-11-11T15:39:52Z")

</div>

No problem 🙂  
The card I have put into my Pi is not letting me connect to it ☹  
I'm am re-imaging it again

Sorry for delay ☹

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/a/0a04c04d847fec795a4d076a4221a6c3322b7b14.png)

---

<div class="post-metadata">

### Author: ![tiby007](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@tiby007](https://discourse.nodered.org/u/tiby007)
#### Post date: [11 November 2021 15:48 UTC](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569/20 "2021-11-11T15:48:31Z")

</div>

Thank you for informing!

[Next page](https://discourse.nodered.org/t/rpi-gpio-raspberry-pi-specific-node-set-inactive/53569.md?page=2)
