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.

    MagicMirror Goes blackscreen overnight

    Scheduled Pinned Locked Moved Solved Troubleshooting
    13 Posts 3 Posters 4.6k 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.
    • D Offline
      demetry07
      last edited by

      Thanks I will check it in the morning when it does it again.

      1 Reply Last reply Reply Quote 0
      • D Offline
        demetry07
        last edited by

        Checked any errors and this is what came up.

        Thoughts?

        8080/modules/MMM-Snow//MMM-Snow.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
        (index):1 Refused to execute script from ‘http://localhost:8080/modules/MMM-Snow//MMM-Snow.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
        loader.js:187 Error on loading script: modules/MMM-Snow//MMM-Snow.js
        script.onerror @ loader.js:187
        :8080/modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
        (index):1 Refused to execute script from ‘http://localhost:8080/modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
        loader.js:187 Error on loading script: modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js
        script.onerror @ loader.js:187
        (index):1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
        loader.js:203 Error on loading stylesheet: css/custom.css
        stylesheet.onerror @ loader.js:203
        :8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77 Uncaught TypeError: Cannot read property ‘length’ of undefined
        at HTMLScriptElement.script.onload (:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77)
        maps.googleapis.com/maps/api/js?key=AIzaSyDo3gOotJfC2vkH3fugcheqIuCg-h0qRZ4:139 You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
        Vi @ maps.googleapis.com/maps/api/js?key=AIzaSyDo3gOotJfC2vkH3fugcheqIuCg-h0qRZ4:139
        :8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77 Uncaught TypeError: Cannot read property ‘length’ of undefined
        at HTMLScriptElement.script.onload (:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77)
        api.openweathermap.org/data/2.5/forecast/daily?id=4393217&units=imperial&lang=en&APPID=98626cd176b5075d4d8b1fba0971e8f8:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
        :8080/modules/default/weatherforecast//weatherforecast.js:266 weatherforecast: Your AppID does not support long term forecasts. Switching to fallback endpoint.
        weatherRequest.onreadystatechange @ :8080/modules/default/weatherforecast//weatherforecast.js:266
        (index):1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @demetry07
          last edited by

          @demetry07 said in MagicMirror Goes blackscreen overnight:

          MMM-GoogleMapsTraffic.js:77 Unc

          that module has a bug, get the fix from my repo . .

          do

          cd ~/MagicMirror/modules
          mv MMM-GoogleMapsTraffic MMM-GoogleMapsTraffic.old
          git clone https://github.com/sdetweil/MMM-GoogleMapsTraffic
          

          restart your mirror

          I don’t know why the others, unless it is because of this one…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 1
          • D Offline
            demetry07
            last edited by

            Ok updated and restarted. Will update in the morning or if it fails before then.

            Thank you very much @sdetwil

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @demetry07
              last edited by

              @demetry07 any update?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                demetry07 @sdetweil
                last edited by

                @sdetweil Yes no black screen this morning that fixed it!

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @demetry07
                  last edited by

                  @demetry07 woohoo!!.. thanks for the update!

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    demetry07 @sdetweil
                    last edited by

                    @sdetweil I am glad you told me about the CTRL + Shift + I. I was able to use that to fix some of the other Modules I was using.

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @demetry07
                      last edited by

                      @demetry07 awesome!!..

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        Raksasas @sdetweil
                        last edited by

                        @sdetweil

                        I am having what appears to be the same issue: “screen going black after X hours and the cursor in the top left of the screen”

                        How do I preform this with no keyboard/mouse attached?

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @Raksasas
                          last edited by

                          @Raksasas you can start in dev mode w

                          npm start dev
                          

                          From the MagicMirror folder.

                          But you need a mouse I think to select the tab.

                          If you have

                          address: "0.0.0.0",
                          IpWhiteList: [],
                          

                          In config.js, then you could use chrome on your PC to connect to the mirror and open the dev window there

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 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