# I can´t duplicate GPIO input in node red v4.0.2

**URL:** <https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710>\
**Category:** General\
**Created:** [23 July 2024 19:23 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710 "2024-07-23T19:23:05Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![macho22910](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@macho22910](https://discourse.nodered.org/u/macho22910)\
**Post date:** [23 July 2024 19:23 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710/1 "2024-07-23T19:23:05Z")

</div>

hello everyone, i have been working in a project with node red v3.1.0  
in my project i use the same gpio input en two flows and works fine but in node red v4.0.2 does´t works anyone have an idea about that?

---

<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:** [24 July 2024 09:47 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710/2 "2024-07-24T09:47:31Z")

</div>

> [@macho22910](#):
>
> in node red v4.0.2 does´t works

What exactly does not work? I have not got a 4.0.2 system with the gpio nodes installed so I cannot test it.

---

<div class="post-metadata">

**Author:** ![macho22910](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@macho22910](https://discourse.nodered.org/u/macho22910)\
**Post date:** [24 July 2024 13:52 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710/3 "2024-07-24T13:52:58Z")

</div>

ok if you try to put in the same flow 2 gpio for example GPIO4 in 3.1.0 works and show the state of the input however in v 4.0.4 only the first that you create show the value and works , the second one doesnt works, look the image attached ,  
thanks

 ![gpio](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/c/1cbf2733e06cacf5ec700dd6a4dee43ad58f9fe9.jpeg)

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [24 July 2024 14:07 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710/4 "2024-07-24T14:07:49Z")

</div>

Are these on the same computer and with the same operating system release?

---

<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:** [24 July 2024 14:30 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710/5 "2024-07-24T14:30:21Z")

</div>

I have installed the gpio node on a pi with NR 4.02 and it works ok. Can you show us how you have configured the node and also the startup log when you run, on the failing system

```auto
node-red-stop
node-red-start

```

---

<div class="post-metadata">

**Author:** ![macho22910](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@macho22910](https://discourse.nodered.org/u/macho22910)\
**Post date:** [25 July 2024 04:32 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710/6 "2024-07-25T04:32:43Z")

</div>

no there are in two different raspberry with different operating system  
raspbian GNU/linux 11(bullseye) works fine in raspberry pi 3  
raspbian GNU/linux 12(bookworm) not works in raspberry pi 4  
thanks

---

<div class="post-metadata">

**Author:** ![macho22910](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@macho22910](https://discourse.nodered.org/u/macho22910)\
**Post date:** [25 July 2024 04:39 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710/7 "2024-07-25T04:39:03Z")

</div>

![start node red](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/b/4bd0a107d06ed26eb0ebe96aad29717ecf5d70f5.jpeg)  
the node is configurated with resistor pullup debounce 25 ms and Read initial state of pin on deploy/restart  
in the file attached you can see the node red start in raspberry with problems

---

<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:** [25 July 2024 12:28 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710/8 "2024-07-25T12:28:34Z")

</div>

I suspect it may be Bookworm issue. I don't have a Bookworm system.

@dceejay are you able to comment on this?

---

<div class="post-metadata">

**Author:** ![macho22910](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@macho22910](https://discourse.nodered.org/u/macho22910)\
**Post date:** [26 July 2024 13:40 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710/9 "2024-07-26T13:40:12Z")

</div>

hello everyone, i have a good news, today install Debian bullseye in my pi 4 with node red 4.0.2 and .......  
and I tried cloning gpio4 and it worked very well  
Thank you very much to each of you for the interest shown to solve this problem, which in conclusion, as @Colin said, was about the OS Bookworm.

---

<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:** [26 July 2024 16:36 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710/10 "2024-07-26T16:36:36Z")

</div>

The alternative solution, of course, is to just use one input node and distribute it to other tabs using link nodes or mqtt.

---

<div class="post-metadata">

**Author:** ![macho22910](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@macho22910](https://discourse.nodered.org/u/macho22910)\
**Post date:** [28 July 2024 16:14 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710/11 "2024-07-28T16:14:26Z")

</div>

i decide to use mqtt and works fine thanks

---

<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:** [26 October 2024 16:14 UTC](https://discourse.nodered.org/t/i-can-t-duplicate-gpio-input-in-node-red-v4-0-2/89710/12 "2024-10-26T16:14:39Z")

</div>

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