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.

    Help with MMM-Remote control

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    12 Posts 4 Posters 3.8k 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.
    • N Offline
      nakulbende
      last edited by

      As always, Sam - thanks so much! I did those changes, and it broke MMM-pi-hole which is stuck on loading. It also crashes magicmirror every 5 minutes or so. This happens even if I just change the address and allowed ip whitelist, comment out remote control and pistats. Any ideas?

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

        @nakulbende have no idea… all that does is say

        listen on all interfaces (ethernet, wireless, maybe pi-hole creates one?, in which case you would need to specifiy the address of the prefered interface, ethernet for example, or wifi… but JUST ONE)

        ipWhitelist:[] means allow anyone to connect on the interface and port

        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

          I’d make Sam’s changes, but change the port number - something else could be grabbing the port for some reason.

          I use 60001.

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

          1 Reply Last reply Reply Quote 0
          • StoffbeuteluweS Offline
            Stoffbeuteluwe Project Sponsor
            last edited by

            {
                        module: 'MMM-Remote-Control',
                        config: {
                      
                        }
                  },
            
            1 Reply Last reply Reply Quote 0
            • StoffbeuteluweS Offline
              Stoffbeuteluwe Project Sponsor
              last edited by

              port: 8080,
              ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:xxxxxxxxxxxxxx", "xxxxxxxxxxxxxx"],
              

              replace the xxxx with your ip address …thats it

              1 Reply Last reply Reply Quote 0
              • StoffbeuteluweS Offline
                Stoffbeuteluwe Project Sponsor
                last edited by

                you don’t need api key…

                1 Reply Last reply Reply Quote 0
                • StoffbeuteluweS Offline
                  Stoffbeuteluwe Project Sponsor
                  last edited by

                  @nakulbende

                   xxxxxxxxxxxxxx:8080/remote.html 
                  

                  ip must be the same like in ip whitelist,
                  it must be the ip of you device you want (tablet or phone ore pc) for controlling your magic mirror

                  1 Reply Last reply Reply Quote 0
                  • StoffbeuteluweS Offline
                    Stoffbeuteluwe Project Sponsor
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • StoffbeuteluweS Offline
                      Stoffbeuteluwe Project Sponsor
                      last edited by

                      
                      address: "0.0.0.0",
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        nakulbende
                        last edited by nakulbende

                        Hello all,

                        I changed my port - which seems like it might interfere. So, my config looks like:

                        address : '0.0.0.0',
                        	port: 60001,
                        	ipWhitelist: [],
                        
                        // Remote-Control
                        		{
                        			module: 'MMM-Remote-Control',
                        			//position: 'top_bar',
                        			config: {
                        				//showModuleApiMenu: true,
                                //apiKey: "85237761aaf14513a6007e9989a465a3",
                        			}
                        		},
                        

                        Here is what the output look like:

                        pi@magicmirror:~/MagicMirror $ npm start
                        
                        > magicmirror@2.10.1 start /home/pi/MagicMirror
                        > ./run-start.sh
                        
                        [11:52:56.840] [LOG]    Starting MagicMirror: v2.10.1
                        [11:52:56.869] [LOG]    Loading config ...
                        [11:52:56.908] [LOG]    Loading module helpers ...
                        [11:52:56.915] [LOG]    No helper found for module: alert.
                        [11:52:57.153] [LOG]    Initializing new module helper ...
                        [11:52:57.156] [LOG]    Module helper loaded: updatenotification
                        [11:52:57.177] [LOG]    Initializing new module helper ...
                        [11:52:57.179] [LOG]    Module helper loaded: MMM-BurnIn
                        [11:52:57.187] [LOG]    Initializing new module helper ...
                        [11:52:57.188] [LOG]    Module helper loaded: MMM-WatchDog
                        [11:52:57.453] [LOG]    Initializing new module helper ...
                        [11:52:57.456] [LOG]    Module helper loaded: MMM-Remote-Control
                        [11:52:57.461] [LOG]    No helper found for module: currentweather.
                        [11:52:57.467] [LOG]    No helper found for module: compliments.
                        [11:52:57.475] [LOG]    No helper found for module: clock.
                        [11:52:57.477] [LOG]    No helper found for module: calendar_monthly.
                        [11:52:59.221] [LOG]    Initializing new module helper ...
                        [11:52:59.223] [LOG]    Module helper loaded: calendar
                        [11:53:05.323] [LOG]    Initializing new module helper ...
                        [11:53:05.325] [LOG]    Module helper loaded: MMM-Buller
                        [11:53:06.691] [LOG]    Initializing new module helper ...
                        [11:53:06.694] [LOG]    Module helper loaded: MMM-DarkSkyForecast
                        [11:53:06.702] [LOG]    No helper found for module: MMM-DailyPokemon.
                        [11:53:06.708] [LOG]    No helper found for module: MMM-MBTA.
                        [11:53:06.714] [LOG]    No helper found for module: MMM-MBTA1.
                        [11:53:06.720] [LOG]    No helper found for module: MMM-MBTA2.
                        [11:53:08.583] [LOG]    Initializing new module helper ...
                        [11:53:08.585] [LOG]    Module helper loaded: MMM-MyCommute
                        [11:53:08.586] [LOG]    No helper found for module: MMM-pihole-stats.
                        [11:53:08.588] [LOG]    All module helpers loaded.
                        [11:53:08.591] [LOG]    Starting server on port 60001 ...
                        [11:53:08.609] [INFO]   You're using a full whitelist configuration to allow for all IPs
                        [11:53:08.624] [LOG]    Server started ...
                        [11:53:08.627] [LOG]    Connecting socket for: updatenotification
                        [11:53:08.630] [LOG]    Connecting socket for: MMM-BurnIn
                        [11:53:08.633] [LOG]    Connecting socket for: MMM-WatchDog
                        [11:53:08.635] [LOG]    Starting module helper: MMM-WatchDog
                        [11:53:08.637] [LOG]    Connecting socket for: MMM-Remote-Control
                        [11:53:08.639] [LOG]    Starting node helper for: MMM-Remote-Control
                        [11:53:08.713] [LOG]    Connecting socket for: calendar
                        [11:53:08.715] [LOG]    Starting node helper for: calendar
                        [11:53:08.717] [LOG]    Connecting socket for: MMM-Buller
                        [11:53:08.721] [LOG]    Connecting socket for: MMM-DarkSkyForecast
                        [11:53:08.722] [LOG]    ====================== Starting node_helper for module [MMM-DarkSkyForecast]
                        [11:53:08.724] [LOG]    Connecting socket for: MMM-MyCommute
                        [11:53:08.726] [LOG]    ====================== Starting node_helper for module [MMM-MyCommute]
                        [11:53:08.727] [LOG]    Sockets connected & modules started ...
                        [11:53:09.118] [LOG]    Launching application.
                        [11:53:18.043] [LOG]    WatchDog started. Maximum timeout: 25s.
                        [11:53:18.543] [LOG]    Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
                        [11:53:18.704] [LOG]    Create new calendar fetcher for url: https://calendar.google.com/calendarxxxxx
                        [11:53:18.836] [LOG]    Create new calendar fetcher for url: https://calendar.google.com/calendarxxxxxx
                        [11:53:21.289] [LOG]    Task lists:
                        [11:53:21.293] [LOG]    To read (xxxx)
                        [11:53:21.295] [LOG]    Ideas (xxxxDQzNDow)
                        [11:53:21.296] [LOG]    Life (xxxx)
                        [11:53:21.298] [LOG]    Random thoughts (xxxx)
                        [11:53:21.300] [LOG]    HomeToDo (xxxx)
                        [11:53:21.302] [LOG]    PlantBabies (xxxx)
                        [11:53:21.304] [LOG]    Shopping (xxxx)
                        
                        

                        Pi-hole stats not only fails to load, the whole setup crashes every 2 moinutes or so

                        [17764:0222/114938.526868:FATAL:memory_linux.cc(36)] Out of memory.

                        1 Reply Last reply Reply Quote 0
                        • 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