I have a mailbox sensor
when the door opens, it sends open,
when the door closes, it sends closed,open,closed
I’m looking for a way to filter this out in node red because i have a switch node that sends me an alert when open is received, but since it sends open /close twice, i get 2 alerts.
any suggestions on how to filter that out?
I would try the “Delay” node, and change it to “Rate Limit” and check the “drop intermediate messages” box. Then set the timing to something that works well enough for your device’s realistic open/close timing.
That did the trick…Thanks!
1 Like