Halloween mirror ghouls anyone?
So basically I want the PING sensor to trigger and play the video file full screen with audio after it senses someone x-distance away for X number of seconds. Very bad psudo code below.
when distance from sensor = 24-inches for 10-seconds
play scare animation using mmm-podcast
return to MagicMirror screen
wait 60-seconds before arming ping sensor again