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.

    MM Config check goes bad

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    14 Posts 2 Posters 3.8k 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.
    • S Offline
      sdetweil @HALPi-Thousand
      last edited by

      @halpi-thousand typically the error is reported on the line AFTER the actual error line

      unexpected token means 95% of the time, the line before should end with a comma, but does not

      see the two topics in my signature

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @HALPi-Thousand
        last edited by

        @halpi-thousand said in MM Config check goes bad:

          {
          	module: 'MMM-BinaryClock',
          	position:"lower_third",
          	config: {
          		size: 30
          },
        

        this is missing a } for the config: {

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        H 1 Reply Last reply Reply Quote 1
        • H Offline
          HALPi-Thousand @sdetweil
          last edited by

          @sdetweil

          That helps, thanks.

          Why doesn’t Geany tell me these things? Granted, I’m only getting started learning about this, and maybe I missed something somewhere but I would think that at least for little stuff - missing parentheses and so forth - it could manage to tell me what’s missing.

          Or is it that it probably did, and I just didn’t notice?

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @HALPi-Thousand
            last edited by

            @halpi-thousand said in MM Config check goes bad:

            Geany

            ?

            it did report, that somewhere further down it lost the structure

            deducing where it was caused is a fun time project.

            I wrote a module for this kind of problem, that presents a form. no more config editing

            funny it’s called MMM-Config!

            https://github.com/sdetweil/MMM-Config

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            H 1 Reply Last reply Reply Quote 0
            • H Offline
              HALPi-Thousand @sdetweil
              last edited by HALPi-Thousand

              @sdetweil said in MM Config check goes bad:

              @halpi-thousand said in MM Config check goes bad:

              Geany

              ?

              it did report, that somewhere further down it lost the structure

              deducing where it was caused is a fun time project.

              I wrote a module for this kind of problem, that presents a form. no more config editing

              funny it’s called MMM-Config!

              https://github.com/sdetweil/MMM-Config

              :astonished_face: And just like that, you’re my new best MagicMirror friend - I’ve been wanting something like this to make working on this stuff easier. Love this idea. Looks like it should be a fair bit more Newb-friendly than fiddling around in the config file tends to be.

              One thing: it apparently requires the Pi IP address and Port ID. The IP address wasn’t a problem, but I don’t know where or what to look for to get the Port ID. Or did I just miss something somewhere?

              Thanks again

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @HALPi-Thousand
                last edited by

                @halpi-thousand if you use showQR:true

                then there will be a qr code to use from outside

                the default port on mm is 8080

                the doc (readme.md) says what link to use if not using the qr code

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                H 1 Reply Last reply Reply Quote 0
                • H Offline
                  HALPi-Thousand @sdetweil
                  last edited by

                  @sdetweil said in MM Config check goes bad:

                  @halpi-thousand if you use showQR:true

                  then there will be a qr code to use from outside

                  the default port on mm is 8080

                  the doc (readme.md) says what link to use if not using the qr code

                  Right, the link where you substitute the IP and Port for that one part

                  http://MM_IP_Address:MM_Port/modules/MMM-Config/review

                  I tried the Pi’s IP and Port 8080, and got this error:

                  Unable to connect
                  Firefox can’t establish a connection to the server
                  at 192.168.1.13:8080.
                  The site could be temporarily unavailable or
                  too busy. Try again in a few moments.
                  If you are unable to load any pages, check
                  your computer’s network connection.
                  • If your computer or network is protected by
                  a firewall or proxy, make sure that Firefox is
                  permitted to access the Web.

                  I also tried adding in that ShowQR: true line; it didn’t give me a QR.

                  Any ideas where I might be getting it wrong?

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @HALPi-Thousand
                    last edited by sdetweil

                    @halpi-thousand if the mm config says
                    address:“localhost”,

                    the Only apps INSIDE the pi can connect

                    if u want to connect from outside the pi (phone, tablet, ??? )

                    then u have to change address and ipWhitelist

                    to allow outside machines anto connect

                    it’s showQR not ShowQR

                    case matters in MagicMirror, everywhere

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    H 1 Reply Last reply Reply Quote 0
                    • H Offline
                      HALPi-Thousand @sdetweil
                      last edited by HALPi-Thousand

                      @sdetweil said in MM Config check goes bad:

                      @halpi-thousand if the mm config says
                      address:“localhost”,
                      the Only apps INSIDE the pi can connect

                      if u want to connect from outside the pi (phone, tablet, ??? )
                      then u have to change address and ipWhitelist
                      to allow outside machines anto connect

                      it’s showQR not ShowQR

                      case matters in MagicMirror, everywhere

                      I checked, and it’s set up as localhost. That shouldn’t be a problem, this one isn’t headless. Two displays and a wireless keyboard/trackpad.

                      HAL Pi.JPG
                      Also, showQR is correct spelling and case.

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @HALPi-Thousand
                        last edited by

                        @halpi-thousand what position is it configured for? I don’t see it on screen.

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        H 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