# Connect to raspberry pi gpio pins that's not running node-red

**URL:** https://discourse.nodered.org/t/connect-to-raspberry-pi-gpio-pins-thats-not-running-node-red/8650
**Category:** General
**Created:** [5 March 2019 23:03 UTC](https://discourse.nodered.org/t/connect-to-raspberry-pi-gpio-pins-thats-not-running-node-red/8650 "2019-03-05T23:03:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mebrunner24](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@mebrunner24](https://discourse.nodered.org/u/mebrunner24)
#### Post date: [5 March 2019 23:03 UTC](https://discourse.nodered.org/t/connect-to-raspberry-pi-gpio-pins-thats-not-running-node-red/8650/1 "2019-03-05T23:03:03Z")

</div>

I would like to know if it's possible to have a raspberry pi (or cluster of Pi's) on a network that you can still communicate to and utilize the node-red gpio flows?

The raspberry pi with the gpio pins being used would not be running node-red as it's already on a different server. I would like to add additional raspberry pi's to the network once one's gpio pins have been used.

---

<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: [5 March 2019 23:10 UTC](https://discourse.nodered.org/t/connect-to-raspberry-pi-gpio-pins-thats-not-running-node-red/8650/2 "2019-03-05T23:10:55Z")

</div>

look at the node-red-node-pi-gpiod node - [https://flows.nodered.org/node/node-red-node-pi-gpiod](https://flows.nodered.org/node/node-red-node-pi-gpiod)  
this uses pigpiod which can run on Pi's not using Node-RED but can be driven by a remote pi.It does use a fairly raw tcp socket though so I hope this is isolated from the internet.

---

<div class="post-metadata">

### Author: ![mebrunner24](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@mebrunner24](https://discourse.nodered.org/u/mebrunner24)
#### Post date: [5 March 2019 23:18 UTC](https://discourse.nodered.org/t/connect-to-raspberry-pi-gpio-pins-thats-not-running-node-red/8650/3 "2019-03-05T23:18:27Z")

</div>

So I could follow something like this -\> [https://youtu.be/xEVYTecXZmw](https://youtu.be/xEVYTecXZmw)

Just use the PiGPIOd nodes instead?

---

<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: [5 March 2019 23:36 UTC](https://discourse.nodered.org/t/connect-to-raspberry-pi-gpio-pins-thats-not-running-node-red/8650/4 "2019-03-05T23:36:58Z")

</div>

errr - no that is using a DHT sensor attached to the pins - not generic gpio.  
pigpiod only allows use of gpio pins for in, out, servo, pwm.  
If you really need to run a DHT sensor remotely (though they are not very accurate so not recommended) then I really would suggest running Node-RED on that Pi as well

---

<div class="post-metadata">

### Author: ![mebrunner24](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@mebrunner24](https://discourse.nodered.org/u/mebrunner24)
#### Post date: [5 March 2019 23:54 UTC](https://discourse.nodered.org/t/connect-to-raspberry-pi-gpio-pins-thats-not-running-node-red/8650/5 "2019-03-05T23:54:46Z")

</div>

Okay, that makes sense.

So a simple pushbutton would be suitable for this?

---

<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: [6 March 2019 07:15 UTC](https://discourse.nodered.org/t/connect-to-raspberry-pi-gpio-pins-thats-not-running-node-red/8650/6 "2019-03-06T07:15:58Z")

</div>

Yes it would be fine
