Read the statement by Michael Teeuw here.
Electron screen becomes blank after a period of time
-
I suspect it’s a problem of the pi, not enough memory …
-
Hi, I have the same issue of electron screen becoming blank. I have tried some solutions but none worked. I have added a line of code in my main.js file that reloads the window every 10 minutes. This prevents the screen from going blank. Here is the code snippet:
// Create a new BrowserWindow instance let win = new BrowserWindow(options); // Load the index.html file win.loadFile('index.html'); // Reload the window every 10 minutes setInterval(() => { win.reload(); }, 600000);
I hope this helps you keep your magic mirror running.
Regards, Mia from CodeIT
-
@miabaker so, you should find the module that’s failing and fix that.
-
@karsten13 You might have something there. I changed the source in MMM-Wallpaper from the HD NASA to regular NASA and it took several hours or more for it to go blank. I have had the same problem with other modules as well that seem to resolve when I make the update interval longer. I’ve stopped using the MMM-Wallpaper at this point but I’m hoping there is some further troubleshooting to identify if the Pi is the problem and explore for a solution.
-
@DDE12 I’d suspect both of those modules aren’t handling server difficulties well from NASA…
-
@BKeyport also, there have been image size issues as well. many of the NASA images are huge