Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED HC-SR04 to play radio with MMM-RadioDe

    Requests
    4
    5
    1277
    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
      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
        stuartiannaylor last edited by

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

        1 Reply Last reply Reply Quote 0
        • wishmaster270
          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
            efrag @wishmaster270 last edited by

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

            1 Reply Last reply Reply Quote 0
            • Stoffbeuteluwe
              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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy