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.

    Mirror turning black after a while

    Scheduled Pinned Locked Moved Troubleshooting
    45 Posts 16 Posters 34.3k Views 15 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.
    • schlachtkreuzer6S Offline
      schlachtkreuzer6 @retroflex
      last edited by

      @retroflex probably we need some code to clear the ram periodically. I think my problem module is the MMM-Globe. But I will have to test it. (about 10 modules… So one module per day… Uff that’s a looooong way.

      1 Reply Last reply Reply Quote 0
      • cruunnerrC Offline
        cruunnerr
        last edited by

        make two or three per day ;)

        than it goes faster

        schlachtkreuzer6S 1 Reply Last reply Reply Quote 0
        • R Offline
          retroflex Project Sponsor Module Developer
          last edited by

          Maybe this can be the cause?

          https://github.com/electron/electron/issues/11739

          1 Reply Last reply Reply Quote 0
          • schlachtkreuzer6S Offline
            schlachtkreuzer6 @cruunnerr
            last edited by

            @cruunnerr
            I’m working 🙄 didn’t test anything yet 😅

            1 Reply Last reply Reply Quote 0
            • F Offline
              FredJ @retroflex
              last edited by

              @retroflex I also got the same issue. MMM-resrobot or something it depends on looks to be causing this. Has anyone found a workaround? Resrobot is one of the main reasons I have the mirror so not really happy about disableing it.

              1 Reply Last reply Reply Quote 0
              • R Offline
                retroflex Project Sponsor Module Developer
                last edited by

                @Alvinger Do you know what could be the problem with ResRobot here?

                AlvingerA 1 Reply Last reply Reply Quote 0
                • AlvingerA Offline
                  Alvinger @retroflex
                  last edited by Alvinger

                  @retroflex I can’t think of anythong off hand.

                  I am running an older version of MM myself so haven’t researched the electron issues.
                  Can anyone confirm that the issue started with the new MM version?

                  As I am running my magic mirror on an original Pi 1 with 256MB RAM with no issues whatsoever I am a bit surprised that the module should cause this.

                  Edit: MMM-ResRobot has but one dependency and that is the unirest module.

                  Which version of ResRobot are you running? I did a rewrite to reduce the number of updates w while ago.

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cyberdie
                    last edited by cyberdie

                    @alvinger In my case, the problem started after last MM update.

                    R AlvingerA 2 Replies Last reply Reply Quote 0
                    • R Offline
                      retroflex Project Sponsor Module Developer @cyberdie
                      last edited by

                      @cyberdie said in Mirror turning black after a while:

                      @alvinger In my case, the problem started after last MM update.

                      Same here. Running the latest ResRobot.

                      But I think others have reported the same problem but with a different module.

                      1 Reply Last reply Reply Quote 0
                      • AlvingerA Offline
                        Alvinger @cyberdie
                        last edited by Alvinger

                        @binog @FredJ @cyberdie @schlachtkreuzer6

                        Looking through the unirest dependencies it looks like it relies on express which may or may not make it sus eptible to the issues with electron.

                        To resolve this I replaced unirest with node-fetch and pushed the new version of MMM-ResRobot to github.

                        To upgrade cd to your MagicMirror directory and run the following commands:

                        git pull
                        npm remove unirest
                        npm install
                        

                        Please post results in this thread!
                        Hope this resolves the issue.

                        R 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 2 / 5
                        • 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