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.
    • S Offline
      sdetweil @gonzonia
      last edited by

      @gonzonia weird… how did you upgrade to node 21?
      apt or nvm?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil Honestly, I don’t remember. I think I installed nvm at one point to fix something else but I do run apt regularly to update everything

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

          @gonzonia do nvm -v

          n and nvm do the same thing
          nvm is a bash script
          n is a javascript app

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil

            $ nvm -v
            0.39.7
            
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @gonzonia
              last edited by

              @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 Reply Quote 0
              • G Offline
                gonzonia @sdetweil
                last edited by

                @sdetweil said in MMM-Pir:

                sudo nvm i 20

                sudo nvm i 20
                sudo: nvm: command not found
                
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @gonzonia
                  last edited by

                  @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 Reply Quote 0
                  • 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
                        • 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