• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.8k 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.
  • L Offline
    lavolp3 Module Developer
    last edited by Jul 15, 2019, 6:52 PM

    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
    • L Offline
      lavolp3 Module Developer
      last edited by Jul 15, 2019, 8:22 PM

      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 Aug 18, 2019, 2:25 PM

        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?

        L 1 Reply Last reply Aug 18, 2019, 10:21 PM Reply Quote 0
        • L Offline
          lavolp3 Module Developer @MacMirror
          last edited by lavolp3 Aug 18, 2019, 10:21 PM Aug 18, 2019, 10:21 PM

          @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 Aug 19, 2019, 9:08 AM

            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 Oct 14, 2024, 8:58 AM

              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