My question is I have motion sensors that I built and they stay activated for a brief period of time, I would like to display if there has been motion in the last 10 minutes in the front end does anyone have any examples to show this? How it functions now is it goes off with in 1-10 second so it always displays as off.