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.

    NOOB requesting some help...

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 4 Posters 2.4k 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.
    • T Offline
      TaylorTech22
      last edited by

      So I got everything running fine. I can enter config/config.js. My question is probably quite simple. How do I edit the “default” modules, or any of them for that matter. In config/config.js it just says what module it is and where its located. But no way to enter that specific config file that I know of. I know there are many variables and configurations that can be changed, just don’t know how to get into the module to change it.
      I was able to change the weather API key and location, but that was in the main /magicmirror/config/config.js file. I tried /magicmirror/modules/ but after running ls theres no “clock” module I can enter config into. I’m sure its something easy. But I’m a supernoob with this. Thanks!

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

        @TaylorTech22 all config has to go into the same file as you put the api key

        when you open that file and the only change was the api key, then you will find the clock module in there as well. If not you can add it manually

        {
          module: 'clock',
          position: 'top_right',
          config: {
            //config options go here
          }
        }
        

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

        T 2 Replies Last reply Reply Quote 0
        • P Offline
          pingywon
          last edited by

          inside the modules dir there is a “default” dir. ;)

          that is where they are all at.

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by A Former User

            in ‘MM’, configuration of all modules exists in just one file, config/config.js. You should put all the configs of modules into that file.

            1 Reply Last reply Reply Quote 2
            • T Offline
              TaylorTech22 @strawberry 3.141
              last edited by

              @strawberry-3.141 I entered the API key into the weather module. Is there a different place to add it so it effects all modules?

              1 Reply Last reply Reply Quote 0
              • T Offline
                TaylorTech22 @strawberry 3.141
                last edited by

                @strawberry-3.141 so if I want to change timezone or any other config, I need to write my own script for that particular config and place it in the master config/config.js file. I think I get it now. Thank you. Now let’s just hope I don’t get too many errors.

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