Read the statement by Michael Teeuw here.
remote control help needed
-
@sdetweil hi sam
how do I open app in pc browser ?
told you I was stupid lol
thanks for helping me -
sorry . think this is it
(index):1 Refused to apply style from ‘http://localhost:8080/config/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
loader.js:230 Error on loading stylesheet: config/custom.css
(anonymous) @ loader.js:230
alert.js:45 Starting module: alert
updatenotification.js:19 Starting module: updatenotification -
@tommyk the module instructions, step 5

-
@tommyk you can get rid of these noise errors
Open a terminal window, and do
cd ~/MagicMirror cd config touch custom.cssNext time you start MagicMirror you won’t get those errors reported
If you use my/the scripted install, it does this for you
-
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 -
@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.htmland from my phone
http://sams:8090/remote.htmlboth 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 -
yeah sam,
I am so confused, dont understand it
but thanks for all your help -
@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 ipWhitelistbut 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…
-
@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 javascriptI am at my wits end lol
-
@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…
-
@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 -
@tommyk ok, I just added the QR to mine,
what is the address shown under the QR code??
mine showshttp://192.168.2.106:8090/remote.htmlwhich is my server address, and port
here is those values in my config.jsaddress: "0.0.0.0", port: 8090, ipWhitelist: [],the app opens on my phone correctly
same view as on my computer -
-
@sdetweil let config = {
address: “0.0.0.0”,
port: 8080,
ipWhitelist: [], -
@tommyk and using
That url in browser on phone does not work? (Bypass qr)
But if you do
Brings up the MagicMirror page on phone?
-
@sdetweil ok tried that. still no joy
will have to try again tomorrow
thanks again
tommyk -
@tommyk no joy at what? Opening the MagicMirror page?
-
no joy at posting url in browser…
but the good news is… the app is now on my phone and jukebox is working
i was messing about on phone and config and I have no idea what i done
but I scanned the QR again and it connected.only trouble is ,now I am afraid I might mess it up again…
without your help there is no way I would have gotten this thing to work
so thank you so much sam, you are a geniusps … I have two MM setups, one in living room and one in bedroom
so now I am goin to try and put RC on other one…lol
wish me luckthanks again
tommyk -
@tommyk glad you got it working. Hopefully the other system won’t be so hard.
-
S sdetweil has marked this topic as solved
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