# Node-red-node-pi-gpiod Read initial state of pin unreliable

**URL:** <https://discourse.nodered.org/t/node-red-node-pi-gpiod-read-initial-state-of-pin-unreliable/99806>\
**Category:** General\
**Created:** [29 November 2025 04:04 UTC](https://discourse.nodered.org/t/node-red-node-pi-gpiod-read-initial-state-of-pin-unreliable/99806 "2025-11-29T04:04:43Z")\
**Posts on this page:** 3\
**Page:** 2

<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:** [7 December 2025 14:21 UTC](https://discourse.nodered.org/t/node-red-node-pi-gpiod-read-initial-state-of-pin-unreliable/99806/21 "2025-12-07T14:21:02Z")

</div>

That does sound like a hardware problem, maybe on that particular pin.

---

<div class="post-metadata">

**Author:** ![colincoder](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colincoder/32/104652_2.png) [@colincoder](https://discourse.nodered.org/u/colincoder)\
**Post date:** [14 December 2025 17:20 UTC](https://discourse.nodered.org/t/node-red-node-pi-gpiod-read-initial-state-of-pin-unreliable/99806/22 "2025-12-14T17:20:46Z")

</div>

I agree. The relay that is providing the dry contact must be horribly bouncy, as the input needs a 2 second debounce to start reading its state reliably. And that’s with a transistor-driven opto-isolator with an RC filter on the input.

Anyway, thank you for all your help on this issue, and the daemon driven input/output system seems to be working well.

Colin

---

<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:** [28 December 2025 17:20 UTC](https://discourse.nodered.org/t/node-red-node-pi-gpiod-read-initial-state-of-pin-unreliable/99806/23 "2025-12-28T17:20:50Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/node-red-node-pi-gpiod-read-initial-state-of-pin-unreliable/99806.md?page=1)
