• 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.

Updated MM and OpenWeather doesn't work now.

Scheduled Pinned Locked Moved Unsolved Troubleshooting
7 Posts 3 Posters 453 Views 3 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.
  • R Offline
    RF
    last edited by Dec 9, 2024, 8:09 PM

    Could someone help me figure out why the OpenWeather won’t work after doing a MM update.

            When I log into the MM all I get is the words "Loading image" where my current weather and forecast should be. I have tried reentering my Location, Location ID and apiKey, and that didn't fix it.
    

    I don’t know what else to try . Any help would be appreciated.
    Below is a copy of my config.js

    },
    {
    module: “weather”,
    position: “top_right”,
    config: {
    weatherProvider: “openweathermap”,
    type: “current”,
    location: “XXXXX”,
    locationID: “XXXXXXX”, //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    apiKey: “XXXXXXXX”
    }
    },
    {
    module: “weather”,
    position: “top_right”,
    header: “Weather Forecast”,
    config: {
    weatherProvider: “openweathermap”,
    type: “forecast”,
    location: “XXXX”,
    locationID: “XXXXXX”, //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    apiKey: “XXXXXXXX”
    }
    },

    S 1 Reply Last reply Dec 9, 2024, 9:16 PM Reply Quote 0
    • S Offline
      sdetweil @RF
      last edited by Dec 9, 2024, 9:16 PM

      @RF open weather changed their business model. The old free API is no more, replaced by the 3.0 API which requires a credit card, altho today they give you 1000 free API requests.

      Also, the location/locationID are no longer used, only the lat/lon (which requires you to add a module header and turn off appendLocationToHeader)

      The pirateWeather provider is still free and mirrors the older darksky service, and requires an apikey

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • R Offline
        RF
        last edited by Dec 9, 2024, 9:30 PM

        Sam, thank you so much for your help.

        I will install the pirateWeather in the coming days.

        S 1 Reply Last reply Dec 9, 2024, 9:32 PM Reply Quote 0
        • S Offline
          sdetweil @RF
          last edited by Dec 9, 2024, 9:32 PM

          @RF you just have to change the config for weather

          No code to install

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          V 1 Reply Last reply Dec 16, 2024, 7:20 PM Reply Quote 0
          • V Offline
            vietscong @sdetweil
            last edited by Dec 16, 2024, 7:20 PM

            @sdetweil hi, i have the same problem that the OP.
            Do you mind elaborate how to migrate from openweather to pirateweather ?
            Thanks in advance
            Best regards

            S 2 Replies Last reply Dec 16, 2024, 7:43 PM Reply Quote 0
            • S Offline
              sdetweil @vietscong
              last edited by sdetweil Dec 16, 2024, 7:50 PM Dec 16, 2024, 7:43 PM

              @vietscong the documentation lists the providers we provide support for

              https://docs.magicmirror.builders/modules/weather.html#configuration-options
              the weather module documentation is split into a few sections

              what applies to all providers, formatting, type. etc

              Screenshot at 2024-12-16 13-37-36.png

              remember that MM provides defaults for all options, so those that aren’t specified (on ANY module) will be set to the default provided by the module… so its important to note each option, even if you don’t see it listed in any config you are looking at.

              options for current weather
              options for weather forecast

              then the detail for each provider

              for Pirateweather

              Screenshot at 2024-12-16 13-38-51.png

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @vietscong
                last edited by Dec 16, 2024, 7:53 PM

                @vietscong @RF just a reminder to all

                the doc is linked in the header above, so you don’t have to remember where to find it.
                Screenshot at 2024-12-16 13-51-28.png

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  4/7
                  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