MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

MMM-Remote-Control



  • I’m new to magic mirror and am having a problem setting up the remote control module. I tried to whitelist certain IPs and got a message saying that i didn’t have permission to access the page, so i changed my whitelist to [ ]. Now instead, i get a message saying Cannot GET /remote.htm

    I looked in the folder for MMMRC and i can see remote.htm in there. I’ve also rebooted MM and the Pi, but with no luck.

    Any suggestions on what i should try next?



  • @termeric isn’t it remote.html instead of remote.htm?!



  • it is remote.html, that’s what i had in the browser and i verified in the folder, i mistyped it in my post.


  • Moderator

    @termeric Please double check, that you did not make any other typo, since the original error (No permission) indicates that you tried to access the correct site. Just go that site again, it should either show No permission ... again, or you should see the remote control page. If you get an error Cannot GET ... then you have the wrong URL (also check port number and first part of URL again).



  • @Jopyth I double checked everything and have used the same URL the entire time - http://10.0.0.251:8080/remote.html

    I am only making changes to the ipwhitelist so if i have my config file like this, i get “this device is not allowed to access your mirror…”

    var config = {
    	port: 8080,
    	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ff:10.0.0.68"], // Set [] to allow all IP addresses. 
    
    	language: "en",
    	timeFormat: 12,
    	units: "Imperial",
    

    If i change the IPwhitelist to the following, i get “cannot GET /remote.html”

    var config = {
    	port: 8080,
    	ipWhitelist: [], // Set [] to allow all IP addresses. 
    
    	language: "en",
    	timeFormat: 12,
    	units: "Imperial",
    

  • Moderator

    @termeric That is interesting. But you have added the module to your config.js as described here? Are there any errors when you start up the mirror?



  • @Jopyth I misunderstood the installation instructions. i ran the quick install and assumed that everything would be done, including adding the module code to config.js. i just added it, and now it appears that the remote is working correctly. thank you for working through this with me.



  • I have recently installed this module and I love it. Suddenly ran into an issue where no modules load when looking at the edit view, shows no module loaded. What did I do wrong?