MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. roaminMirror
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Groups 0

    roaminMirror

    @roaminMirror

    0
    Reputation
    1
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    roaminMirror Unfollow Follow

    Latest posts made by roaminMirror

    • RE: Troubleshooting Positions

      That was what was needed! Thank you for helping out with that!

      posted in Troubleshooting
      R
      roaminMirror
    • RE: Troubleshooting Positions

      @sdetweil

      Yes I am running on windows for the time being until I am ready to move it to a RPI.

      The positions.js file is

      const modulePositions=["fullscreen_below"]
      

      If I attempt to change it and then start the server with npm run start it will revert back to the above code.

      posted in Troubleshooting
      R
      roaminMirror
    • RE: Troubleshooting Positions

      I haven’t made any changes to the index.html file. The config.js is unchanged as well as the positions.js file.

      <!doctype html>
      <html>
        <head>
          <title>MagicMirror²</title>
          <meta name="google" content="notranslate" />
          <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
      
          <meta name="apple-mobile-web-app-capable" content="yes" />
          <meta name="apple-mobile-web-app-status-bar-style" content="black" />
          <meta name="format-detection" content="telephone=no" />
          <meta name="mobile-web-app-capable" content="yes" />
      
          <link rel="icon" href="data:;base64,iVBORw0KGgo=" />
          <link rel="stylesheet" type="text/css" href="css/main.css" />
          <link rel="stylesheet" type="text/css" href="fonts/roboto.css" />
          <link rel="stylesheet" type="text/css" href="vendor/node_modules/animate.css/animate.min.css" />
          <!-- custom.css is loaded by the loader.js to make sure it's loaded after the module css files. -->
      
          <script type="text/javascript">
            window.mmVersion = "#VERSION#";
          </script>
        </head>
        <body>
          <div class="region fullscreen below"><div class="container"></div></div>
          <div class="region top bar">
            <div class="container"></div>
            <div class="top_bar"><div class="container"></div></div>
            <div class="region top center"><div class="container"><clock /></div></div>
            <div class="region top right"><div class="container"></div></div>
          </div>
          <div class="region upper third"><div class="container"></div></div>
          <div class="region middle center"><div class="container"></div></div>
          <div class="region lower third">
            <div class="container"><br /></div>
          </div>
          <div class="region bottom bar">
            <div class="container"></div>
            <div class="region bottom left"><div class="container"></div></div>
            <div class="region bottom center"><div class="container"></div></div>
            <div class="region bottom right"><div class="container"></div></div>
          </div>
          <div class="region fullscreen above"><div class="container"></div></div>
          <script type="text/javascript" src="socket.io/socket.io.js"></script>
          <script type="text/javascript" src="vendor/node_modules/nunjucks/browser/nunjucks.min.js"></script>
          <script type="text/javascript" src="js/defaults.js"></script>
          <script type="text/javascript" src="#CONFIG_FILE#"></script>
          <script type="text/javascript" src="vendor/vendor.js"></script>
          <script type="text/javascript" src="modules/default/defaultmodules.js"></script>
          <script type="text/javascript" src="modules/default/utils.js"></script>
          <script type="text/javascript" src="js/logger.js"></script>
          <script type="text/javascript" src="translations/translations.js"></script>
          <script type="text/javascript" src="js/translator.js"></script>
          <script type="text/javascript" src="js/class.js"></script>
          <script type="text/javascript" src="js/module.js"></script>
          <script type="text/javascript" src="js/loader.js"></script>
          <script type="text/javascript" src="js/socketclient.js"></script>
          <script type="text/javascript" src="js/animateCSS.js"></script>
          <script type="text/javascript" src="js/positions.js"></script>
          <script type="text/javascript" src="js/main.js"></script>
        </body>
      </html>
      
      ![positions.png](/assets/uploads/files/1735328208567-positions.png) 
      
      
      posted in Troubleshooting
      R
      roaminMirror
    • RE: Troubleshooting Positions

      @roaminMirror Thank you for your reply. What are the 5 files that I will need to edit to have the positions be recoginized and allowed in the positions.js file? I found that editing it manually it will, as you mentioned, recreate itself in the original manner. I am assuming it is gathering it’s array from another location butI am not sure what file is creating that positions.js file with this const modulePositions=[“fullscreen_below”]e with the array .

      The only position that is working is Fullscreen_Below for some reason. Sorry I am just not understanding.

      posted in Troubleshooting
      R
      roaminMirror
    • Troubleshooting Positions

      I am very much a newbie at this. I have been attempting just to start with defaults. I have dug and dug through the configuration files and JS and I am missing something. When I attempt to NPM Run start I get an error message for every position listed in the defaultModules except for the position “fullscreen_below”. When I am running the test I get;

      [ERROR] This module configuration contains errors:
      {
      “module”: “updatenotification”,
      “position”: “top_bar”
      }
      position: must be equal to one of the allowed values

      “fullscreen_below”

      I am not able to change the array in the positions.js file as it’s updated by a config file. What am I missing? Any help with this would be great, as I am able to mess with the different modules to learn as I go as long as I am using that single position.

      These are the positions I am attempting to use but failing> [“top_bar”, “top_left”, “top_center”, “top_right”, “upper_third”, “middle_center”, “lower_third”, “bottom_left”, “bottom_center”, “bottom_right”, “bottom_bar”, “fullscreen_above”, “fullscreen_below”];

      All of which are defined by class in the CSS properly, as far as I can tell.

      posted in Troubleshooting
      R
      roaminMirror