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.

    timing on weather is off by about 8hours

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    12 Posts 6 Posters 10.3k Views 5 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.
    • I Offline
      idkmynameiskyle @tv25666
      last edited by

      @tv25666 Mine actually did not work by zip code but did work as “NewYork”. You could play around with it just to see if it fixes the problem, but like I said, my problem was a bit different. I just thought I’d chime in since a simple location change fixed my issue!

      Good luck!

      1 Reply Last reply Reply Quote 0
      • pugslyP Offline
        pugsly
        last edited by

        I had a hard time with openweather as well, what I finally got to work was using the full City,State (No Space) as my location. What helped me was going to the openweather site and typing in different combinations until I found the one that was for my city which according to them there are 6 different city’s in the US with that name.

        For Philadelphia what works is Philadelphia,Pennsylvania (Note there is NO SPACE between the city and state)
        http://openweathermap.org/city/4560349

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          tv25666 @pugsly
          last edited by

          @pugsly said in timing on weather is off by about 8hours:

          I had a hard time with openweather as well, what I finally got to work was using the full City,State (No Space) as my location. What helped me was going to the openweather site and typing in different combinations until I found the one that was for my city which according to them there are 6 different city’s in the US with that name.

          For Philadelphia what works is Philadelphia,Pennsylvania (Note there is NO SPACE between the city and state)
          http://openweathermap.org/city/4560349

          unfortunately, it didnt work as seen by the screenshot below. i wonder if it is because the files are hosted on a webserver located in another city. all of Teeuw’s files are located on a bluehost.com server. the autostart file on the rpi tells Chromium to load this website http://dablet.com/tung_quote/

          0_1463135378549_mirror 2.jpg

          KirAsh4K 1 Reply Last reply Reply Quote 0
          • MichMichM Offline
            MichMich Admin
            last edited by

            Is it incorrect from the start? Or after a while? If it’s after a while (a day) is’t because it doesn’t get updated. (Maybe because of a connection problem)

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

              "all of Teeuw’s files are located on a bluehost.com server."
              

              That doesn’t make any difference. MM doesn’t actively use any of those files. When you installed MM, it copied everything locally. The only time it fetches data, is when the modules are triggered, and they go to where you tell them. For example, the weather module goes to fetch the city you tell it to. The time display is based on your rPi setup, that has nothing to do with MM.

              When you first setup your rPi, did you go through the localization setup as well? Telling it what timezone you’re in, what language to use, keyboard, WiFi country … all of those things you need to set, and are completely unrelated to MM, or any other application you run on it. However, they do affect what gets displayed, again, both through MM, or any other application. If the application uses the rPi’s locale, and sees that you have it set to Zimbabwe, it will happily adjust the time for that.

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

              T 1 Reply Last reply Reply Quote 0
              • T Offline
                tv25666 @KirAsh4
                last edited by

                good morning, here is my rpi setup.
                for locale, it has en_GB ( I dont think this matters, but what is the value for USA?)
                for timezone, it is already New York.
                the rpi and my PC shows the same info when i go to this website : http://dablet.com/tung_quote/
                the reason i have the rpi loads that website is because i can change the content as needed remotely. i dont have to visit the person’s house and log into putty locally to make changes.
                @KirAsh4 0_1463223111108_mirror 3.jpg

                1 Reply Last reply Reply Quote 0
                • MichMichM Offline
                  MichMich Admin
                  last edited by

                  Wat do you see when you type date into your terminal?

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    tv25666 @MichMich
                    last edited by

                    @MichMich
                    pi@raspberrypi ~ $ date
                    Sat May 14 09:32:09 EDT 2016
                    pi@raspberrypi ~ $
                    and here is the screenshot. if i wake up every day at 9am, i would not notice the 8hrs delay.
                    but since i wake up at 6am, thats when i noticed the delay as seen in previous screenshots

                    0_1463232947936_mirror 4.jpg

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