MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Show compliments only when HC-SR04 sensor says someones near the mirror

    Scheduled Pinned Locked Moved Requests
    3 Posts 2 Posters 1.9k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      semox
      last edited by semox

      Hi,

      has anyone already solved the use case to show compliments only when someones near the mirror (i.e. lower 50 cm) for a given delay (i.e. 30 seconds) by using a HC-SR04 sensor?

      • thobach has solved this by using a GP2Y0A21YK and a separate Arduino (https://github.com/thobach/MMM-Gestures) but I don’t want to do this.

      • mochman does something similar. It recognizes swiping gestures by using two HC-SR04 sensors. (https://github.com/mochman/MMM-Swipe)

      1 Reply Last reply Reply Quote 0
      • S Offline
        semox
        last edited by

        Hi,

        I recently added this feature. See https://github.com/semox/MMM-NearCompliments/

        1 Reply Last reply Reply Quote 1
        • R Offline
          RomeWood
          last edited by

          Hi,
          I’m having trouble getting your feature to work. The monitor doesn’t come back on once I’m within range.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy