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.

    PIR motion sensor/ pi root folder

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 2 Posters 1.4k Views 2 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
      BandNerd1002
      last edited by

      Does anyone have a good tutorial waking through how to set up a PIR motion sensor with the MagicMirror. all of the ones that I have found either don’t work, or they crash the entire thing, and i have to restart completely. Any help? Also what is the pi home root folder?

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @BandNerd1002
        last edited by

        @BandNerd1002 users home folders are in /home

        Then by user name, so pi

        So the home folder for user pi is

        /home/pi

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          Oh ok. Thank you

          S 1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @BandNerd1002
            last edited by

            @BandNerd1002 on the PIR, after u git clone, you have to go into the MMM-Pir folder and do npm install to add that modules dependencies.

            Any module that has a package.json needs the same npm install done from it’s module folder

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              Is there a good module to use? the ones that I have used always come up with a config error, or crash the pi.

              S 1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @BandNerd1002
                last edited by

                @BandNerd1002 see the step above about dependencies, and use the check:config

                i don’t use pir myself, i use a webcam for motion

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  Ok. Thank you.

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