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 3.5k 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
                        • 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