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 400.9k 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.
    • S Offline
      sdetweil @josh45631
      last edited by

      @josh45631 I had a typo which I corrected

      http://192.168.2.13:8080/modules/MM-Config/review
      

      notice the module name is MMM-Config

      3 M’s

      the content says the module is running

      if you use your phone on the qr does the page show?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @mumblebaj don’t use the final url… use the review url as provided in the doc
        as the module discovers a free port for communication between the form and the module.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        mumblebajM 1 Reply Last reply Reply Quote 0
        • J Offline
          josh45631 @sdetweil
          last edited by

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

          notice the module name is MMM-Config
          3 M’s

          :man_facepalming:
          There it is. I knew it would come down to something simple! I still can’t get to the form page by scanning the QR code, but I’m ok with that for now because I can access it via browser!

          Thank you so much!

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

            @josh45631 what are you using to scan the qr?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 1 Reply Last reply Reply Quote 0
            • mumblebajM Offline
              mumblebaj Module Developer @sdetweil
              last edited by

              @sdetweil Which URL in the doc? From the screenshots? The review URL did not work for me. The one I posted above did. The QR code gave me a different URL which did not work for me but guess it is because of my install on my Windows laptop.

              Check out my modules at: https://github.com/mumblebaj?tab=repositories
              Check my blog-post: https://mumblebaj.xyz/
              Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

              mumblebajM S 2 Replies Last reply Reply Quote 0
              • mumblebajM Offline
                mumblebaj Module Developer @mumblebaj
                last edited by

                @sdetweil I found the URL bit in the doc.
                http://machine_name:MM_Port/modules/MMM-Config/review
                Did not work for me when I tried it though.

                Check out my modules at: https://github.com/mumblebaj?tab=repositories
                Check my blog-post: https://mumblebaj.xyz/
                Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

                  @mumblebaj u did change the symbolic names to actual, right?

                  machine_name
                  MM_port

                  right?

                  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 @mumblebaj
                    last edited by sdetweil

                    @mumblebaj windows should have worked

                    can u tell me what the url was?

                    when u configure mm for address:“0.0.0.0”
                    it’s not something I can connect to

                    so I get the machine hostname

                    I guess I need to figure out an IP address…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    mumblebajM 1 Reply Last reply Reply Quote 0
                    • mumblebajM Offline
                      mumblebaj Module Developer @sdetweil
                      last edited by mumblebaj

                      @sdetweil The QR code gave me machine name. But I figured that could not be correct. When I used the review URL earlier it did not work, When I started my Ubuntu Instance now and tried review with this URL:
                      http://localhost:8080/modules/MMM-Config/review
                      it worked fine and resolved to the following:
                      http://localhost:8080/modules/MMM-Config/config.html?port=8300
                      which I guess is what you were referring to?

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                      Check my blog-post: https://mumblebaj.xyz/
                      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                      S 2 Replies Last reply Reply Quote 0
                      • S Offline
                        sdetweil @mumblebaj
                        last edited by

                        @mumblebaj yes but localhost will only work w browser inside same machine as mm

                        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 @mumblebaj
                          last edited by

                          @mumblebaj typically dhcp addresses now register the hostname in the router DNS server.

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            josh45631 @sdetweil
                            last edited by

                            @sdetweil I am using my cell phone connected to my wifi network. When I scan the code it sends me to

                            http://raspberrypi:8080/modules/MMM-Config/review
                            

                            When I replace “raspberrypi” with the actual ip of the pi, it works.

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

                              @josh45631 yes
                              I ‘assumed’ that name will work… doesn’t…

                              will fix, thx

                              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
                                last edited by sdetweil

                                @josh45631 @mumblebaj do a git pull in the module folder, and then restart mm and try the qr image again

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                S 1 Reply Last reply Reply Quote 0
                                • L Offline
                                  louise
                                  last edited by

                                  When I try to use your MMM-config I get this error…

                                  pi@raspberrypi:~ $ ~/MagicMirror/modules
                                  bash: /home/pi/MagicMirror/modules: No such file or directory

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

                                    @louise explain a little more… where are u typing that info ?

                                    where is your MagicMirror installed?

                                    read the link in my signature How to add modules (I didn’t write it)

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    L 2 Replies Last reply Reply Quote 0
                                    • L Offline
                                      louise @sdetweil
                                      last edited by

                                      @sdetweil I am soooooo new at this. I had it working once by someone else, card got corrupted and the person building it no longer available. So I’m trying to rebuild on my own. Not a coder, programmer or anything else.

                                      I’ve tried the modules, got the calendar and weather in the config.js but it doesn’t run.

                                      So what do you need me to show you?

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

                                        @sdetweil This is what I get when trying to run Magic Mirror from npm start

                                        JavaScript error occurred in the main process
                                        Uncaught Exception:
                                        Error: Cannot find module ‘/home/pi/MagicMirror/js/…/modules/default/defaultmodules’
                                        Require stack:

                                        • /home/pi/MagicMirror/js/app.js
                                        • /home/pi/MagicMirror/js/electron.js
                                        • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
                                        • at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
                                          at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
                                          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
                                          at Module._load (internal/modules/cjs/loader.js:732:27)
                                          at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
                                          at Module.require (internal/modules/cjs/loader.js:959:19)
                                          at require (internal/modules/cjs/helpers.js:88:18)
                                          at Object. (/home/pi/MagicMirror/js/app.js:16:24)
                                          at Module._compile (internal/modules/cjs/loader.js:1078:30)
                                          at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10)
                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @louise
                                          last edited by

                                          @louise so, read the link… it will help A LOT…

                                          from a command line, (terminal window) you need to change folders

                                          cd new_folder_name

                                          just like on windows
                                          (except here the names are case sensitive)

                                          when I said in doc

                                          Clone this repo into ~/MagicMirror/modules directory.
                                          

                                          that means change directory (cd command)

                                          cd ~/MagicMirror/modules
                                          

                                          u left off the cd

                                          but the error implies you have not installed MagicMirror yet…

                                          I have a script for that
                                          see
                                          https://github.com/sdetweil/MagicMirror_scripts

                                          its just a cut/paste of one line

                                          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 @louise
                                            last edited by

                                            @louise errors. looks like you didn’t do npm install after git clone of MagicMirror repo …

                                            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
                                            • 2
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 11 / 15
                                            • 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