# Raspberry pi - GPIO no response after first change

**URL:** https://discourse.nodered.org/t/raspberry-pi-gpio-no-response-after-first-change/93048
**Category:** General
**Created:** [10 November 2024 23:06 UTC](https://discourse.nodered.org/t/raspberry-pi-gpio-no-response-after-first-change/93048 "2024-11-10T23:06:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![clion520](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/clion520/32/96300_2.png) [@clion520](https://discourse.nodered.org/u/clion520)
#### Post date: [10 November 2024 23:06 UTC](https://discourse.nodered.org/t/raspberry-pi-gpio-no-response-after-first-change/93048/1 "2024-11-10T23:06:24Z")

</div>

Hello new to Node-Red and all this stuff.

I have a Raspberry Pi running Openplotter 4.x.x  
I have SignalK 2.11.0 installed through Openplotter  
I have Node Red - 3.1.14 installed through SignalK  
I am using Pallet iiot2k - 2.1.3 installed through Node-Red

If I deviate from these Open plotter stops working and as of right now I am just monitoring 1 switch and it is not vital so if upgrading is the answer thank you but I will not be able to solve my issue.

I have a switch hooked up to GPIO17 on the Pi. When debounce is set to 0 the switch works properly but my CPU usage maxes out. When debounce is at anything other than 0 I get a couple issues.

1. it activates one time but then freezes until restarting Node-Red/SignalK -- this is 95% of the time
2. it works for about 10 mins then stops working -- this is about 4.5%
3. it works all the time for at least 3 hours -- I'm working on other things so I am still rebooting a bit but this has happened 3-5 times

The flow is literally 2 items the GPIO input and a SignalK output  
When reviewing the flow the debug will see the initial status, see the change, but there is no additional changes after that.  
The few random times it worked the Debounce was set at 25ms, I've tried adjusting this but there seems to be no change other than setting it at 0.

The other computer is a pain to get screen shots from but I will if there is possibilities for a fix, maybe instead of Edge monitoring just a check current status every 5 seconds??

The options in the palette are the following  
GPIO \_\_\_\_ -- GPIO pin number  
Mode \_\_\_\_ -- This is for Input resistor settings - mine is set for No-Pull  
Edge \_\_\_\_\_ -- Rising/Falling - Set at Rising and Falling  
Debounce \_\_\_\_ -- ms - set at anywhere between 5 to 500, currently 25  
Send Bool \_ -- check box - unchecked  
Send on Start \_ -- check box - checked  
Name \_\_\_\_\_ -- name - called Bilge status

---

<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: [8 February 2025 23:06 UTC](https://discourse.nodered.org/t/raspberry-pi-gpio-no-response-after-first-change/93048/2 "2025-02-08T23:06:43Z")

</div>

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