When using node-red with raspberry pi 3 GPIO, node-red will send a message, every time the state changes (= rising and falling trigger). Is it possible to only send messages on rising trigger?

Using a script afterwards is not the solution.

  • This sounds like something that the documentation of node-red should answer. Apr 4, 2017 at 12:30

1 Answer 1


The short answer is: no.

Workaround: feed output from your GPIO input node into a switch node with only 1 rule:

msg.payload > previous value

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.