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-OneCallWeather

    Scheduled Pinned Locked Moved Utilities
    24 Posts 2 Posters 6.7k Views 2 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.
    • N6NGN Offline
      N6NG @sdetweil
      last edited by

      @sdetweil I followed the instructions from the link you posted and found it could not find a file called axios. So I did the install of that program, and now my screen won’t stay on for more than a few seconds. It then goes black… I don’t know if it fixed my weather module or not…Now I get the error messages:

      0|MagicMir | [3417:0225/110146.538714:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
      0|MagicMir | [3453:0225/110146.872192:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.

      The only thing I can think of doing is to start from scratch and try it all again…
      Before I do that, any suggestions?
      Thanks all…
      Dennis
      n6ngdennis@gmail.com

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

        @n6ng those are incorrect error messages… not the problem

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        N6NGN 1 Reply Last reply Reply Quote 0
        • N6NGN Offline
          N6NG @sdetweil
          last edited by

          @sdetweil
          I found your message to vintage89 about the display in package.json
          "
          S
          sdetweil
          Apr 10, 2020, 3:20 PM

          @vintage89 edit the package.json file and remove the display=${display… stuff from the start clause

          It should start with "node_modules, like this
          “start”: “node_modules/.bin/electron js/electron.js”,

          Sam"
          Did that myself and it seems to have fixed the problem… now back to the weather problem again… More to follow…
          Thanks again Sam… you have some real words of wisdom throughout these many pages…
          Dennis

          S N6NGN 2 Replies Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @N6NG
            last edited by

            @n6ng np. but you never said Windows…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • N6NGN Offline
              N6NG @N6NG
              last edited by

              @n6ng It wasn’t Windows… but it worked anyway.
              Dennis

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

                @n6ng what is it? DISPLAY is an xwindows thing

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                N6NGN 1 Reply Last reply Reply Quote 0
                • N6NGN Offline
                  N6NG @sdetweil
                  last edited by

                  @sdetweil It is just a standard Raspberry Pi 3b with Debian with Buster and anASUS HDMI monitor…
                  But it was on for a couple of seconds and then off for 5 or 10 seconds back and forth… now it is back to normal…
                  Dennis

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

                    @n6ng so display might be set in the environment already.

                    the code says set display to :0 if not set

                    that’s the normal default xwindows instance

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    N6NGN 1 Reply Last reply Reply Quote 0
                    • N6NGN Offline
                      N6NG @sdetweil
                      last edited by

                      @sdetweil So are you saying that’s what I should set the display line to instead of what to said to set it to in this forum link?
                      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

                      If that’s true, I’ll try it…
                      Dennis

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

                        @n6ng we are crossing topics

                        found your message to vintage89 about the display in package.json
                        "
                        S
                        sdetweil
                        Apr 10, 2020, 3:20 PM

                        @vintage89 edit the package.json file and remove the display=${display… stuff from the start clause

                        It should start with "node_modules, like this
                        “start”: “node_modules/.bin/electron js/electron.js”,

                        that is
                        won’t start on Windows, because DISPLAY=… on start function in package.json

                        https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later
                        that is
                        blank screen because of missing dependencies on some/many modules

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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