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.

    Are you tired of editing config.js, or have trouble doing it, see my new module

    Scheduled Pinned Locked Moved Utilities
    293 Posts 28 Posters 341.8k Views 31 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.
    • D Offline
      DarkV
      last edited by

      I am a noob at this, how do I set the port to use the browser and how do I show the QR code on my MM?

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

        @DarkV the default port is 8080

        you can edit in config.js and change the number, or change it in the form

        and in the MMM-Config config set showQR to true
        or change it in the form
        the doc mentions how to open the form directly in a browser

        note on the QR you MUST change config.js to support outside MagicMirror system access, per the doc

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          DarkV @sdetweil
          last edited by

          @sdetweil said in Are you tired of editing config.js, or have trouble doing it, see my new module:

          config set showQR

          So, should I add “showQR = True” to the configj.s?
          As I said earlier, I do not have the skill of the format.

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            DarkV @DarkV
            last edited by

            @DarkV
            I get this errorScreenshot 2025-03-27 at 11-04-56 Error.png

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

              @DarkV the doc (README.md) says the url

              IMG_0889.png

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                DarkV @sdetweil
                last edited by

                @sdetweil Apologies for my lack of knowledge, but I didn’t fully understand your response about the URL. Please keep in mind that I’m not very experienced with coding.

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

                  @DarkV it takes a little bit of info

                  a url contains
                  a protocol type secure(https) or not (http)
                  a server name or address
                  a port
                  a path
                  and optionally some parameters

                  for MMM-Config

                  just protocol, server, port and path

                  on your local network, we dont need to build our everything for secure encrypted communications

                  if the machine you are opening the browser on is the same machine as MagicMirror is running, then you can use localhost
                  otherwise you need to know the MagicMirror server ip address or network name

                  the port value comes from the MagicMirror config.js, default is 8080
                  (if you dont see a port specified in a url, then the browser uses the default for the protocol, 80 or 443 not/secure, as appropriate)

                  and then the path, for MMM-Config there are two :

                  for configuration
                  /configure
                  and for module installation
                  /installer

                  http://ip:port/configure

                  on the same machine, using defaults
                  http://localhost:8080/configure

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Reply Quote 0
                  • I Offline
                    IamWayne
                    last edited by

                    Hello, Newbie here, how do you go about using this? What do I need to get started? Do I need Node.js? Have it installed, yet completely lost. How about a guide or video. Thanks

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

                      @IamWayne did you add the module to config.js?
                      and restart MagicMirror?

                      if so then the url from the doc

                      http://ip:mm_port/configure

                      but by default the MagicMirror config only allows apps from inside the same system to connect, so you would have to minimize MagicMirror then launch a browser to

                      http://localhost:8080/configure

                      or for the module installer

                      http://localhost:8080/installer

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • I Offline
                        IamWayne
                        last edited by

                        Oh I think that I understand now. I have to add this to the MM installer in the correct folder, correct?

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 24
                        • 25
                        • 26
                        • 27
                        • 28
                        • 29
                        • 30
                        • 26 / 30
                        • 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