• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 268.2k Views 30 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 @Dinschal
    last edited by Nov 14, 2021, 3:58 PM

    @dinschal yes,… then u have to press save on the form…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    D 2 Replies Last reply Nov 14, 2021, 4:03 PM Reply Quote 0
    • D Offline
      Dinschal @sdetweil
      last edited by Nov 14, 2021, 4:03 PM

      @sdetweil i send it

      1 Reply Last reply Reply Quote 0
      • D Offline
        Dinschal @sdetweil
        last edited by Nov 14, 2021, 4:56 PM

        @sdetweil hey sam there is a update for your module?

        S 1 Reply Last reply Nov 14, 2021, 5:32 PM Reply Quote 0
        • S Offline
          sdetweil @Dinschal
          last edited by Nov 14, 2021, 5:32 PM

          @dinschal yes… see my email…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Nov 14, 2021, 5:36 PM Reply Quote 0
          • D Offline
            Dinschal @sdetweil
            last edited by Nov 14, 2021, 5:36 PM

            @sdetweil a thanks… yes everything is working now…

            S 1 Reply Last reply Nov 14, 2021, 5:36 PM Reply Quote 0
            • S Offline
              sdetweil @Dinschal
              last edited by Nov 14, 2021, 5:36 PM

              @dinschal thanks for your help!!..

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Nov 14, 2021, 5:39 PM Reply Quote 0
              • D Offline
                Dinschal @sdetweil
                last edited by Nov 14, 2021, 5:39 PM

                @sdetweil thanks for your patience ;)

                next step is to try the NewPIR with the PIRSensor ;) and then create a 10 min presentation for students 🤮🤮🤮🤮

                1 Reply Last reply Reply Quote 1
                • J Offline
                  josh45631
                  last edited by Nov 28, 2021, 2:25 AM

                  Is there any way you could break down the setup even more for dummies like myself? I can’t seem to access the configuration form in browser. Do I have to use a browser on the raspberry pi? Can it be a computer on my local network? When I try to access http://192.168.2.13:8300/modules/MMM-Config/review from my PC all I get is “Cannot GET /modules/MMM-Config/review”
                  Same with
                  http://localhost:8300/modules/MMM-Config/review
                  from the pi itself
                  What am I doing wrong?

                  S 1 Reply Last reply Nov 28, 2021, 3:01 AM Reply Quote 0
                  • S Offline
                    sdetweil @josh45631
                    last edited by sdetweil Nov 28, 2021, 3:24 AM Nov 28, 2021, 3:01 AM

                    @josh45631 for access from a system other than the machine running mm, the mm config.js has to allow it

                    address:"0.0.0.0",
                    ipWhitelist:[],
                    

                    by default the config is set to address:“localhost”
                    which means ONLY apps inside the same machine can connect

                    do you have showQR:true, in the module config section?
                    if so does the qr show on the mm screen?
                    can u show me the module entry from config.js

                    also when u start mm, the module puts out a couple messages at startup

                    so look at the messages where u start mm
                    either by npm start or pm2
                    if pm2, then the command
                    pm2 logs --lines=50

                    also the url to the form is

                    http://mm_address:mm_port/modules/MMM-Config/review

                    mm_port is 8080 by default not 8300

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    J 1 Reply Last reply Nov 28, 2021, 3:30 AM Reply Quote 0
                    • J Offline
                      josh45631 @sdetweil
                      last edited by Nov 28, 2021, 3:30 AM

                      @sdetweil I did have showQR set to true in the module config, but the QR code wasn’s showing up.

                      After changing the address in the mm config from localhost to 0.0.0.0 the QR code is now appearing on the magic mirror.

                      Now when I try to access the form from my pc I get “This device is not allowed to access your mirror.
                      Please check your config.js or config.js.sample to change this.”
                      and the terminal on the pi says “Access denied to IP address: 192.168.2.5”

                      I tried to add it to the ipWhitelist, but I don’t think I have the proper format because it’s not working?

                      Module entry is:

                      modules: [
                                     {
                                             module:"MMM-Config",
                                             position:"top_right",  // the QR code (if requested) will appear here
                                             config:{
                      
                                     }
                                     },
                                     {
                                             module: "alert",
                                     },
                                     {
                                             module: "updatenotification",
                                             position: "top_bar"
                                     },
                                     {
                                             module: "clock",
                                             position: "top_left"
                                     },
                                     {
                                             module: "calendar",
                                             header: "US Holidays",
                                             position: "top_left",
                                             config: {
                                                     calendars: [
                                                             {
                                                                     symbol: "calendar-check",
                                                                     url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"
                                                             }
                                                     ]
                                             }
                      

                      etc

                      This is how I tried to whitelist my computers ip

                          ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1","192.168.2.5"],    // Set [] to allow all IP addresses
                      
                      

                      I appreciate your help very much!

                      S 1 Reply Last reply Nov 28, 2021, 3:34 AM Reply Quote 0
                      • 1
                      • 2
                      • 17
                      • 18
                      • 19
                      • 20
                      • 21
                      • 29
                      • 30
                      • 19 / 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