0

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.

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

1 Answer 1

0

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 that you have read and understand our privacy policy and code of conduct.

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