# PI-GPIO 1.2 doenst work

**URL:** <https://discourse.nodered.org/t/pi-gpio-1-2-doenst-work/33251>\
**Category:** General\
**Created:** [23 September 2020 20:43 UTC](https://discourse.nodered.org/t/pi-gpio-1-2-doenst-work/33251 "2020-09-23T20:43:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![calberts](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/calberts/32/34312_2.png) [@calberts](https://discourse.nodered.org/u/calberts)\
**Post date:** [23 September 2020 20:43 UTC](https://discourse.nodered.org/t/pi-gpio-1-2-doenst-work/33251/1 "2020-09-23T20:43:38Z")

</div>

Gents have issue

I have new install of mij Pi4 with node red, I use de PI relay board.

For that i can use   
○ Pin 7-\> Relay 4  
○ Pin 11-\>Relay 3  
○ Pin 13-\> Relay 2  
○ Pin 15-\> Relay 1

When 2 inject nodes (with payload 1 and 0) connecting gpio-out. Its switching the relays in this version  
under de GPIO i get N/A:0 or N/A:1 while the out put to the debug node is 0 or 1 depening on the selected injet. I discover the change 3 week ago a new release of node-red-node-pi-gpio 1.0.9 to 1.2.0  
does anyone discoverd the same and how can go back to the release before to see if it cause by this new release. Any help wile be nice.

Anyway i tested the relay board with python script and that worked

Chris

---

<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:** [23 September 2020 21:08 UTC](https://discourse.nodered.org/t/pi-gpio-1-2-doenst-work/33251/2 "2020-09-23T21:08:27Z")

</div>

To go back to a previous version go into your .node-red folder and run  
`npm install node-red-node-pi-gpio@1.0.9`  
then restart node-red. To go back to the latest you can use the Manage Palette option in node-red.

Did you use the recommended script to install node red as in [https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi).

I don't understand what you mean by `under de GPIO i get N/A:0 or N/A:1`. Can you explain what you mean or post a screen shot? You can paste an image in here directly.

---

<div class="post-metadata">

**Author:** ![calberts](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/calberts/32/34312_2.png) [@calberts](https://discourse.nodered.org/u/calberts)\
**Post date:** [25 September 2020 06:36 UTC](https://discourse.nodered.org/t/pi-gpio-1-2-doenst-work/33251/3 "2020-09-25T06:36:59Z")

</div>

Colin,

You are really active on the forum, its almost a full job, Compliments  
the reason that it is not working is that i use docker. The setup i used can be found here

[![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/c/bce2cba6ab6dd554143885e5c98b765a6acdef03.jpeg "#352 Raspberry Pi4 Home Automation Server (incl. Docker, OpenHAB, HASSIO, NextCloud)") ](https://www.youtube.com/watch?v=KJRMjUzlHI8)

When using docker the conventional GPIO is not supported. You must use gpiod module. and have separated daemon running in the Docker container. It's specified in de help documentation. however, I didn't realise. To break out a container you need to do always something extra.

Chris

---

<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:** [9 October 2020 06:37 UTC](https://discourse.nodered.org/t/pi-gpio-1-2-doenst-work/33251/4 "2020-10-09T06:37:15Z")

</div>

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