Read the statement by Michael Teeuw here.
MM shuts down after an hour
-
-
@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
-
@sdetweil said in MM shuts down after an hour:
@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 messagesThis I don’t understand. You write in “fix for black screen in 2.16 and later” that some MM modules used libraries, which are now removed.
By navigating to the module folder and running “ls package.json”, I am checking whether the module contains this file or not, yes? If it does not, the fix is to install it by typing “npm init -y”
But since my modules all seem to contain the package.json, I’m guessing that this is not what causes my problem.
Or am I wrong?