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.

    Config Help!

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 5 Posters 8.8k Views 3 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 Offline
      PtrBld Module Developer
      last edited by paviro

      There is a , missing After Position: line 8

      I 1 Reply Last reply Reply Quote 0
      • I Offline
        IArentBen @feuerball
        last edited by

        @feuerball sure did!

        1 Reply Last reply Reply Quote 0
        • I Offline
          IArentBen @PtrBld
          last edited by

          @PtrBld thanks but that didn’t do it either

          1 Reply Last reply Reply Quote 0
          • KirAsh4K Offline
            KirAsh4 Moderator
            last edited by

            You’re missing commas between your feed definitions.

            feeds: [
                    {
                            title: "..."
                            url: "..."
                    },      //  <--- you're missing commas there
                    }
                            title: "..."
                            url: "..."
                    }
            ]

            A Life? Cool! Where can I download one of those from?

            1 Reply Last reply Reply Quote 0
            • KirAsh4K Offline
              KirAsh4 Moderator
              last edited by

              Also, you are not required to enter all of those weather parameters unless you are actually changing them. Bare minimum all you need is your location and your API ID. The iconTable, apiBase, Version, all of those things are already defined for you. Only if you want to change the defaults do you have to define them.

              A Life? Cool! Where can I download one of those from?

              1 Reply Last reply Reply Quote 0
              • MichMichM Offline
                MichMich Admin
                last edited by

                Best way to check your config.js is to check it using jshint.com or jslint.com - they will show you the errors if there are any.

                I 1 Reply Last reply Reply Quote 0
                • I Offline
                  IArentBen @MichMich
                  last edited by

                  @MichMich I tried the jshint and jslint but, was not successful because of my lack of knowledge in this language. I fixed it but basically scrapping the whole file and doing one section at a time. I learnt a whole lot in two hours though haha

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