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.

  • This sounds like something that the documentation of node-red should answer. – Dmitry Grigoryev Apr 4 '17 at 12:30
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, privacy policy and cookie policy

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