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

OpenWeatherForcast - AggregateError?

Scheduled Pinned Locked Moved Unsolved Troubleshooting
18 Posts 2 Posters 343 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.
  • C Offline
    cricket
    last edited by May 6, 2025, 1:07 AM

    New 1st time MM setup today. trying to use the jclarke MMM-OpenWeatherForecast module. I keep getting “MMM-OpenWeatherForecast] 5-May-25 18:28 ** ERROR ** AggregateError”. I have purchased the correct Open Call API and I can make web querry with success. Here is my simple module. Any help?

                     {
                      module: "MMM-OpenWeatherForecast",
                      position: "top_right",
                      header: "Forecast",
                      config: {
                        apikey: "XXXXXX", //SUPER SECRET
                        latitude: "23.073051",
                        longitude: "-41.401230"
                      }
                    },
    
    S 1 Reply Last reply May 6, 2025, 1:45 AM Reply Quote 0
    • S Offline
      sdetweil @cricket
      last edited by sdetweil May 6, 2025, 1:52 AM May 6, 2025, 1:45 AM

      @cricket you should use the updated version from Tom
      https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 2 Replies Last reply May 6, 2025, 1:59 AM Reply Quote 1
      • C Offline
        cricket @sdetweil
        last edited by May 6, 2025, 1:59 AM

        @sdetweil Thank you for this - I may give that a go tomorrow.

        S 2 Replies Last reply May 6, 2025, 2:08 AM Reply Quote 0
        • S Offline
          sdetweil @cricket
          last edited by May 6, 2025, 2:08 AM

          @cricket always look thru the 3rd party list (linked above, got good search), take the newest of same name

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 1
          • S Offline
            sdetweil @cricket
            last edited by May 6, 2025, 2:09 AM

            @cricket should be rename the old, install the new.
            no required change in config

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 1
            • C Offline
              cricket @sdetweil
              last edited by May 6, 2025, 2:15 PM

              @sdetweil Thanks for all your help. Installed this today - Still stuck at loading - this is the error I got.

              0|MagicMirror  | [2025-05-06 09:08:47.933] [ERROR] [MMM-OpenWeatherForecast] 6-May-25 09:08 ** ERROR ** TypeError: fetch failed
              0|MagicMirror  | TypeError: fetch failed
              0|MagicMirror  |     at node:internal/deps/undici/undici:13502:13
              0|MagicMirror  |     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
              

              I renamed the old MMM module prior to installation. I can make direct API calls in a browser using the API key provided. Not sure what to try now. Any help welcomed.

              S 1 Reply Last reply May 6, 2025, 2:23 PM Reply Quote 0
              • S Offline
                sdetweil @cricket
                last edited by May 6, 2025, 2:23 PM

                @cricket hmm… can you shown the startup info
                like this from MM startup

                ### SYSTEM:   manufacturer: System manufacturer; model: System Product Name; virtual: false
                ### OS:       platform: linux; distro: Ubuntu; release: 22.04.5 LTS; arch: x64; kernel: 5.15.0-138-generic
                ### VERSIONS: electron: 35.1.5; used node: 22.14.0; installed node: 22.14.0; npm: 10.9.2; pm2: 5.4.3
                ### OTHER:    timeZone: Europe/London; ELECTRON_ENABLE_GPU: undefined
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                C 1 Reply Last reply May 6, 2025, 3:33 PM Reply Quote 0
                • C Offline
                  cricket @sdetweil
                  last edited by May 6, 2025, 3:33 PM

                  @sdetweil Thanks for all your help - here is what I have -

                  0|MagicMir | [2025-05-06 10:28:53.242] [INFO]  System information:
                  0|MagicMir | ### SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 4 Model B Rev 1.5; virtual: false
                  0|MagicMir | ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.12.25+rpt-rpi-v8
                  0|MagicMir | ### VERSIONS: electron: 35.2.2; used node: 22.14.0; installed node: 22.14.0; npm: 10.9.2; pm2: 5.4.3
                  0|MagicMir | ### OTHER:    timeZone: America/Chicago; ELECTRON_ENABLE_GPU: undefined
                  
                  
                  S 1 Reply Last reply May 6, 2025, 4:35 PM Reply Quote 0
                  • S Offline
                    sdetweil @cricket
                    last edited by sdetweil May 6, 2025, 4:40 PM May 6, 2025, 4:35 PM

                    @cricket @wishmaster270 will have to reply
                    (I know he has been busy, so may take some time)

                    can you post your module config,
                    xxx out the apikey

                    and I can try it

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    C 1 Reply Last reply May 6, 2025, 5:12 PM Reply Quote 0
                    • C Offline
                      cricket @sdetweil
                      last edited by May 6, 2025, 5:12 PM

                      @sdetweil Copy that - I have also tried the API web call on the pi browser - it works fine. I tried a couple of options.

                      Are you asking me to post the entire conifg.js?

                      Thanks.

                      S 1 Reply Last reply May 6, 2025, 5:31 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        9/18
                        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