Read the statement by Michael Teeuw here.
After a few hours, MM or Raspberry stops responding
-
My first approach in debugging this would be to remove all of the modules and just go with a couple core ones to let you know that the mirror is functioning.
Back up your
config.js
file and use theconfig.js.sample
from the repository. Strip out the weather modules, calendar module and newreader modules. Leave the clock & compliments. Run the mirror like that for a day to see if you still lose the mirror.If it is stable with only those modules, add your PIR-Sensor module. Test that it controls the monitor correctly. Then run it like that for a day or so and see if the problem returns.
At that point, it should help you establish roughly where the problem lies.
-
@bhepler and u don’t have to remove anything from config… just add
"disabled" : true,
to turn off each module
make it false to turn a module back on -
I found out that it seams the MMM-HASS and MMM-pihole-stats are causing the problems.
Whe I use the “disabled” : true", the mirror works for hours without any problems, but when I load the modules, the chromium browser turns black (like without any info) until I restart MM.
Any ideas?Regards, Bruno
-
Hello,
After all, disabling MMM-HASS and MMM-pihole-stats did not solve the problem.
Even after a fresh install without this modules, it still hapens. The strange thing is that if i access the MagicMirror via HTTP from my computer, the we page loads correctly with all the items, but on the mirror/Pi it’s a black page, only displaying correctly after a MM service restart. :(
Could it be something with the MM browser?Best regards, Bruno
-
Maybe this could be stupid question but Have you considered screensaver or energy saving issue?
-
@Sean I’ve followed the guide to disable the screen saver and the power management for the Pi, so this shouldn’t be an issue.
-
@bmadeira it’s the pi running out of memory, not sure what is using all of it, I use cronjob to restart mm every 12 hours