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

    Scheduled Pinned Locked Moved Solved Troubleshooting
    34 Posts 5 Posters 4.1k Views 6 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.
    • G Offline
      gonzonia @sdetweil
      last edited by

      @sdetweil said in MMM-Pir:

      nvm install v20.9.0

      That did it!

      As always, THANK YOU!

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        Peter @gonzonia
        last edited by

        @gonzonia is your Magic Mirror working now with MMM-PIR?
        My MM stopped turning on after updating MMM-PIR.
        Peter

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          gonzonia @Peter
          last edited by

          @Peter So it’ll go off but the PIR doesn’t work to turn it back on? Mine is working. Try re-installing. Here’s the config I’m using.

            module: 'MMM-Pir',
          		  position: 'top_left',
          		  classes: 'SceneFamily SceneSam',
          		  config: {
          			debug: false,
          			delay: 2 * 60 * 1000,
          			mode: 9	,
          			displayCounter: false,
          			displayBar: false,
          			displayStyle: "Line",
          			displayLastPresence: false,
          			lastPresenceTimeFormat: "LL H:mm",
          			mode6_gpio: 20,
          			mode6_clearGpioValue: true,
          			xrandrForceRotation: "left",
          			wrandrForceRotation: "normal",
          			wrandrForceMode: "1920x1080",
          			touchMode: 3,
          			pir_gpio: 4,
          			pir_mode: 0,
          	  }
          
          
          P 1 Reply Last reply Reply Quote 0
          • P Offline
            Peter @gonzonia
            last edited by

            @gonzonia before installing did you follow all the tips mentioned by sdetweil?
            Peter

            bugsounetB G 2 Replies Last reply Reply Quote 0
            • bugsounetB Offline
              bugsounet Banned @Peter
              last edited by

              Can you check new ReadMe

              I haven’t had time to create a topic for the new release of MMM-Pir v2 yet, sorry

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                gonzonia @Peter
                last edited by

                @Peter Yes. Because I was getting an error when I tried installing.

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gonzonia @bugsounet
                  last edited by

                  @bugsounet
                  I installed v 2 successfully. Everything seemed to be working with my old config (posted above). I tried updating based on the new readme, but now it won’t come back on.

                  I did have the wrong GPIO originally, but now it should be correct.

                  {
                  		  module: 'MMM-Pir',
                  		  position: 'top_left',
                  		  classes: 'SceneFamily SceneSam',
                  		  config: {
                  			debug: false,
                  			Display: {
                  					timeout: 2 * 60 * 1000,
                  					animate: true,
                  					style: 0,
                  					colorFrom: "#FF0000",
                  					colorTo: "#00FF00",
                  					mode: 2,
                  					counter: true,
                  					lastPresence: false,
                  					lastPresenceTimeFormat: "LL H:mm",
                  					availability: false,
                  					autoDimmer: false,
                  					xrandrForceRotation: "left"
                  				},
                  				Pir: {
                  					mode: 0,
                  					gpio: 20
                  				},
                  				Cron: {
                  					ON: [],
                  					OFF: []
                  				},
                  				Touch: {
                  					mode: 0
                  				},
                  				Governor: {
                  					sleeping: 4,
                  					working: 2
                  				},
                  				Sounds: {
                  					on: 0,
                  					off: 0
                  				}
                  			}
                  		},
                  
                  htilburgsH 1 Reply Last reply Reply Quote 0
                  • htilburgsH Offline
                    htilburgs @gonzonia
                    last edited by

                    @gonzonia Are you using X11 or Wayland?
                    Because now you’re using mode 2 and that’s for X11

                    (still trying to learn JS, but not afraid to ask) ☺

                    G 1 Reply Last reply Reply Quote 0
                    • G Offline
                      gonzonia @htilburgs
                      last edited by

                      @htilburgs yes. I was using mode 9 in the old version. When I looked it up I thought that’s what corresponded. Im on Pi OS 11 and Wayland is for 12 according to the read me

                      G 1 Reply Last reply Reply Quote 0
                      • G Offline
                        gonzonia @gonzonia
                        last edited by

                        I think I had the GPIO correct originally. Went back to that and it’s working.

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