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.

    unable to change modules details

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    16 Posts 2 Posters 4.2k 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.
    • Y Offline
      yrayapati
      last edited by

      @sam below regarding weather
      In the below piece of code they are saying that “unzip the gz file and find your city”
      {
      module: “currentweather”,
      position: “top_right”,
      config: {
      location: “Hyderabad”,
      locationID: “1176734”, //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city
      appid: “YOUR_OPENWEATHER_API_KEY”
      }
      },
      But in the link i could see two weather related files as:
      –>weather_14.json.gz 14-Mar-2017 12:33 1564623
      –>weather_16.json.gz 05-Apr-2019 11:08 8292321
      I have downloaded “weather_16.json.gz” file and changes details respectively…
      can you correct me if i have done anything worng

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @yrayapati
        last edited by sdetweil

        @yrayapati right _14 is from 2 years ago… some cities maybe have been discovered for openweather since then!..

        and u got your api key, that matches the kind of weather u wanted…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        Y 1 Reply Last reply Reply Quote 0
        • Y Offline
          yrayapati
          last edited by

          @sam I followed the steps described in this video and got API key

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @yrayapati
            last edited by

            @yrayapati are u good now? weather and calendar… anything else?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • Y Offline
              yrayapati @sdetweil
              last edited by

              @sdetweil first of all I am not able see any weather related details on the screen

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @yrayapati
                last edited by

                @yrayapati ok, open the developers window, keyboard, ctrl-shift-i, select the console tab., and scroll up to see any errors (red text)… please advise

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • Y Offline
                  yrayapati
                  last edited by

                  can you please elaborate

                  1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil
                    last edited by

                    on the pi, start the mirror app

                    using a keyboard, press ctrl-shift-i, this will open the developers window on the right side of the screen
                    using a mouse, select the tab at the top with the word ‘console’, a scrollable window will appear
                    using the mouse, scroll the window UP to view the earlier messages (top is first, bottom is latest)

                    find any messages that appear in red text… these are errors…

                    if u find them. please let us know what they are so we can help more

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    Y 1 Reply Last reply Reply Quote 0
                    • Y Offline
                      yrayapati @sdetweil
                      last edited by

                      @sdetweil I updated the API key now its working, but in console
                      1)I observed this error “Failed to load resource: the api.openweathermap.o…aaad452a1ce2dddb9:1 server responded with a status of 401 (Unauthorized)”.

                      2)This text is in yellow colour, i think this is warnings “weatherforecast: Your AppID does not support weatherforecast.js:266 long term forecasts. Switching to fallback endpoint.
                      weatherRequest.onreadystatechange@weatherforecast.js:266”

                      correct me if i’m wrong

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @yrayapati
                        last edited by

                        @yrayapati said in unable to change modules details:

                        our AppID does not support weatherforecast.js:266 long term forecasts

                        yes, they have different AppID for different forecasts… whatever u setup doesn’t support long term forecast…
                        go back to openeweather and change it (request different data)

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        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