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-Sensor restart problem

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    26 Posts 5 Posters 19.7k Views 4 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.
    • MichMichM Offline
      MichMich
      last edited by

      How do you start your Mirror?

      1 Reply Last reply Reply Quote 0
      • T Offline
        trividar
        last edited by

        with autostart (from wiki).

        1 Reply Last reply Reply Quote 0
        • MichMichM Offline
          MichMich
          last edited by

          It somehow probably starts multiple instances. Disable the auto start and try to get it working manually first.

          1 Reply Last reply Reply Quote 0
          • T Offline
            trividar
            last edited by

            how can I do that?

            MichMichM 1 Reply Last reply Reply Quote 0
            • MichMichM Offline
              MichMich @trividar
              last edited by

              @trividar pm2 stop mm

              check if it’s running pm2 list

              No instances should be running at that point. then start the MM using npm start from your MagicMirror folder from a terminal running on your PI (so not via SSH)

              1 Reply Last reply Reply Quote 0
              • paviroP Offline
                paviro
                last edited by

                Moved this part of the topic into a new thread since it has nothing to do with the module.

                We're all stories in the end. Just make it a good one, eh?

                – The Doctor

                MichMichM 1 Reply Last reply Reply Quote 0
                • T Offline
                  trividar
                  last edited by

                  If i stop with pm2 stop mm and start my MM with npm start from terminal everything works fine, but without the PIR sensor. If i connect the sensor to my pi i get the blackscreen.

                  1 Reply Last reply Reply Quote 0
                  • MichMichM Offline
                    MichMich @paviro
                    last edited by

                    @paviro See the replay in the other topic. It seems it has something to do with the module.

                    1 Reply Last reply Reply Quote 0
                    • paviroP Offline
                      paviro
                      last edited by

                      Strange no idea what could case that. Will check back…

                      We're all stories in the end. Just make it a good one, eh?

                      – The Doctor

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        trividar
                        last edited by

                        Thank you both for your help!
                        How can I disable completely the MM autostart?

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