MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Newbie question OpenHab and MagicMirror

    Troubleshooting
    4
    6
    260
    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.
    • V
      Vauxdvihl last edited by

      Hi friends,
      i have installed Openhab on the same system from the magic mirror (raspi).
      Now, trying to start the mm with “pm2 start 0” from the home directory or “npm start” from the MagicMirrror folder, the pi opens the Openhab Web

      Can please anybody help me?
      Sry for the newbie question?
      Thanks a lot

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

        @Vauxdvihl change the mm port number in config J’s

        both products are trying to use port 8080.

        change mm to 8090

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • BKeyport
          BKeyport Module Developer last edited by

          Really, out of habit, I move all my ‘web based’ software off the 80/8080 ports completely. Start at 60000 and work my way up from there.

          The "E" in "Javascript" stands for "Easy"

          1 Reply Last reply Reply Quote 0
          • R
            razserv2010 last edited by

            I also have the same problem that it opens openhab web even though I changed the port of MM2
            Does anyone have a solution for this?

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

              @razserv2010 show the top of config.js

              address:
              ipWhitelist:

              Sam

              Create a working config
              How to add modules

              R 1 Reply Last reply Reply Quote 0
              • R
                razserv2010 @sdetweil last edited by

                @sdetweil

                let config = {
                        address: "0.0.0.0",     // 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: 8888,
                        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
                
                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy