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.

    Strange weather bug?

    Scheduled Pinned Locked Moved Troubleshooting
    15 Posts 6 Posters 9.5k Views 6 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.
    • K Offline
      kanczug
      last edited by

      My mirror seems to lag a few hours (still have to check how many) in updating the weather or only forecast (don’t know). Today is Saturday 6:37 in the morning where I live, but I still see Friday weather forecast. When I will come back from work it probably will show Sat as the first day in forecast. If I restart the mirror it works OK till next day comes at it lags again. Anyone noticed it? How can I check for errors? I did not change anything apart from config data.

      1 Reply Last reply Reply Quote 0
      • KirAsh4K Offline
        KirAsh4 Moderator
        last edited by

        Is your rpi setup for the correct timezone and locale? Please check the Complete Setup Tutorial, specifically the part on Booting up and Configuring.

        A Life? Cool! Where can I download one of those from?

        1 Reply Last reply Reply Quote 0
        • K Offline
          kanczug
          last edited by

          Well time and date is displayed perfectly so I think the rest would be in order, right?

          1 Reply Last reply Reply Quote 0
          • KirAsh4K Offline
            KirAsh4 Moderator
            last edited by

            Not necessarily.

            A Life? Cool! Where can I download one of those from?

            1 Reply Last reply Reply Quote 0
            • K Offline
              kanczug
              last edited by

              OK. I installed MM once again this time at spare RPi 3 (my main mirror is running on RPi2). Have both running exact the same config, will see if that clears anything.
              How often is the weather data updated?

              1 Reply Last reply Reply Quote 0
              • K Offline
                kanczug
                last edited by

                OK, I have one stupid (?) question… does the api key for openweather has to be different for forecast and different for current weather?

                Wilco89W 1 Reply Last reply Reply Quote 0
                • Wilco89W Offline
                  Wilco89 @kanczug
                  last edited by

                  @kanczug i’m using the same api key.

                  1 Reply Last reply Reply Quote 0
                  • KirAsh4K Offline
                    KirAsh4 Moderator
                    last edited by

                    Use the same key.

                    A Life? Cool! Where can I download one of those from?

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      kanczug
                      last edited by

                      I tried using the same or different APIs but it seems that the mirror is not updating the data from the openweathermap as often as it should. Sometimes it updates only forecast but current temp stays the same all day. When I close and start MM again it all loads OK but it can not update on its own very often. Can not say how often, because I can not see any error messages in logs. The same happends on RPi 3 and my old RPi 2 running borh at the same time. One has current temp of 12 degrees and the other says 25. But when I restart them they display 27. So none is right. Can someone suggest anything? It is not the timezone problem, because after restart it shows everything OK, it is not the lack of internet connection, because calendar syncs OK.

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        Nexxic
                        last edited by

                        I’m having the same problem. Sometimes the current weather doesn’t update (or it updates very rarely), but it works when i restart with ‘pm restart mm’.

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kanczug
                          last edited by

                          Thanks for that info. This confirms my observations. I used cron to schedule RPi restart 2 times a day, so there is a chance for it to refresh properly at least twice.

                          1 Reply Last reply Reply Quote 0
                          • KirAsh4K Offline
                            KirAsh4 Moderator
                            last edited by

                            The only time I have seen my rpi not update either of the weather stats was if there was a communication error at any given request, however it always picked up at the next update. So this is a bit baffling to me … have either of you guys notice any errors anywhere, whether in npm, pm2, or the console?

                            A Life? Cool! Where can I download one of those from?

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              kanczug
                              last edited by

                              PM2 nope but others I do not know how to check. Any guide would be nice. I am a noob at this

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                kckndrgn
                                last edited by kckndrgn

                                I’m having the same issue. Total NOOB here as I just installed MM last night. Got up this morning and noticed the current weather is correct, but the forecast still starts at yesterday.

                                I’ve restarted MM via PM2 several times for other updates, I have not done a reboot of the Pi (Pi3) yet to see if that resolves the issue. I do have the locale and timezone set correctly.

                                The current date and time show correctly above my calendar.

                                Tried running ‘pm2 log mm’ but so far it’s just sitting there with no output.

                                I’m using the default weather apps, may try switching to WU apps to see if I have the same issue.

                                TIA

                                OK, so in my config.js file, for location, I had my current city/state. I changed it “Memphis, US” (closest “big” city) and retarted MM2. The forecast module updated. So, so just a thought, make sure the site you are pulling the forecast from has the correct city/state/country?

                                1 Reply Last reply Reply Quote 0
                                • ? Offline
                                  A Former User
                                  last edited by

                                  I’m joining the club in having the same issue with weather not updating. In my mirror it’s only the weather forecast that is updating. The current temperature is stale and have been so since I last restarted the mirror app.

                                  1 Reply Last reply Reply Quote 0

                                  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