• 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.

Modules won't show up on mirror?

Scheduled Pinned Locked Moved Troubleshooting
19 Posts 5 Posters 8.2k 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.
  • B Offline
    bmbaugh
    last edited by Dec 20, 2017, 7:55 PM

    I am completely new to this, and am building a magic mirror for my girlfriend for Christmas. I have everything done, and have even put Alexa on my pi, but for whatever reason I am having trouble loading the modules and the only ones that are working are the ones that are turned on by default, the messages, holidays, and news feed at the bottom. How do I turn on the other ones, such as clock? I tried adding it to the array in config.js but nothing showed up, any ideas?

    B M 2 Replies Last reply Dec 20, 2017, 8:08 PM Reply Quote 0
    • B Offline
      broberg Project Sponsor @bmbaugh
      last edited by Dec 20, 2017, 8:08 PM

      @bmbaugh

      Post your config file (without personal api-keys etc) complete here so people can check it to start with. (use the code button in the forum for your config file) the “</>” symbol.

      B 1 Reply Last reply Dec 26, 2017, 7:19 PM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @bmbaugh
        last edited by Dec 20, 2017, 9:04 PM

        @bmbaugh

        https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners

        Create a working config
        How to add modules

        H 1 Reply Last reply Dec 25, 2017, 10:23 PM Reply Quote 1
        • H Offline
          homebrew @Mykle1
          last edited by Dec 25, 2017, 10:23 PM

          @Mykle1
          I tried following this and got a config.js error
          I copied my code into Esprima syntax validator and it is giving me an “Unexpected token” error for line 3, which denotes the position specification. Any ideas?

          M 1 Reply Last reply Dec 25, 2017, 11:29 PM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @homebrew
            last edited by Dec 25, 2017, 11:29 PM

            @homebrew

            I wouldn’t know without seeing it, but you’re missing the beginning of your config.js if position: 'top_left', is line 3.

            var config = {
            	address: "localhost", 
            	port: 8080,
            	ipWhitelist: [],
            
            	language: "en",
            	timeFormat: 12,
            	units: "imperial",
            
            	modules: [
            		{
            		    module: 'MMM-voice',
            		    position: 'bottom_bar',
            		    config: {
            			microphone: 2,
            		    }
            		},
            

            Create a working config
            How to add modules

            H 1 Reply Last reply Dec 26, 2017, 5:14 PM Reply Quote 1
            • D Offline
              doubleT Module Developer
              last edited by Dec 26, 2017, 1:39 AM

              @bmbaugh said in Modules won’t show up on mirror?:

              I tried adding it to the array in config.js but nothing showed up, any ideas?

              Every bracket closed correctly? Commas used correctly? I’d also like to see the config.js.
              You can also start the software with npm start dev to have a look at the console, often it tells you what is wrong.

              1 Reply Last reply Reply Quote 0
              • H Offline
                homebrew @Mykle1
                last edited by Dec 26, 2017, 5:14 PM

                @Mykle1

                For some reason when I edited the actual config.js in text editor it worked! (as opposed to editing the document within Terminal)

                Thank you!!

                M 1 Reply Last reply Dec 26, 2017, 11:04 PM Reply Quote 1
                • D Offline
                  doubleT Module Developer
                  last edited by Dec 26, 2017, 5:30 PM

                  nano? In the terminal, you have to use “sudo nano” to get rights to write to the file.

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bmbaugh @broberg
                    last edited by Dec 26, 2017, 7:19 PM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      doubleT Module Developer
                      last edited by Dec 26, 2017, 7:25 PM

                      Can you edit that and put the tags for code around it?

                      B 1 Reply Last reply Dec 26, 2017, 7:34 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        7/19
                        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