• 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.

MM shuts down after an hour

Scheduled Pinned Locked Moved Bug Hunt
18 Posts 3 Posters 3.8k Views 3 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.
  • L Offline
    Lazershrimp
    last edited by Jan 25, 2023, 12:49 AM

    Hi!

    This might be a stupid noob question and possibly in the wrong part of the forum, but I’m going nuts here. Until now, I’ve been running my MM every day, flawlessly for three years.

    I run MM on a dedicated RPi3B, through “Raspberry Pi OS with desktop”, now on version 5.15. Ever since the last upgrade of the MM software (2.22.0?), the MM stops running after an hour or so. Sometimes I get the black screen, sometimes it reverts to what looks like a login screen. On reboot, MM runs again. For an hour or so.

    To troubleshoot, I have

    • gotten a new SD card,
    • I have tried wiping the card and reinstalling Pi OS and MM three times,
    • I have disabled screen blanking, and
    • I have tried installing xscreensaver and disabling it through the Pi OS,
    • I have checked that all my modules have the Node Helper,
      all with with no luck.

    Of course all modules are updated.

    What happened simultaneously is that I have great trouble accessing the Pi through SSH (PuTTY), but I’ve narrowed that issue down to a poorly working WiFi unit in the Pi. Therefore it’s difficult for me to access logs. I can, but I need to run a long cable. The Wifi works well enough to support updating the modules during use.

    Modules I use:
    MMM-Skolmaten
    MMM-Tibber
    MMM-NetworkScanner
    MMM-Remote-Control
    MMM-Netatmo
    MMM-ResRobot

    Any pointers would be helpful. If you need me to upload logs, please tell me how to do that, step by step …

    Thanks!

    S 1 Reply Last reply Jan 25, 2023, 1:15 AM Reply Quote 0
    • S Offline
      sdetweil @Lazershrimp
      last edited by Jan 25, 2023, 1:15 AM

      @Lazershrimp how do you start mm?

      npm start
      pm2
      

      did u upgrade the base os?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      L 1 Reply Last reply Jan 25, 2023, 11:37 AM Reply Quote 0
      • L Offline
        Lazershrimp @sdetweil
        last edited by Jan 25, 2023, 11:37 AM

        @sdetweil Yes, I use PM2 to start MM. If you by base OS mean RPi OS, then yes.

        S 1 Reply Last reply Jan 25, 2023, 1:29 PM Reply Quote 0
        • S Offline
          sdetweil @Lazershrimp
          last edited by Jan 25, 2023, 1:29 PM

          @Lazershrimp can u minimize mm ctrl-m and use the preferences (top left menu)
          to see if blank screen was turned back on?

          or from a terminal or ssh window, run my screensaveroff script from

          https://github.com/sdetweil/MagicMirror_scripts

          next to the last thing listed on the page, copy/paste the one line

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          L 1 Reply Last reply Jan 26, 2023, 1:38 PM Reply Quote 0
          • J Offline
            jasondreher
            last edited by Jan 25, 2023, 4:24 PM

            I had a similar issue, the screen would go black after an hour or so (never the login screen just always went black). On of my modules was not compatible with the upgrade. Once I removed that module all was well.

            S 1 Reply Last reply Jan 25, 2023, 4:49 PM Reply Quote 0
            • S Offline
              sdetweil @jasondreher
              last edited by sdetweil Jan 25, 2023, 4:49 PM Jan 25, 2023, 4:49 PM

              @jasondreher can u tell me about that module? I like to keep track of troubles users experience

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Jan 25, 2023, 11:46 PM Reply Quote 0
              • J Offline
                jasondreher @sdetweil
                last edited by jasondreher Jan 25, 2023, 11:46 PM Jan 25, 2023, 11:46 PM

                @sdetweil
                https://github.com/scottcl88/MMM-DynamicWeather

                Once I removed this module I had no issues.

                S 1 Reply Last reply Jan 25, 2023, 11:59 PM Reply Quote 0
                • S Offline
                  sdetweil @jasondreher
                  last edited by Jan 25, 2023, 11:59 PM

                  @jasondreher that module suffers from this

                  https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    Lazershrimp @sdetweil
                    last edited by Jan 26, 2023, 1:38 PM

                    @sdetweil said in MM shuts down after an hour:

                    or from a terminal or ssh window, run my screensaveroff script from
                    https://github.com/sdetweil/MagicMirror_scripts
                    next to the last thing listed on the page, copy/paste the one line

                    Thanks, I am now trying the screensaveroff script. Will have to wait for an hour to see if it works.

                    @sdetweil said in MM shuts down after an hour:

                    @jasondreher that module suffers from this
                    https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1

                    I have checked my modules for the package.json files, all good

                    S 1 Reply Last reply Jan 26, 2023, 2:04 PM Reply Quote 0
                    • S Offline
                      sdetweil @Lazershrimp
                      last edited by Jan 26, 2023, 2:04 PM

                      @Lazershrimp you are not checking for package.json, except to apply the fix

                      the fix is to

                      npm install xxxx

                      where xxx is the missing library as found in the log error messages

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      L 1 Reply Last reply Jan 26, 2023, 2:22 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        4/18
                        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