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.

    HC-SR04 to play radio with MMM-RadioDe

    Scheduled Pinned Locked Moved Unsolved Requests
    5 Posts 4 Posters 1.9k Views 4 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.
    • E Offline
      efrag
      last edited by efrag

      Hello, I’m trying to make the MMM-RadioDe module to start playing only if a SR04 ultrasonic sensor measure an object’s distance (hand) for example, less than 20 cm, and if the user after some time put an object (or hand) at the same distance again the radio should stop. Any ideas how to do it?

      Thank you all

      PS. I can’t figure out how to make this happen :

      This module will use the sendNotification(notification, payload) to send:
      notification = 'MOVEMENT'
      payload = 'Swipe Left' or 'Swipe Right'
      
      Please use as appropriate in your module using notificationReceived(notification, payload, sender)
      
      1 Reply Last reply Reply Quote 0
      • S Offline
        stuartiannaylor
        last edited by

        MMM-Pages I guess just change the page for on / off

        1 Reply Last reply Reply Quote 0
        • wishmaster270W Offline
          wishmaster270 Module Developer
          last edited by

          Hi,

          i wanted to suggest to use the https://github.com/Trekky12/MMM-ModuleToggle module in combination with in example my https://github.com/Tom-Hirschberger/MMM-Serial-Notifications module.
          The problem is that the MMM-RadioDe does not work. There are open issues as from 2017.
          I tried to do a quick fix but can’t get it run at the moment.

          E 1 Reply Last reply Reply Quote 0
          • E Offline
            efrag @wishmaster270
            last edited by

            @wishmaster270 Thank you, I’ll try that now.

            1 Reply Last reply Reply Quote 0
            • StoffbeuteluweS Offline
              Stoffbeuteluwe Project Sponsor
              last edited by

              MMM-RadioDe works well for me…

              1 Reply Last reply Reply Quote 0
              • 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