• 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

Scheduled Pinned Locked Moved Solved Troubleshooting
34 Posts 5 Posters 1.6k 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.
  • S Offline
    sdetweil @gonzonia
    last edited by Nov 5, 2024, 10:05 PM

    @gonzonia ok, so you have nvm too

    sudo nvm i 20

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    G 1 Reply Last reply Nov 5, 2024, 10:08 PM Reply Quote 0
    • G Offline
      gonzonia @sdetweil
      last edited by Nov 5, 2024, 10:08 PM

      @sdetweil said in MMM-Pir:

      sudo nvm i 20

      sudo nvm i 20
      sudo: nvm: command not found
      
      S 1 Reply Last reply Nov 5, 2024, 11:07 PM Reply Quote 0
      • S Offline
        sdetweil @gonzonia
        last edited by Nov 5, 2024, 11:07 PM

        @gonzonia ok, been a while

        nvm install v20.9.0

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        G 1 Reply Last reply Nov 5, 2024, 11:13 PM Reply Quote 0
        • G Offline
          gonzonia @sdetweil
          last edited by Nov 5, 2024, 11:13 PM

          @sdetweil said in MMM-Pir:

          nvm install v20.9.0

          That did it!

          As always, THANK YOU!

          P 1 Reply Last reply Nov 6, 2024, 8:43 AM Reply Quote 0
          • P Offline
            Peter @gonzonia
            last edited by Nov 6, 2024, 8:43 AM

            @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 Nov 6, 2024, 1:45 PM Reply Quote 0
            • G Offline
              gonzonia @Peter
              last edited by Nov 6, 2024, 1:45 PM

              @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 Nov 6, 2024, 4:36 PM Reply Quote 0
              • P Offline
                Peter @gonzonia
                last edited by Nov 6, 2024, 4:36 PM

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

                B G 2 Replies Last reply Nov 6, 2024, 5:24 PM Reply Quote 0
                • B Offline
                  bugsounet Banned @Peter
                  last edited by Nov 6, 2024, 5:24 PM

                  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 Nov 7, 2024, 2:51 AM Reply Quote 0
                  • G Offline
                    gonzonia @Peter
                    last edited by Nov 7, 2024, 2:21 AM

                    @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 Nov 7, 2024, 2:51 AM

                      @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
                      				}
                      			}
                      		},
                      
                      H 1 Reply Last reply Nov 7, 2024, 7:16 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      2 / 4
                      • First post
                        17/34
                        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