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.3k 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

      I’m trying to change calendar, news feed modules and enable weather forecast modules

      i tried modifying config.js file, present in config directory.
      but it did not worked for me

      can anyone help me with this

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

        @yrayapati tell us more… what do you want to change, what have you done, what didn’t work…

        show your config
        here on the forum put 3 backtick marks (to the left of the number 1) before and after the info you post from config.js

        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
          Thanks for your reply,
          below are the change that i have made to config.js

                                  module: "calendar",
                                  header: "US Holidays",
                                  position: "top_left",
                                  config: {
                                          calendars: [
                                                  {
                                                          symbol: "calendar-check",
                                                          url: "webcal://www.calendarlabs.com/ical-calender/ics/33/India_Holidays.ics"
                                                  }
                                          ]
                                  }
                          },
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @yrayapati
            last edited by sdetweil

            @yrayapati said in unable to change modules details:

            if u put that in a browser, does it download the ICS file?

            https://www.calendarlabs.com/ical-calender/ics/33/India_Holidays.ics  // does not work  (notice the e in ical-calender
            https://www.calendarlabs.com/ical-calendar/ics/33/India_Holidays.ics  // works 
            

            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
              type mistake
              thank you sam

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

                @yrayapati is that the only problem?

                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

                  @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 Offline
                    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 Offline
                        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 Offline
                            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 Offline
                                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 Offline
                                    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

                                    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