MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    MMM-OneCallWeather

    Utilities
    2
    24
    353
    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.
    • N
      N6NG last edited by

      I’ve installed the MMM-OneCallWeather module. I have one question and one problem…
      The question relates to the MMM-OneCallWeather.css file. It was put in the MMM-OneCallWeather module directory. Does the module use it where it is or does it have to be moved or copied to the MagicMirror/css directory? I didn’t see any reference in the READ.md file that says move it so I’ve left it where it was in the MMM-OneCallWeather module directory.

      The second is my problem. This is what I’ve put in the config.js

      {
      module: “MMM-OneCallWeather”,
      position: “top_right”, // This can be any of the regions.
      // Best results in bottom_bar region due to horizontal default$

             config: {
              // See 'Configuration options' for more information.
               latitude: "37.956220", //Longitude from https://www.latlong.net/
                longitude: "-122.258300", //Longitude from https://www.latlong.net/ - is West $
                  apikey: "425d9f4xxxxxxxxa9a6b4443bba3", // Openweather API key
                          }
          },
      

      when I start MM all I get is a blank screen… If I comment out the MMM-OneCallWeather, it all works as normal.

      Any ideas… the only thing I could think of, was it might be related to the css file as mentioned above…
      Thanks all.
      Dennis

      1 Reply Last reply Reply Quote 0
      • N
        N6NG last edited by

        It didn’t copy before I Submitted the post but the starting { is at the top…
        Dennis

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

          @n6ng sounds like u didn’t do the npm install in the module folder

          Sam

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • N
            N6NG last edited by

            I thought I did but I did it again just in case but I still get the blank screen. All I see, is the mouse pointer…

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

              @n6ng can u see the logs from npm start? or pm2 logs if you use pm2

              Sam

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • N
                N6NG last edited by

                Thank you Sam

                /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
                0|MagicMir | [23.02.2022 10:19.19.438] [ERROR] Whoops! There was an uncaught exception…
                0|MagicMir | [23.02.2022 10:19.19.442] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
                0|MagicMir | at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
                0|MagicMir | at process. (/home/pi/MagicMirror/js/app.js:272:8)
                0|MagicMir | at process.emit (node:events:394:28)
                0|MagicMir | [23.02.2022 10:19.19.444] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                0|MagicMir | [23.02.2022 10:19.19.445] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                0|MagicMir | [23.02.2022 10:19.19.460] [ERROR] Whoops! There was an uncaught exception…
                0|MagicMir | [23.02.2022 10:19.19.462] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
                0|MagicMir | at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
                0|MagicMir | at process. (/home/pi/MagicMirror/js/app.js:272:8)
                0|MagicMir | at process.emit (node:events:394:28)
                0|MagicMir | [23.02.2022 10:19.19.464] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                0|MagicMir | [23.02.2022 10:19.19.465] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                0|MagicMir | [2488:0223/101920.289240:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization

                Dennis

                N 1 Reply Last reply Reply Quote 0
                • N
                  N6NG last edited by

                  I have no problem with the internet connection at this time…
                  Dennis

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

                    @n6ng I’ve reinstalled it 3 times now with the same result.
                    Just FYI.
                    Dennis

                    1 Reply Last reply Reply Quote 0
                    • N
                      N6NG last edited by

                      Ok… I think I have identified a bigger problem. I have thus far loaded the following weather programs.
                      MMM-OneCallWeather
                      MMM-MyWeather
                      MMM-DynamicWeather
                      all with the same result… A blank screen when any of them are included in my MM. I do have the following modules working properly on my MM with no problem.

                      alert
                      updatenotification
                      clock
                      calender-check
                      google-calendar
                      MMM-RAIN-RADAR
                      on-this-day
                      newsfeed

                      All working properly… When every I include any of the weather modules is when I get the blank screen… Hope this helps somehow.
                      Dennis

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

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

                        Sam

                        Create a working config
                        How to add modules

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