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

Scheduled Pinned Locked Moved Solved Troubleshooting
3 Posts 2 Posters 383 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.
  • B Offline
    BerkSmash1984
    last edited by BerkSmash1984 Jul 23, 2024, 2:46 PM Jul 23, 2024, 1:27 PM

    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 Jul 23, 2024, 3:43 PM Reply Quote 0
    • B Offline
      BerkSmash1984 @sdetweil
      last edited by Jul 23, 2024, 4:43 PM

      @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 Away
        sdetweil @BerkSmash1984
        last edited by Jul 23, 2024, 3:43 PM

        @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

        B 1 Reply Last reply Jul 23, 2024, 4:43 PM Reply Quote 0
        • B Offline
          BerkSmash1984 @sdetweil
          last edited by Jul 23, 2024, 4:43 PM

          @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
          • B BerkSmash1984 has marked this topic as solved on Jul 23, 2024, 4:44 PM
          • 1 / 1
          1 / 1
          • First post
            1/3
            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