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.

    Newbie question OpenHab and MagicMirror

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 4 Posters 850 Views 4 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.
    • V Offline
      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 Offline
        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

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • BKeyportB Offline
          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 Offline
            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 Offline
              sdetweil @razserv2010
              last edited by

              @razserv2010 show the top of config.js

              address:
              ipWhitelist:

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                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 Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy