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-OpenWeatherMapForecast 3.0 API calls and freeze issue

    Scheduled Pinned Locked Moved Solved Troubleshooting
    21 Posts 5 Posters 2.4k Views 5 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.
    • S Offline
      sdetweil @jfields
      last edited by

      @jfields which version of MMM-OpenWeatherMapForecast are you using?

      in the module folder do
      git remote -v

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jfields @sdetweil
        last edited by

        @sdetweil
        origin https://github.com/MarcLandis/MMM-OpenWeatherMapForecast.git (fetch)
        origin https://github.com/MarcLandis/MMM-OpenWeatherMapForecast.git (push)

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

          @jfields that one is quite old

          I’d try this one, as the author is active
          https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jfields @sdetweil
            last edited by

            @sdetweil Thanks. I haven’t tried that one. I honestly only thought there were two, one that was way old and the one I’m using (MarcLandis). The one I’m using did get a recent update so it is somewhat supported, although I cannot open an Issue on it.

            From where I’m at now, I have a good working solution but using the MarcLandis version on one side and the built-in for everything else. If I do change, I will look at the Tom-Hirschberger version. It’s getting updates and has a tab to open Issues.

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

              @jfields good debug on the multiple problem

              lets try this temp fix

              in the MM/js folder do

              curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror/fixloading/js/app.js >app.js
              

              stop and restart MM

              this adds a hash to check for loading or already loading the node_helper for this module

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S J 2 Replies Last reply Reply Quote 0
              • S Offline
                Socrates @sdetweil
                last edited by

                Sorry to hijack this post. I can create a new one if needed. I’ve been using the “MMM-OpenWeatherMapForecast” module for a while, but for the past few weeks, it hasn’t been showing up on my MM. I’ve rebooted MM several times and made sure the module is up to date, but no luck.

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

                  @Socrates
                  yes openweather changed their api
                  module needs update

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil Hello, been away for a bit. I ran the curl and added a couple of the OpenWeatherMapForecast calls back in. They’re showing nominally, time is updating regularly. No issues right now. I opened the browser developer window and it’s showing 3 errors and the count is not incrementing. Does this fixloading script stop errant calls? I’m not sure where to look for the logs. I’m using pm2 to start/stop/restart.

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

                      @jfields logs are captured by pm2

                      pm2 logs --lines=xxxx

                      xxxx is the number of lines to show

                      the curl loads a version of the MagicMirror file that now only loads the node helper once per module.

                      nothing else is changed

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @sdetweil said in MMM-OpenWeatherMapForecast 3.0 API calls and freeze issue:

                        @Socrates
                        yes openweather changed their api
                        module needs update

                        Greetings fellow MagicMirror fans, I also noticed that the weather is not updating since a few days. I ran a git pull to update the module , it says already updated, but the module is not displaying the weather. DId i miss doing something . I have a free account and an api key. Need help to resolve this, Thanks.

                        S 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 Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy