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.

    [NEWBIE] Change In Clock Module Is giving error in config file

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    19 Posts 6 Posters 10.6k Views 6 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.
    • P
      postremalone
      last edited by postremalone

      It will be better if someone can send me the config file with indian time zone and indian calendar with RSS feed for any Indian News site :) so that i can replace it and learn.
      I am trying Indian News Feed thing. hope it works :)

      *update… I did the news thing and its working for me :)

      now need some help with weather module not showing up. on right side

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

        @postremalone ok, so you got rid of the config.js error, and the mirror is working, except for weather?

        looking at the config.js screen shot there is no locationID value (last line) … got to have one

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply
        Reply Quote 0
        • P
          postremalone
          last edited by

          @sdetweil hello
          i got the weather, the news feed,
          Now working on Clock… I did this…
          alt text

          Still Config File Giving error. can you guide me :)

          And is there any other website which I can use for Calendar Holidays for India.

          Mykle1M X 2 Replies Last reply
          Reply Quote 0
          • P
            postremalone
            last edited by

            Do i need to type this full “Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6” in the timezone column ?

            S 1 Reply Last reply
            Reply Quote 0
            • Mykle1M
              Mykle1 Project Sponsor Module Developer @postremalone
              last edited by

              @postremalone

              I can tell you that those screenshots are impossible for me to read. Please post your code in a code block, instead of a screenshot, so that it can be easily read by everyone.

              https://forum.magicmirror.builders/topic/4247/how-to-post-code-on-the-forum-for-absolute-beginners

              Create a working config
              How to add modules

              1 Reply Last reply
              Reply Quote 0
              • Y
                yawns Moderator
                last edited by

                There is a comma missing after your position line

                position: "top_left",

                However you could also just set the timezone of your raspberry and ignore this timezone thing in clock module

                1 Reply Last reply
                Reply Quote 0
                • P
                  postremalone
                  last edited by postremalone

                  https://calendar.google.com/calendar/ical/en.indian%23holiday%40group.v.calendar.google.com/public/basic.ics

                  i am using this link for calendar ical code is this fine.
                  https://calendar.google.com/calendar/ical/mr.deep.rawat%40gmail.com/public/basic.ics

                  1 Reply Last reply
                  Reply Quote 0
                  • X
                    xchribiza @postremalone
                    last edited by

                    @postremalone
                    In the module clock you need to close one more bracket }

                    {
                    module: “clock”
                    position: “top_left”
                    config: {
                    timezone: “MMT IST +630”
                    }
                    },

                    1 Reply Last reply
                    Reply Quote 0
                    • justjim1220J
                      justjim1220 Module Developer @postremalone
                      last edited by

                      @postremalone

                      Missing a comma ‘,’ at the end or your position entry.

                      “Life’s Too Short To Dance With Ugly People”
                      Jim Hallock - 1995

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

                        @postremalone no… the timezone is based ont he javascript moment…

                        see here, you can use any/all of each line… yours I think could be
                        “Indian/Maldives|MMT”,
                        https://github.com/moment/moment-timezone/blob/develop/data/packed/latest.json

                        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