MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    [SOLVED] random black screen

    Bug Hunt
    4
    15
    383
    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.
    • qu1que
      qu1que Project Sponsor @qu1que last edited by

      I’m starting to see my problem…

      Fortunately I had saved an old config.js file with less modules than the one I have now. In studying the differences, I find this in my current config.js file:

      Too many calls to the newsfeed module, surely that’s the reason for the error.

      This is the configuration in the MMM-Pages module that was giving me problems

      {
      module: 'MMM-pages',
           config: {
                modules:
                     [[ "calendar_monthly", "MMM-Tools", "MMM-OpenWeatherForecast", "newsfeed"],
                     [ "calendar", "MMM-AirQuality"],
                     [ "MMM-TelegramBot", "MMM-EyeCandy"],
                     [ "calendar_monthly", "MMM-Tools", "MMM-OpenWeatherForecast", "newsfeed"],
                     [ "MMM-SolarPicture", "MMM-Lunartic", "MMM-Comics"],
                     [ "MMM-Comics" ],
                     [ "MMM-RAIN-MAP" ],
                     [ "calendar_monthly", "MMM-Tools", "MMM-OpenWeatherForecast", "newsfeed"],
                     [ "MMM-RandomPhoto", "MMM-History"],
                     [ "MMM-WeatherChart"],
                     [ "MMM-AirQuality", "newsfeed"],
                     [ "MMM-Wallpaper"]],
      rotationTime: 30000,
      fixed: ["alert", "updatenotification", "clock", "MMM-OpenmapWeather", "MMM-page-indicator"]
      }
      },
      
      
      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @qu1que last edited by

        @qu1que MagicMirror can only show or hide modules. it will load all defined in config.js, and then pages will make them show or not…

        sone modules, not many, will sleep when hidden and restart on show. I don’t know if newsfeed is like that

        Sam

        Create a working config
        How to add modules

        qu1que 1 Reply Last reply Reply Quote 0
        • qu1que
          qu1que Project Sponsor @sdetweil last edited by

          @sdetweil

          It is possible that in the end the problem was with the resource-intensive MMM-RAIN-MAP module. Now it’s disabled, let’s see what happens…

          In the end, my method is as simple as trial-and-error until it’s solved.

          S 1 Reply Last reply Reply Quote 0
          • S
            sdetweil @qu1que last edited by

            @qu1que yrs trial and error is the key tool here

            Sam

            Create a working config
            How to add modules

            qu1que 1 Reply Last reply Reply Quote 0
            • qu1que
              qu1que Project Sponsor @sdetweil last edited by

              Well, I think I can tag this post with SOLVED, all day with MMM-RAIN-MAP module disabled and no more black screens.

              Thanks all for your advice.

              1 Reply Last reply Reply Quote 1
              • 1
              • 2
              • 2 / 2
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy