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-NewPIR v3

    Scheduled Pinned Locked Moved System
    67 Posts 18 Posters 26.7k Views 20 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.
    • B Offline
      bdream
      last edited by

      It’s working :smiling_face_with_open_mouth:

      After a couple of tries with all available PIR Modules it’s working with MMM-NewPIR perfect!
      Many thanks!

      –
      cheers, bdream

      1 Reply Last reply Reply Quote 0
      • B Offline
        bdream
        last edited by

        …Ohh no.
        Getting update notification for MMM-NewPIR.
        MMM_NewPIR.jpg

        I’m trying in MagicMirror/modules/MMM-NewPIR

        git pull
        

        but get the message “it’s actual already”

        Notification message still there.

        Any idea please?

        –
        cheers, bdream

        1 Reply Last reply Reply Quote 0
        • FoziF Offline
          Fozi Project Sponsor
          last edited by

          I had the same. After

          git pull
          

          Enter

          mom run update
          

          and reboot.

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

          1 Reply Last reply Reply Quote 0
          • B Offline
            bdream
            last edited by

            where to run mom run update?
            I tried in home, MagicMirror, modules and MMM-NewPIR
            got th message

            -bash: mom: Kommando nicht gefunden.
            
            -bash: mom: Command not found.
            

            –
            cheers, bdream

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              bdream @bdream
              last edited by

              Hast noone an Idea how to get rid of thus Update Message?

              –
              cheers, bdream

              1 Reply Last reply Reply Quote 0
              • L Offline
                lolo
                last edited by

                This should work

                cd ~/MagicMirror/modules/MMM-NewPIR
                
                git pull
                
                npm run update
                
                sudo reboot
                
                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  bdream @lolo
                  last edited by

                  @lolo it works!
                  Many thanks

                  Again this Forum ist so helpful 🥳

                  –
                  cheers, bdream

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    ChrisDub
                    last edited by ChrisDub

                    Hey there Guys,
                    I´m stuck and I need your help.

                    My Code:

                    		{
                    			module: 'MMM-NewPIR',
                    			position: 'top_left',
                    			configDeepMerge: true,
                    				config: {
                    				debug: false,
                    				screen: {
                    					delay: 2 * 60 * 1000, // 2 * 60 * 1000 = 2 Minuten
                    					turnOffDisplay: true,
                    					mode: 1,
                    					ecoMode: true,
                    					displayCounter: true,
                    					text: "Auto Turn Off Screen:",
                    					displayBar: true,
                    					displayStyle: "SemiCircle",
                    					governorSleeping: false,
                    					displayLastPresence: true,
                    					LastPresenceText: "Last Presence:",
                    					useTouch: false,
                    					delayed: 0
                    						},
                    				pir: 	{
                    					usePir: true,
                    					gpio: 21,
                    					reverseValue: false
                    						}
                    					}
                    		 },	
                    

                    My HC-SR501 Sensor is wired as following:
                    VCC (+5V) > GPIO PIN 2
                    OUT > GPIO PIN 21
                    GND > GPIO PIN 6

                    Problem:
                    The timer runs down, the display switches off and then stays black.
                    It seems as the movement is not recognized by the PIR.

                    I already tried another PIR, same failure.
                    Switching to another PIN > 22 with editing the config results with the same “failure”.

                    At the moment I don´t know, where the source of my problem is buried and I could use some help from you.

                    Thank you in advance

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      MajorC Project Sponsor @ChrisDub
                      last edited by

                      @chrisdub have you activated the pins at your Raspberry OS?

                      C 1 Reply Last reply Reply Quote 0
                      • C Offline
                        ChrisDub @MajorC
                        last edited by

                        @majorc said in MMM-NewPIR v3:

                        @chrisdub have you activated the pins at your Raspberry OS?

                        Good morning.
                        To be honest, I don´t really know. Is there a special way to activate the PINS? Maybe via raspi-config?!

                        M 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 5 / 7
                        • 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