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.

    remote control help needed

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    26 Posts 4 Posters 152 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.
    • S Offline
      sdetweil @tommyk
      last edited by

      @tommyk you can get rid of these noise errors

      Open a terminal window, and do

      cd ~/MagicMirror 
      cd config
      touch custom.css
      

      Next time you start MagicMirror you won’t get those errors reported

      If you use my/the scripted install, it does this for you

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        tommyk @sdetweil
        last edited by

        thanks for all your help guys but it just wont work for me ,which is a shame
        because it looked like just what I was looking for, but I have tried and tried
        I uninstalled the remote control module and reinstalled it but It wont open on my phone
        for some reason, so its beginning to look like I am stuck with the keyboard.
        of course I will keep trying because it is doin my head in…it worked for 5 minutes and then
        stopped.
        I may end up starting from scratch. with a new memory card and fresh OS install
        but it wont beat me lol
        cheers

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

          @tommyk I installed RC, and used the default config…

          then started mm and used my MM address and port, from the same machine

          http://localhost:8090/remote.html
          

          and from my phone

          http://sams:8090/remote.html
          

          both worked find

          you DO have address and ipWhitelist set as “0.0.0.0”, and [], respectively, correct…

          this allows any host (phone, laptop,… system other than MM machine) to connect to the MM server
          otherwise the connection will be refused/blocked

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • T Offline
            tommyk @tommyk
            last edited by

            yeah sam,
            I am so confused, dont understand it
            but thanks for all your help

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

              @tommyk mm is meant to be a closed system on the wall…

              no one needs to access this, as its output only… SO

              the default config says ONLY apps INSIDE this SAME machine can access the MM server
              localhost is the name of the network connection (loop back)

              now, it so happens one could add controls to limit JUST ONE (or a few) machines too…
              this is the ipWhitelist

              but as we’ve seen that (output only with no external access) doesn’t work for a number of use cases.
              remote control, my mmm-config, …

              SO, changing the config
              address means listen for incoming requests on A network adapter, wifi OR ethernet…
              address=“192.168.2.106” (for my desktop ethernet address)
              but what if you have both? or more than one…
              you can ONLY put ONE address there…
              so there is a shortcut , “0.0.0.0”, means listen on ALL adapters, regardless their address…

              now… i’ll just make an example, not implying anything…

              you built this thing, and if ANYONE in your house could get in and fiddle with the MM parts, or others,
              they might take the system down or something else…
              kids that don’t know, but LOVE to explore…!!
              how can i keep THEM out…

              we I could limit access to ONLY MY phone, laptop,… then they couldn’t get in…
              so you could put your phone and laptop ip addresses in the ipWhitelist:[] list
              and then only YOU can get into the MM app system …

              the RemoteControl readme, mentions this change in the config…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              T 1 Reply Last reply Reply Quote 0
              • T Offline
                tommyk @sdetweil
                last edited by

                @sdetweil yes, I understand what you are saying sam
                but if I put 0.0.0.0 as per instructions anyone can access it, right ?
                so I dont get why I cant
                phone app says error with javascript

                I am at my wits end lol

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

                  @tommyk only anyone on your home network… not anyone in the world…

                  I don’t know on the phone app… I didnt install the app…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    tommyk @sdetweil
                    last edited by

                    @sdetweil yep right
                    there is only me using the mirror
                    so when I run MM
                    RC shows the bar code and ip address
                    when I scan code it tries to connect to app
                    it says… error when trying to to load javascript file

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

                      @tommyk ok, I just added the QR to mine,

                      what is the address shown under the QR code??
                      mine shows

                      http://192.168.2.106:8090/remote.html
                      

                      which is my server address, and port
                      here is those values in my config.js

                          address: "0.0.0.0",
                          port: 8090,
                          ipWhitelist: [],
                      

                      the app opens on my phone correctly
                      same view as on my computer

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      T 2 Replies Last reply Reply Quote 0
                      • T Offline
                        tommyk @sdetweil
                        last edited by

                        http://192.168.1.172:8080/remote.html

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

                          @sdetweil let config = {
                          address: “0.0.0.0”,
                          port: 8080,
                          ipWhitelist: [],

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

                            @tommyk and using

                            That url in browser on phone does not work? (Bypass qr)

                            But if you do

                            http://192.168.1.172:8080

                            Brings up the MagicMirror page on phone?

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            T 1 Reply Last reply Reply Quote 0
                            • T Offline
                              tommyk @sdetweil
                              last edited by

                              @sdetweil ok tried that. still no joy
                              will have to try again tomorrow
                              thanks again
                              tommyk

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

                                @tommyk no joy at what? Opening the MagicMirror page?

                                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
                                • 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