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 customising my mirror

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 5 Posters 4.9k 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @PhilsterM9
      last edited by

      @PhilsterM9

      I was just like you a few weeks ago. I didn’t know a thing about this, or coding. A complete noob, as they say. My suggestion, because it helped me, is, don’t do your editing in the terminal. Do it in the graphical user interface (GUI). Navigate your desktop as you would on a PC with Windows or a Mac’s Finder.

      Click on File Manager (the folder at the top left of your desktop, usually)
      Double click the MagicMirror folder
      Double click the config folder
      Right click the config.js.sample file - select Copy
      Right click again somewhere else in that same window - select Paste
      Rename the file to config.js and click the Rename button
      The new config.js file that you just pasted is now your working config file for MagicMirror
      Double click it and it should open in a text editor.

      This is one of the places where you will customize your MM. It’s actually good enough to run your MM, although it will only show some of the modules but you’ll be encouraged by the fact that it is at least working. Every module folder has a ReadMe file that instructs you on what to add to your config.js file to get that module up and running.

      I think that’s good for now. If you want to run MM right now to see how your new config.js is working you will have to go back to the terminal. Do this:

      Open a new terminal
      type cd MagicMirror
      then type npm start

      Sit back and watch the magic happen. When you calm down after a minute or two of watching your MM actually working and you want to quit MM, press the Option key on your keyboard. Select QUIT from File menu that appears, top left of your screen

      Create a working config
      How to add modules

      P 1 Reply Last reply Reply Quote 1
      • P Offline
        PhilsterM9 @Mykle1
        last edited by

        @Mykle1 Hi there, thanks for the time you took to reply.

        I did as you have written in your own instructions and when I try to configure my mirror through the read me file, it still won’t work. I am not sure what is happening. I am trying to start off by adding an analog clock instead of digital but it will not let me for the life of me. The trouble is that I know that I can change the file and make it work because I can tried changing the clock to sit on the right side instead of the left and it works.

        I am a noob but this is really frustrating me. Thanks for helping.

        Mykle1M 1 Reply Last reply Reply Quote 0
        • yawnsY Offline
          yawns Moderator
          last edited by

          Then please post the content of your config.js file, however please remove passwords, private calendar links and apikeys

          1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @PhilsterM9
            last edited by

            @PhilsterM9 said in Help customising my mirror:

            The trouble is that I know that I can change the file and make it work because I can tried changing the clock to sit on the right side instead of the left and it works.

            The simplest answer would be to add this under “position” in the clock section of your config.js file. It should look like this now:

            module: ‘clock’,
            position: ‘top_left’
            displayType: “digital”, // options: digital, analog, both

            Change the displayType to “analog” “digital” or “both”
            Save your config.js file and restart MM

            Create a working config
            How to add modules

            strawberry 3.141S 1 Reply Last reply Reply Quote -1
            • strawberry 3.141S Offline
              strawberry 3.141 Project Sponsor Module Developer @Mykle1
              last edited by

              @Mykle1 that answer is not correct, module config options have to be in the object config

              module: 'clock',
              position: 'top_left',
              config: {
                displayType: 'digital'
              }
              

              Please create a github issue if you need help, so I can keep track

              Mykle1M 1 Reply Last reply Reply Quote 1
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @strawberry 3.141
                last edited by

                @strawberry-3.141 said in Help customising my mirror:

                @Mykle1 that answer is not correct, module config options have to be in the object config

                Yup, you’re right. In my haste to answer, because I was pressed for time this morning, I mistakenly omitted that. My bad. Thanks for catching that.

                Create a working config
                How to add modules

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