Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    UNSOLVED MMM-PIR-Sensor restart problem

    Troubleshooting
    5
    26
    13141
    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.
    • T
      trividar last edited by paviro

      @MichMich Thanks a lot for your help…that was simple;o)!

      Now my MagicMirror won’t start on the monitor;o(
      I just get a back screen an i couldn’t do anything, my monitor is still working but just black screen and nothing else. Also I can’t quit the MagicMirror with ctrl+w. I can just get access with shh… an If I try to stop magic mirror with pm2 stop mm it stops but the screen is still black. If I use over ssh my laptop and start with npm start the MagicMirror works well. If i disconnect the PIR sensor (hardware) then everything works well.

      I got this error if i start pm2 logs mm…

      0_1465113230337_IMG-20160605-WA0001.jpg
      You know what I do wrong? (Sorry for all this noob questions)

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

        EADDRINUSE:::8080 means there is already an app running on port 8080. Probably the app itself which you already started once. If you can’t figure out how to quit it, simply restart your Pi. This should solve it.

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

          @MichMich Thanks for your fast replay. I restart my Pi several times, but I have always the same problem. My MagicMirror starts normal and after 2 seconds the screen goes black.

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

            With the same error?

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

              Yes with the same error…

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

                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…

                paviro 1 Reply Last reply Reply Quote 0
                • paviro
                  paviro Admin @trividar last edited by

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

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

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

                    1 Reply Last reply Reply Quote 0
                    • MichMich
                      MichMich Admin last edited by

                      How do you start your Mirror?

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

                        with autostart (from wiki).

                        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy