Hello, All,
kindly asking you for support on this matter:
I have a Raspi3B and Node Red running on it.
2 GPIOs are currently used as input (GPIO 18 and 27) and read the state of 2 water detectors.
These inputs drive a Trigger node which then triggers another GPIO (17) to activate some relays for 1 minute.
All of the above runs fine, BUT
After each deployment, the relays are triggered once, and it is sure, that this comes from node red, because after a reboot the relays do not activate, but some seconds later they do.
So, each and every tiny change I do in node red and deploy it, makes my family crazy, as they see the alarm flashing, and think there is a real alarm
I checked my GPIO 18 and 27 in detail - they initalize as "0" after reboot.
In node red, when I debug them, they both show "0" (inside the "rpi-gpio in" Node, I initialized them both as "pull-down")
So, despite they are supposed to be 0, they seem to get a "1" somewhere(obviously very shortly, as the debug node sees them as "0" as expected), so each time node red is started or any changes are deployed, the relay activate erroneously.
I tried to set the "debounce" value to 1000ms which did not help either.
Any hints about this behavior? Did anyone experience this issue and knows how to avoid this?
Thanks!
Hoinz