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

Electron screen becomes blank after a period of time

Scheduled Pinned Locked Moved Unsolved Troubleshooting
13 Posts 6 Posters 4.0k Views 6 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.
  • S Offline
    sdetweil @DDE12
    last edited by Jun 2, 2023, 1:55 AM

    @DDE12 yes, start a new topic, but it’s probably a picture format or size problem

    I don’t know if wallpaper has anyvdebugging/logging

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    K 1 Reply Last reply Jun 2, 2023, 5:31 PM Reply Quote 0
    • K Offline
      karsten13 @sdetweil
      last edited by Jun 2, 2023, 5:31 PM

      @sdetweil

      I suspect it’s a problem of the pi, not enough memory …

      D 1 Reply Last reply Jun 19, 2023, 3:45 AM Reply Quote 0
      • M Offline
        miabaker
        last edited by Jun 5, 2023, 8:41 AM

        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

        S 1 Reply Last reply Jun 5, 2023, 12:31 PM Reply Quote 0
        • S Offline
          sdetweil @miabaker
          last edited by Jun 5, 2023, 12:31 PM

          @miabaker so, you should find the module that’s failing and fix that.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • D Offline
            DDE12 @karsten13
            last edited by Jun 19, 2023, 3:45 AM

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

            B 1 Reply Last reply Jun 19, 2023, 5:15 AM Reply Quote 0
            • B Offline
              BKeyport Module Developer @DDE12
              last edited by Jun 19, 2023, 5:15 AM

              @DDE12 I’d suspect both of those modules aren’t handling server difficulties well from NASA…

              The "E" in "Javascript" stands for "Easy"

              S 1 Reply Last reply Jun 19, 2023, 11:36 AM Reply Quote 0
              • S Offline
                sdetweil @BKeyport
                last edited by Jun 19, 2023, 11:36 AM

                @BKeyport also, there have been image size issues as well. many of the NASA images are huge

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 2 / 2
                • First post
                  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