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.

    MMM-PIR-Sensor with Radar sensor( RCWL-0516)

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 3 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.
    • lavolp3L Offline
      lavolp3 Module Developer
      last edited by

      Hi all,
      I think I’ve read somewhere that MMM-PIR-Sensor works as well with a radar seonsor (RCWL-0516) behind glass.
      Now for me it currently gives very odd behaviour.
      I get a USER_PRESENCE notification and a “refresh” of the monitor (turn off shortly and turn it on again) every few seconds even if noone is in front of the mirror.
      No other messages, no errors.

      I have the radar sensor installed without any resistor in between.
      Nothing special in the config.

              //disabled: true,
              module: 'MMM-PIR-Sensor',
              config: {
                  sensorPin: 17,
                  powerSavingDelay: 20,
              }
      

      Can anyone confirm that this module works with a radar sensor and possibly help me out?

      Thanks!

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      1 Reply Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer
        last edited by

        I tweaked the module logging a bit to include the time and there’s obviously something systematic happening. This is what I get after some time (as said, messages included with console.log.:

        0_1563220295659_bc9c404c-3600-4d22-998b-de4c3602babc-image.png

        It’s always turning on after 1-2 minutes and turning off after 3 seconds immediately.

        After some googling I’m getting the feeling that the radar sensor is not the best way to go…

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        1 Reply Last reply Reply Quote 0
        • M Offline
          MacMirror
          last edited by

          I am using the same sensor even on the same GPIO pin with the module. First it didn’t worked, but after doing an update of the module everything is running like expected.
          Did you connected the sensor correct?

          lavolp3L 1 Reply Last reply Reply Quote 0
          • lavolp3L Offline
            lavolp3 Module Developer @MacMirror
            last edited by lavolp3

            @MacMirror

            Checked the pins several times.
            Are you using a resistor or anything in between? Or is it wired directly?

            How to troubleshoot modules
            MMM-soccer v2, MMM-AVStock

            1 Reply Last reply Reply Quote 0
            • M Offline
              MacMirror
              last edited by

              The sensor is connected directly.

              Did you wired the Vin to 5V on the Raspi? Don’t use the 3v3-Pin!

              1 Reply Last reply Reply Quote 0
              • B Offline
                Babene1 Project Sponsor
                last edited by

                Does anyone have a nice housing for the sensor RCWL-0516? Mounting on a wooden frame, such as this one from the PIR

                PIR-Gehäuse.png

                Thank you

                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