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

Weather forecast issues

Scheduled Pinned Locked Moved Unsolved Troubleshooting
weather
9 Posts 3 Posters 3.8k 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.
  • M Offline
    mikepelchy
    last edited by Apr 18, 2019, 6:53 PM

    Updated to 2.7.1 and I am using the new weather module. Everything appears to be working but I am finding that after a week or so, the forecast will stop refreshing. I currently using the current weather portion and the forecast portion of the module, but I haven’t noticed any issues with the current weather portion. I also have both set to use openweather. I had originally tried using darksky to get a longer forecast but it also seemed to have the same issue. Reloading the browser loads fresh data so I haven’t needed to reload MM to get fresh data, which leads me to think maybe its a browser issue? I included the section of the config file for the weather stuff for giggles.

                    {
                            module: "weather",
                            header: "Surrey, ND",
                            position: "top_right",
                            config: {
                                    apiKey: "#####", // private; don't share!
                                    type: "current",
                                    degreeLabel: true,
                                    locationID: "5690532",
                                    appendLocationNameToHeader: false
                             }
                    },
                    {
                            module: "weather",
                            position: "top_right",
                            config: {
                                    //weatherProvider: "darksky",
                                    //apiKey: "####", // private; don't share!
                                    //apiBase: "https://cors-anywhere.herokuapp.com/https://api.darksky.net",
                                    apiKey: "####",
                                    locationID: "5690532",
                                    lat: "48.23",
                                    lon: "-101.14",
                                    colored: "true",
                                    type: "forecast",
                                    tableClass: "medium",
                                    fade: "false",
                                    roundTemp: "true",
                                    maxNumberOfDays: "10",
                                    weatherEndpoint: "/forecast"
                            }
                    },
    
    
    1 Reply Last reply Reply Quote 0
    • V Offline
      vinp Module Developer
      last edited by Apr 24, 2019, 8:54 PM

      I just noticed mine also experiences this behavior every few days. Even though it should reload the data with the updateInterval every few hours. Screenshot is from the browser Dev Tools on the Pi
      0_1556138954227_5f639727-d54e-44d4-9961-892d34714fad-image.png
      Can you check your Dev Toolbar when this happens?

      M 1 Reply Last reply May 4, 2019, 12:44 PM Reply Quote 0
      • M Offline
        mikepelchy @vinp
        last edited by May 4, 2019, 12:44 PM

        @vinp said in Weather forecast issues:

        I just noticed mine also experiences this behavior every few days. Even though it should reload the data with the updateInterval every few hours. Screenshot is from the browser Dev Tools on the Pi
        0_1556138954227_5f639727-d54e-44d4-9961-892d34714fad-image.png
        Can you check your Dev Toolbar when this happens?

        I appear to be getting the same error code.

        S 1 Reply Last reply May 4, 2019, 3:47 PM Reply Quote 0
        • S Offline
          sdetweil @mikepelchy
          last edited by May 4, 2019, 3:47 PM

          @mikepelchy if you stop and restart mm does the error go away for a while again?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply May 6, 2019, 1:00 AM Reply Quote 0
          • M Offline
            mikepelchy @sdetweil
            last edited by May 6, 2019, 1:00 AM

            @sdetweil said in Weather forecast issues:

            @mikepelchy if you stop and restart mm does the error go away for a while again?

            Yes, seems like it goes 2-3 days before the issue comes back. I have tried it with the MM viewer that opens on bootup and also in chromium.

            Tried using darksky when I first setup the new module and I seemed to have an issue with it, which I am thinking was the same issue so I switched back to darksky to see what happens.

            I also setup another RPI3 running a clean install to see what happens.

            1 Reply Last reply Reply Quote 0
            • V Offline
              vinp Module Developer
              last edited by May 6, 2019, 1:59 PM

              I have not see the error since I last posted nearly 2 weeks ago

              1 Reply Last reply Reply Quote 0
              • M Offline
                mikepelchy
                last edited by May 12, 2019, 5:58 PM

                So I am even seeing the issue with using Darksky. However, I did to a clean install on a different RPI3 and that hasnt seem to have any problems with using OpenWeather as the supplier. So, it must be something with my install.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mikepelchy
                  last edited by May 18, 2019, 3:58 PM

                  So as it turns out, even my clean install is seeing the same issue. And if I leave them both going long enough without restarting them, the current weather will also stop updating.

                  1 Reply Last reply Reply Quote 0
                  • V Offline
                    vinp Module Developer
                    last edited by Jul 10, 2019, 3:00 PM

                    I see this happening when my internet goes out for a bit, the new weather modules seem to no longer refresh. I created an issue - https://github.com/MichMich/MagicMirror/issues/1722

                    1 Reply Last reply Reply Quote 0
                    • 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