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 just won't show up...

    Scheduled Pinned Locked Moved Troubleshooting
    13 Posts 2 Posters 1.8k 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.
    • S Offline
      sdetweil @Stef
      last edited by sdetweil

      @Stef >
      That one is not showing up…
      what does that mean? ctrl-shift-i on the mirror keyboard , select the tab labeled ‘console’ and scroll up to see any errors,
      usually red text

      you can also filter on messages from specific modules by putting some unique part of the module name in the ‘filter’ field

      the wrong config means you didn’t put the right stuff in config.js

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        Stef @sdetweil
        last edited by

        Hi, sorry for getting back to you so late…

        @sdetweil said in Weather just won't show up...:

        @Stef >
        That one is not showing up…
        what dies that mean? ctrl-shift-i on the mirror keyboard , select the tab labeled ‘console’ and scroll up to see any errors,
        usually red text

        Alright, i does not work on mobile… i am on my computer right now, in a vnc sessions on my pi and it worked!

        Sadly, i got a bunch of errors… all stating the same thing

        GET https://api.openweathermap.org/data/2.5/weather?id=2485160&units=metric&lang=en&APPID=%myappid% 404 (Not Found)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        currentweather.js:339 currentweather: Could not load weather.
        weatherRequest.onreadystatechange @ currentweather.js:339
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        XMLHttpRequest.send (async)
        updateWeather @ currentweather.js:347
        (anonymous) @ currentweather.js:515
        setTimeout (async)
        scheduleUpdate @ currentweather.js:514
        weatherRequest.onreadystatechange @ currentweather.js:343
        
        

        If i try to resolve the url on my browser i get:

        {"cod":"404","message":"city not found"}
        

        Which is odd…

        the wrong config means you didn’t put the right stuff in config.js

        What do you mean by that? i did replaced “new york” with “rosbach”…

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          Stef
          last edited by

          Ok… now i am confused as sh**…

          I don’t get it…
          First of all, it is working! The current weather is showing and the forecast (only for 2 days sadly).

          I went to the openweathermap site and searched for “Rosbach”.
          I found it and copied the number from the url (2845162) and used it in both moudles.

          So far so good.
          What i don’t understand is the value “location” in the module… I entered Rosbach and it was still displaying New York - i get it now, that i was still using the wrong location id (i am so sorry about that! i did not see that mistake!!) - but if the “location name” is coming from the website, why is there a value called “location”??

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Stef
            last edited by

            @Stef the doc https://docs.magicmirror.builders/modules/currentweather.html#configuration-options

            says location or location id
            location, city name is not enough

            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 @Stef
              last edited by

              @Stef weather for 2 days, see the post pinned to the top of the troubleshooting section about fixes available for version 2.12

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                Stef
                last edited by

                I feel like fool…

                I misred that… sorry…

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