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 Not Working With New OneCall API 3.0 Subscription

    Scheduled Pinned Locked Moved Solved Troubleshooting
    3 Posts 2 Posters 857 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.
    • BerkSmash1984B Offline
      BerkSmash1984
      last edited by BerkSmash1984

      Hello all. I have subscribed to the Open Weather One Call API 3.0 base plan, generated a new API ke, installed the latest version of MMM-OpenWeatherMapForecast on my MM and updated the config with the new key, but now, the module is not loading. In the dev console, I see the following errors

      9c3505a3-ca23-44d9-b8b7-ecc4ca92fc91-image.png

      On the OpenWeather website, I do not see any API call usage.

      In the js file for the module, I do see the update 3.0 API endpoint, so not sure why it is giving the 404 not found error.

      Also interesting, I can browse to the endpoint URL manually with same latitude and longitude specified in my config, as well as new API key, and it works:

      06e1d3b1-3716-4d88-9a1e-10302860f782-image.png

      Any ideas? Thanks for your help!

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

        @sdetweil

        shoot, I fixed it… I had accidently downloaded a different module, MMM-OpenWeatherMapForecast instead of MMM-OpenWeatherForecast .

        Once I removed the wrong module and installed the correct one, and updated the node helper with “https://api.openweathermap.org/data/3.0/onecall”

        it worked. Thanks for your help!

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

          @BerkSmash1984 sent in discord too

          this module has hard coded v 2.5
          edit the node_helper and change

                  var url = "https://api.openweathermap.org/data/2.5/onecall?" +
          

          2.5 to 3.0

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          BerkSmash1984B 1 Reply Last reply Reply Quote 0
          • BerkSmash1984B Offline
            BerkSmash1984 @sdetweil
            last edited by

            @sdetweil

            shoot, I fixed it… I had accidently downloaded a different module, MMM-OpenWeatherMapForecast instead of MMM-OpenWeatherForecast .

            Once I removed the wrong module and installed the correct one, and updated the node helper with “https://api.openweathermap.org/data/3.0/onecall”

            it worked. Thanks for your help!

            1 Reply Last reply Reply Quote 0
            • BerkSmash1984B BerkSmash1984 has marked this topic as solved on

            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