• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

trouble with MMM-remote-control

Scheduled Pinned Locked Moved Solved Troubleshooting
14 Posts 2 Posters 2.8k Views 2 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.
  • T Offline
    thehoopjr @sdetweil
    last edited by Mar 30, 2020, 6:45 PM

    @sdetweil All of that matches what I have in my config file. The check is only giving me errors in the remote module. it starts at line 90 and finishes at line 99.

    {
    module: "MMM-Remote-Control",					
    , position: "bottom_bar",
    config: {
    customCommand: {},  // Optional, See "Using Custom Commands" below
    customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
    showModuleApiMenu: true, // Optional, Enable the Module Controls menu
    apiKey: "",         // Optional, See API/README.md for details
    	}
    },
    
    pi@jakemagicmirror:~/MagicMirror $ npm run config:check
    
    > magicmirror@2.10.1 config:check /home/pi/MagicMirror
    > node tests/configs/check_config.js
    
    Checking file...  /home/pi/MagicMirror/config/config.js
    Line 91 col 37 Extra comma. (it breaks older versions of IE)
    Line 92 col 9 Expected '}' to match '{' from line 90 and instead saw ','.
    Line 92 col 11 Expected ']' to match '[' from line 33 and instead saw 'position'.
    Line 92 col 19 Expected '}' to match '{' from line 11 and instead saw ':'.
    Line 92 col 20 Missing semicolon.
    Line 93 col 9 Expected an assignment or function call and instead saw an expression.
    Line 93 col 15 Missing semicolon.
    Line 93 col 9 Unrecoverable syntax error. (87% scanned).
    

    do you think you could point out any errors in there?
    thanks

    S 1 Reply Last reply Mar 30, 2020, 6:48 PM Reply Quote 0
    • S Offline
      sdetweil @thehoopjr
      last edited by Mar 30, 2020, 6:48 PM

      @thehoopjr said in trouble with MMM-remote-control:

      Line 91 col 37 Extra comma. (it breaks older versions of IE)

      module: "MMM-Remote-Control",					
      , position: "bottom_bar",
      

      two commas in a row
      i hate his doc to uncomment that position line, with the leading comma

          module: 'MMM-Remote-Control'   // < --- notice this DOES NOT have the comma
          // uncomment the following line to show the URL of the remote control on the mirror
          // , position: 'bottom_left'   //< ---------- there
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Mar 30, 2020, 6:50 PM Reply Quote 0
      • T Offline
        thehoopjr @sdetweil
        last edited by Mar 30, 2020, 6:50 PM

        @sdetweil so I should remove that leading comma and it should fix it?

        S 1 Reply Last reply Mar 30, 2020, 6:50 PM Reply Quote 0
        • S Offline
          sdetweil @thehoopjr
          last edited by Mar 30, 2020, 6:50 PM

          @thehoopjr leading or prior line trailing…
          just have 1… then try it…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          T 1 Reply Last reply Mar 30, 2020, 7:01 PM Reply Quote 0
          • T Offline
            thehoopjr @sdetweil
            last edited by Mar 30, 2020, 7:01 PM

            @sdetweil that worked! thank you. the mirror started but all of my modules say they’re loading and the webpage won’t load. they’ve been stuck on loading for 10 minutes.
            any ideas?

            S 1 Reply Last reply Mar 30, 2020, 7:04 PM Reply Quote 0
            • S Offline
              sdetweil @thehoopjr
              last edited by Mar 30, 2020, 7:04 PM

              @thehoopjr open the developers window, ctrl-shift-i, select the console tab, scroll up to find any errors (usually red text

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              T 1 Reply Last reply Mar 30, 2020, 7:07 PM Reply Quote 0
              • T Offline
                thehoopjr @sdetweil
                last edited by Mar 30, 2020, 7:07 PM

                @sdetweil no red text and no errors as far as I know. Anything else?

                S 1 Reply Last reply Mar 30, 2020, 7:17 PM Reply Quote 0
                • S Offline
                  sdetweil @thehoopjr
                  last edited by Mar 30, 2020, 7:17 PM

                  @thehoopjr how are u startung MM?? use the terminal window

                  npm start dev
                  ctrl-c to close it

                  messages presented in terminal window too

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  T 1 Reply Last reply Mar 30, 2020, 11:43 PM Reply Quote 0
                  • T Offline
                    thehoopjr @sdetweil
                    last edited by Mar 30, 2020, 11:43 PM

                    @sdetweil It worked! i’m up and running. thank you

                    S 1 Reply Last reply Mar 31, 2020, 12:29 AM Reply Quote 0
                    • S Offline
                      sdetweil @thehoopjr
                      last edited by Mar 31, 2020, 12:29 AM

                      @thehoopjr cool. What was the problem?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        9/14
                        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