Read the statement by Michael Teeuw here.
MM shuts down after an hour
-
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-ResRobotAny pointers would be helpful. If you need me to upload logs, please tell me how to do that, step by step …
Thanks!
-
-
@sdetweil Yes, I use PM2 to start MM. If you by base OS mean RPi OS, then yes.
-
@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
-
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.
-
@jasondreher can u tell me about that module? I like to keep track of troubles users experience
-
@sdetweil
https://github.com/scottcl88/MMM-DynamicWeatherOnce I removed this module I had no issues.
-
@jasondreher that module suffers from this
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1
-
@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 lineThanks, 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=1I have checked my modules for the package.json files, all good
-
@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