• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 5.3k 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.
  • N Offline
    N6NG
    last edited by Feb 21, 2022, 11:06 PM

    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 Offline
      N6NG
      last edited by Feb 21, 2022, 11:08 PM

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

      S 1 Reply Last reply Feb 21, 2022, 11:12 PM Reply Quote 0
      • S Offline
        sdetweil @N6NG
        last edited by Feb 21, 2022, 11:12 PM

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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • N Offline
          N6NG
          last edited by Feb 22, 2022, 8:31 PM

          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 Feb 22, 2022, 9:46 PM Reply Quote 0
          • S Offline
            sdetweil @N6NG
            last edited by Feb 22, 2022, 9:46 PM

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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • N Offline
              N6NG
              last edited by Feb 23, 2022, 6:30 PM

              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 Feb 23, 2022, 11:19 PM Reply Quote 0
              • N Offline
                N6NG
                last edited by Feb 23, 2022, 6:34 PM

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

                1 Reply Last reply Reply Quote 0
                • N Offline
                  N6NG @N6NG
                  last edited by Feb 23, 2022, 11:19 PM

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

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    N6NG
                    last edited by Feb 24, 2022, 7:28 PM

                    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 Feb 24, 2022, 8:34 PM Reply Quote 0
                    • S Offline
                      sdetweil @N6NG
                      last edited by Feb 24, 2022, 8:34 PM

                      @n6ng 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

                      N 1 Reply Last reply Feb 25, 2022, 7:29 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        10/24
                        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