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.

    Get MMM-OpenWeatherMapForecast to show Fahrenheit instead of Celsius?

    Scheduled Pinned Locked Moved Utilities
    11 Posts 2 Posters 465 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.
    • A Offline
      Athlon @sdetweil
      last edited by

      @sdetweil

      imperial (units) worked, but you knew it would :)

      Thank you!!

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

        @Athlon you should use my MMM-Config module

        it provides a form for filling in the config options for MagicMirror and all modules found in the modules folder

        is also allows you to open the module readme to understand the options gor each module as you go along

        also provides installation of modules from the 3rd
        party list or others not yet listed

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 2 Replies Last reply Reply Quote 0
        • A Offline
          Athlon @sdetweil
          last edited by

          @sdetweil

          I’ll definitely try that - Thanks again.

          1 Reply Last reply Reply Quote 0
          • A Offline
            Athlon @sdetweil
            last edited by

            @sdetweil

            I’ve installed it - works great!

            The only thing I can’t figure out is how to access it from my desktop. I run MM on an RPi.

            I’ve tried to change the address in the Basic section, but no joy.

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

              @Athlon address:“0.0.0.0”,
              ipWhitelist:[],

              then you should be able to access MagicMirror from desktop
              and then add then extra path, per the doc

              /configure
              or
              /installer

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Athlon @sdetweil
                last edited by

                @sdetweil

                I’ve tried to get it to work from my desktop, but no joy.

                This is the code at the top of my config.js file:

                /* Config Sample
                 *
                 * For more information on how you can configure this file
                 * see https://docs.magicmirror.builders/configuration/introduction.html
                 * and https://docs.magicmirror.builders/modules/configuration.html
                 *
                 * You can use environment variables using a `config.js.template` file instead of `config.js`
                 * which will be converted to `config.js` while starting. For more information
                 * see https://docs.magicmirror.builders/configuration/introduction.html#enviromnent-variables
                 */
                let config = {
                	address: "localhost",	// Address to listen on, can be:
                							// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                							// - another specific IPv4/6 to listen on a specific interface
                							// - "0.0.0.0", "::" to listen on any interface
                							// Default, when address config is left out or empty, is "localhost"
                	port: 8080,
                	basePath: "/",	// The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
                									// you must set the sub path here. basePath must end with a /
                	ipWhitelist: [],	// Set [] to allow all IP addresses
                									// or add a specific IPv4 of 192.168.1.5 :
                									// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                									// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                									// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
                
                	useHttps: false,			// Support HTTPS or not, default "false" will use HTTP
                	httpsPrivateKey: "",	// HTTPS private key path, only require when useHttps is true
                	httpsCertificate: "",	// HTTPS Certificate path, only require when useHttps is true
                
                	language: "en",
                	locale: "en-US",   // this variable is provided as a consistent location
                			   // it is currently only used by 3rd party modules. no MagicMirror code uses this value
                			   // as we have no usage, we  have no constraints on what this field holds
                			   // see https://en.wikipedia.org/wiki/Locale_(computer_software) for the possibilities
                
                	logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
                	timeFormat: 24,
                	units: "metric",
                
                	modules: [
                

                This what I’ve tried entering in Firefox on my desktop:

                http://192.168.50.177:8080/configure
                http://192.168.50.177:9000/configure
                0.0.0.0
                0.0.0.0/configure

                When using 0.0.0.0, I notice the address changes to “https://127.0.0.1/configure”.

                In all cases, I get “Unable to Connect”.

                Here’s the code for the MMM-Config in my config.js file:

                {
                		module:"MMM-Config",
                		position:"top_right", 
                			// the QR code (if requested) will appear here
                		config:{
                                      		}
                	},
                
                

                Thank you for hanging in there with me on this. It works fine when I plug a mouse and keyboard into the RPi, by the way.

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

                  @Athlon because you have

                  address: “localhost”

                  ONLY localhost can connect

                  http://localhost:8080/configure

                  you cannot use the IP address of this machine even when ON this machine…

                  IF you used
                  address:“0.0.0.0”
                  that means listen on ALL interfaces (localhost AND network adapter, without specifying a specific address)

                  then http://localhost:8080
                  AND
                  http://192.168.50.177:8080

                  would work… if you had wifi and ethernet
                  then localhost, wifi address AND ethernet address would be acceptable

                  because you didn’t specify showQR, it defaults to false,
                  and this would have displayed a message about having to use localhost ONLY

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    Athlon @sdetweil
                    last edited by

                    @sdetweil

                    That did it - changed the address to 0.0.0.0 and used “http://192.168.50.177:8080/configure”.

                    Awesome!

                    Thank you!!

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

                      @Athlon awesome. i should have added to the above, that localhost ALWAYS means THIS machine, no matter WHERE ITS USED. phone. laptop, desktop , server, nas, pi

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      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