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.

    MMM-Wallpaper black screen

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 3 Posters 1.9k Views 3 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.
    • P Offline
      Pocoyo
      last edited by

      I do not get it. I checked the config.js with npm run config:check. No syntax error. Deleted the module and tried MMM-nasaastropic instead. The same result. A black screen, I see only the courser. Config.js checked, no synatx error

      S C 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @Pocoyo
        last edited by

        @pocoyo see
        https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        P 1 Reply Last reply Reply Quote 0
        • C Offline
          ccrichtx @Pocoyo
          last edited by

          @pocoyo

          This is my MMM-Wallpaper and use Reddit instead of bing.

          Just replace source: “/r/MoviePosterPorn”, TO source: “bing”,

          {
          module: “MMM-Wallpaper”,
          position: “fullscreen_below”,
          classes: ‘scheduler’,
          config: {
          module_schedule: {from: ‘0 6 * * *’, to: ‘0 23 * * *’ },
          source: “/r/MoviePosterPorn”,
          maximumEntries:100,
          slideInterval: 30 * 1000,
          updateInterval: “90000”,
          filter: “grayscale(0.5) brightness(0.5)”,
          shuffle: true,
          size: “contain”, // cover,contain,auto
          }
          },

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

            @ccrichtx
            You can delete these rows, they are used for MMM-Scheduler:

            classes: ‘scheduler’,
            and
            module_schedule: {from: ‘06 ***’, to: ‘0 23 ***’},

            1 Reply Last reply Reply Quote 0
            • P Offline
              Pocoyo @sdetweil
              last edited by

              @sdetweil I have now tried your script, but the screen is still black.
              Can you maybe do something with that?

              [07.03.2022 18:07.50.133] [ERROR] Whoops! There was an uncaught exception...
              [07.03.2022 18:07.50.139] [ERROR] Error: Cannot find module 'async'
              Require stack:
              - /home/pi/MagicMirror/modules/MMM-nasaastropic/node_helper.js
              - /home/pi/MagicMirror/js/app.js
              - /home/pi/MagicMirror/js/electron.js
              - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
              - 
                  at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
                  at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
                  at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
                  at Module._load (node:internal/modules/cjs/loader:785:27)
                  at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
                  at Module.require (node:internal/modules/cjs/loader:1012:19)
                  at require (node:internal/modules/cjs/helpers:94:18)
                  at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-nasaastropic/node_helper.js:9:13)
                  at Module._compile (node:internal/modules/cjs/loader:1116:14)
                  at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) {
                code: 'MODULE_NOT_FOUND',
                requireStack: [
                  '/home/pi/MagicMirror/modules/MMM-nasaastropic/node_helper.js',
                  '/home/pi/MagicMirror/js/app.js',
                  '/home/pi/MagicMirror/js/electron.js',
                  '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
                  undefined
                ]
              }
              [07.03.2022 18:07.50.140] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
              [07.03.2022 18:07.50.141] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
              
              
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Pocoyo
                last edited by

                @pocoyo see
                https://forum.magicmirror.builders/topic/16453/mmm-wallpaper-black-screen/3?_=1646678233360

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Pocoyo
                  last edited by

                  I deleted everything again and redid it now it works, thanks for the help.

                  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