• 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.

UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.

Scheduled Pinned Locked Moved Tutorials
103 Posts 17 Posters 83.8k Views 25 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @Fozi
    last edited by Mykle1 Dec 8, 2019, 5:39 PM Dec 8, 2019, 5:39 PM

    @Fozi said in UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.:

    sooner than expected I modified the sensor with a trimmer resistor.
    For that I also updated my initial post and enhanced the tutorial, where now both options are described.

    Dude, (can I call you dude?) although I don’t use a sensor (I have a cam on my first mirror w/Pi) I appreciate what you’ve done here. I’ll say it again (in different words), I think this is the death knell of the PIR sensor. So, thanks. :thumbsup:

    Peace!

    Create a working config
    How to add modules

    F 1 Reply Last reply Dec 8, 2019, 6:29 PM Reply Quote 1
    • F Offline
      Fozi Project Sponsor @cowboysdude
      last edited by Dec 8, 2019, 6:23 PM

      @cowboysdude Iā€˜m totally happy that I cold help and to receive so positive feedback! I love it when a plan works!😁 Thanks!
      This T-shaped holder, is it 3D-printed or an off-the-shelf available part? Itā€˜s totally cool!

      HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

      1 Reply Last reply Reply Quote 1
      • F Offline
        Fozi Project Sponsor @Mykle1
        last edited by Dec 8, 2019, 6:29 PM

        @Mykle1 said

        Dude, (can I call you dude?) although I don’t use a sensor (I have a cam on my first mirror w/Pi) I appreciate what you’ve done here. I’ll say it again (in different words), I think this is the death knell of the PIR sensor. So, thanks. :thumbsup:

        Sure, call me Dude, if you like😁

        Letā€˜s get the warts outta here!🤣 and thanks for the overwhelming feedback!

        HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

        1 Reply Last reply Reply Quote 0
        • C Offline
          cowboysdude Module Developer
          last edited by cowboysdude Dec 8, 2019, 8:06 PM Dec 8, 2019, 8:04 PM

          Ok so here’s my final and it’s working perfectly! I tried it in various spots.

          Thanks to @Fozi again…now there’s a very complete forum topic that anyone can follow!!

          I added 2 additional layers of aluminum tape… there are no untaped spaces on the box anywhere… then moved it to the back of the cabinet and now you have to walk up to it to make it come on… PERFECT!! :)

          I tried behind the glass… too sensitive
          I tried taped to the back of the monitor … too sensitive.
          Moved to the back of the cabinet which makes it about 4" away from the glass… BINGO!!

          [PS… don’t mind my ugly wiring LOL]

          0_1575835456018_rsz_final.jpg

          F L 2 Replies Last reply Dec 9, 2019, 4:36 AM Reply Quote 0
          • F Offline
            Fozi Project Sponsor @cowboysdude
            last edited by Dec 9, 2019, 4:36 AM

            @cowboysdude Great News, excellent!šŸ‘šŸ»

            HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

            1 Reply Last reply Reply Quote 1
            • L Offline
              lavolp3 Module Developer @cowboysdude
              last edited by Dec 12, 2019, 12:23 PM

              @cowboysdude
              am I seeing it right that also the side of the case looking at you is aluminium taped?
              So the whole case is taped in your case?

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

              1 Reply Last reply Reply Quote 0
              • L Offline
                lavolp3 Module Developer
                last edited by Dec 17, 2019, 8:35 PM

                @cowboysdude @Fozi Guys, which module are you using for the recognition?
                I can’t get neither MMM-PIR-Sensor nor MMM-PIR to work currently. Both have the same problem with epoll which is installed via the node module ā€œonoffā€, if I see correctly.
                What are you using?
                THe mirror won’t load with any of the modules activated giving the error

                 The module '/home/pi/MagicMirror/modules/MMM-PIR/node_modules/onoff/node_modules/epoll/build/Release/epoll.node'
                was compiled against a different Node.js version using
                NODE_MODULE_VERSION 67. This version of Node.js requires
                NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
                the module (for instance, using `npm rebuild` or `npm install`).
                

                @cowboysdude I remember you’re using your own script?
                @Fozi you?

                node v 11.4.0
                npm v 6.13.0

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

                C F 2 Replies Last reply Dec 18, 2019, 2:44 AM Reply Quote 0
                • C Offline
                  cowboysdude Module Developer @lavolp3
                  last edited by cowboysdude Dec 18, 2019, 2:48 AM Dec 18, 2019, 2:44 AM

                  @lavolp3 I use my own for that… it’s not a module but it’s right here.

                  https://github.com/cowboysdude/Pir-Sensor

                  Easy to follow :)

                  The box is just a cardboard box taped with alum duct tape. I am however waiting for my trimmer resister so I can tune it down and take it out of the box. I only want the mirror to come on when someone walks up to it…say like 2 ft. away… so it doesn’t come on when I walk by the bathroom doorway… looks more like a pro thing :)

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Fozi Project Sponsor @lavolp3
                    last edited by Fozi Dec 18, 2019, 6:57 AM Dec 18, 2019, 6:38 AM

                    @lavolp3 I use MMM-PIR-Sensor without any modifications. Are you using @paviro master oder any other fork of the module?
                    As I see, you have more recent npm/node versions installed.
                    I am still on node 10.17.0 / npm 6.11.3.

                    Edit: I’d recommend to try the script from @cowboysdude . It is robust against any node.js stuff as it written in python.

                    HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      Norton
                      last edited by Dec 19, 2019, 11:45 AM

                      This post is deleted!
                      F 1 Reply Last reply Dec 19, 2019, 12:16 PM Reply Quote -1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 10
                      • 11
                      • 3 / 11
                      3 / 11
                      • First post
                        25/103
                        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