Rising front raspberry

hi everyone, I have to detect the rising edge of an input raspberry pin to send an email.
I'll explain my problem.
when the raspberry button is closed, he sends me the email two or three times.
I wanted to send only one.
so to do this I would have to detect the rising edge of my raspberry.
I also tried to increase the Debounce time, but nothing.
it happens that I send an email when the button is pressed and another when the button is released.
help I don't know how.

How often do you press the button? You could limit the button presses to 1 msg / second via the delay node.

It is an alarm that when the maintenance hour has arrived, the contact is always pressed.
but when I reopen the contact it triggers another event which then sends another email

I think I got it, but to be sure, who or what presses the contact, how is the button connected to the Raspi?
Who opens the contact afterwards and WHEN?

If what you want is only to detect a change from 0 to 1 but not a change from 1 to 0 then feed the GPIO node into a Switch node (not a ui-switch) configured like this, then it will pass on a 0 to 1 change bit ignore a 1 to 0 change.

image

I'm controlling it with the pressure of the finger.
but is there a way to peck the rising edge of the button and not the falling one?
because the raspberry node triggers two events one when I press the button and the other when I release the button.

thanks colin i solved thanks a lot

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