MagicMirror² v2.8.0 is available! For more information about this release, check out this topic.

Halloween mirror ghouls anyone?

  • Sorry for resurrecting an old thread, but I have been trying to figure this out on my own for over a week now. How would I use a PING (ultrasonic) sensor to trigger the mmm-podcast module to make the jump scare happen? Python I can write but I am a javascript noob, and that is why I am having issues here.

    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