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

Scheduled Pinned Locked Moved Unsolved Troubleshooting
26 Posts 5 Posters 17.6k 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.
  • M Offline
    MichMich Admin @trividar
    last edited by Jun 5, 2016, 8:12 AM

    With the same error?

    1 Reply Last reply Reply Quote 0
    • T Offline
      trividar
      last edited by Jun 5, 2016, 8:16 AM

      Yes with the same error…

      1 Reply Last reply Reply Quote 0
      • T Offline
        trividar
        last edited by Jun 5, 2016, 8:25 AM

        Now i have disconnect the cables from pir sensor and restart my pi. After reboot my pi my Magicmirror start automaticlly normal and after 2 seconds they got again black. That crazy thing is, I press ctrl+w and the blackscreen goes away and the the Magicmirror works “under” the blackscreen well…

        P 1 Reply Last reply Jun 5, 2016, 8:40 AM Reply Quote 0
        • P Offline
          paviro Admin @trividar
          last edited by Jun 5, 2016, 8:40 AM

          @trividar try changing the port in the config.js from 8080 to 8888 and reboot.

          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 Jun 5, 2016, 8:50 AM

            @paviro I have now the same error just with 8888.

            1 Reply Last reply Reply Quote 0
            • M Offline
              MichMich Admin
              last edited by Jun 5, 2016, 8:50 AM

              How do you start your Mirror?

              1 Reply Last reply Reply Quote 0
              • T Offline
                trividar
                last edited by Jun 5, 2016, 8:52 AM

                with autostart (from wiki).

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MichMich Admin
                  last edited by Jun 5, 2016, 8:53 AM

                  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 Jun 5, 2016, 8:57 AM

                    how can I do that?

                    M 1 Reply Last reply Jun 5, 2016, 8:59 AM Reply Quote 0
                    • M Offline
                      MichMich Admin @trividar
                      last edited by Jun 5, 2016, 8:59 AM

                      @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
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        8/26
                        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