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

After a few hours, MM or Raspberry stops responding

Scheduled Pinned Locked Moved Unsolved Troubleshooting
9 Posts 5 Posters 3.2k Views 4 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.
  • B Offline
    bmadeira
    last edited by Apr 26, 2019, 9:20 AM

    Hello, I’ve installed several weeks ago MM 2.6.x on a Pi 3 B+ and had it on tests several days in a row without problems. I also implemented the MMM-PIR-Sensor with a RCWL-0516 (radar sensor) for disconnecting the monitor and it worked like a charm.
    When I finally installed it on the wood Frame, hung it to the wall, upgraded to 2.7.0, added more modules and something weird started to happen: after several hours being on, I noticed two occurrences:

    1st - the screen was off, when I approached it the sensor would send the signal for the MMM-PIR-sensor module turn on the monitor, but it appeared on but black, with the RB Pi responding to ping and ssh. When I hit F11, Chromium would show in window mode but without information. When I restarted the MM services (pm2 restart mm), everything is ok for a few hours.

    2nd - the screen is off (could not detect connecition), approaching doesn’t turn on the monitor and nothing responds (keyboard, ping, etc). I do a power cycle and everything is ok for a few hours.

    This only started to happen after I installed it on the frame, updated to 2.7.0 and installed some additional modules. Did anyone else had this kind of behaviour? How can I debug this?

    Here are the modules I have installed:

    MMM-AirQuality
    MMM-Globe
    MMM-HASS
    MMM-ImageSlideshow
    MMM-NetworkScanner
    MMM-PIR-Sensor
    MMM-Remote-Control
    MMM-Tools
    MMM-WorldTides
    MMM-pihole-stats
    octomirror-module

    Best regards,

    Bruno

    1 Reply Last reply Reply Quote 0
    • B Offline
      bmadeira
      last edited by Apr 26, 2019, 10:25 AM

      Also I fond this on “pm2 logs mm”:

      0|mm | libGL error: MESA-LOADER: failed to retrieve device information
      0|mm | MESA-LOADER: failed to retrieve device information
      0|mm | MESA-LOADER: failed to retrieve device information
      0|mm | libGL error: MESA-LOADER: failed to retrieve device information
      0|mm | ERROR! Could not find main module js file for .AppleDouble
      0|mm | MESA-LOADER: failed to retrieve device information
      0|mm | MESA-LOADER: failed to retrieve device information
      0|mm | ATTENTION: default value of option force_s3tc_enable overridden by environment.
      0|mm | libGL error: MESA-LOADER: failed to retrieve device information
      0|mm | ERROR! Could not find main module js file for .AppleDouble
      0|mm | MESA-LOADER: failed to retrieve device information
      0|mm | MESA-LOADER: failed to retrieve device information
      0|mm | ATTENTION: default value of option force_s3tc_enable overridden by environment.

      Regards,

      Bruno

      1 Reply Last reply Reply Quote 0
      • B Offline
        bhepler Module Developer
        last edited by Apr 26, 2019, 4:35 PM

        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 the config.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.

        S 1 Reply Last reply Apr 26, 2019, 4:52 PM Reply Quote 0
        • S Offline
          sdetweil @bhepler
          last edited by sdetweil Apr 26, 2019, 4:52 PM Apr 26, 2019, 4:52 PM

          @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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 1
          • B Offline
            bmadeira
            last edited by Apr 28, 2019, 10:08 AM

            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

            1 Reply Last reply Reply Quote 0
            • B Offline
              bmadeira
              last edited by May 8, 2019, 11:09 AM

              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

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by A Former User May 8, 2019, 11:18 AM May 8, 2019, 11:17 AM

                Maybe this could be stupid question but Have you considered screensaver or energy saving issue?

                B 1 Reply Last reply May 12, 2019, 3:33 PM Reply Quote 0
                • B Offline
                  bmadeira @Guest
                  last edited by May 12, 2019, 3:33 PM

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

                  D 1 Reply Last reply May 13, 2019, 6:57 AM Reply Quote 0
                  • D Offline
                    dazza120 @bmadeira
                    last edited by May 13, 2019, 6:57 AM

                    @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

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