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.

    Mirror is turning off since today after some minutes

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 1 Posters 1.3k Views 1 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
      barnosch
      last edited by barnosch

      I recognized that my mirror is turning off after some minutes since today.
      I am playing arround with a PIR sensor, but i guess this is not the root cause.
      Nothing is running currently in the background.

      I can revive the monitor by running the following script

      tvservice --preferred && sudo chvt 6 && sudo chvt 7
      vcgencmd display_power 1
      

      again for some minutes.
      The only thing i did is a apt-get upgrade and i think there was only a nodejs update.
      Could it be that this causes the mirror shutting of?

      Can someone explain how to get the older package again?

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

        So it is definetly related to either pm2 or the MM application.
        If i stop the mirror with “pm2 stop mirror.sh” the normal pi desktop is shown and the screen does not go offline.
        The status light of the monitor is always “online”, even if there is no picture shown anymore.
        I can always revive the screen (for some minutes) with the above bash script.

        I really can’t get it, whats causing this.
        i checked the crontab -e file (also as sudo) there is just a
        @reboot script for the mirror to autostart after a reboot
        and two scripts for switching the monitor off at 10pm and switch on at 6.45am. This is working.

        Any suggestions?
        It started after testing with a pir sensor. This sensor is meanwhile disconnected physically.

        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