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

I cant load 3rd party modules to my smart mirror.

Scheduled Pinned Locked Moved Troubleshooting
codingmodulemodulessmart mirrormagicmirrormagic mirror
8 Posts 5 Posters 2.7k 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
    Brenj
    last edited by Apr 26, 2018, 6:15 PM

    So to be clear, I am not the greatest at coding software and stuff like that. Im doing this for my senior project. I am trying to add MMM-NFL by fewieden to my smart mirror. Its just the formatting wont work and I am so frustrated with it.

                {
                        module: 'MMM-NFL',
                        header: 'NFL Scores',
                        position: 'bottom_right',
                        config: {
                                     colored true
                                     reloadInterval 1800000
                        }
    

    I tried my best with the coding it just wont work. I dont know if I accidentally edited other parts of the ‘nano config/config.js’. If anyone could help that would be greatly appreciated.

    Thank you,
    Brenj

    1 Reply Last reply Reply Quote 0
    • Y Offline
      yawns Moderator
      last edited by Apr 26, 2018, 8:19 PM

      {
      	module: 'MMM-NFL',
      	header: 'NFL Scores',
      	position: 'bottom_right',
      	config: {
      		colored: true,
      		reloadInterval: 1800000
      	}
      },
      

      You missed some commas and a }

      B 1 Reply Last reply Apr 30, 2018, 5:00 PM Reply Quote 2
      • B Offline
        Brenj @yawns
        last edited by Apr 30, 2018, 5:00 PM

        @yawns thanks so much for responding. I copied exactly what you said but it still wont work UGH.

        I think it has something to do with the ending of the coding.

              {
                            module: 'MMM-NFL',
                            header: 'NFL Scores',
                            position: 'bottom_right',
                            config: {
                                    colored true,
                                    reloadInterval 1800000
                            }
                    },
            ]
        

        };
        /*************** DO NOT EDIT THE LINE BELOW ***************/
        if (typeof module !== “undefined”) {module.exports = config;)

        I literally dont know whats wrong with this, I may just have to start the whole thing over.

        Thanks again,
        Brenj

        B 1 Reply Last reply Apr 30, 2018, 5:02 PM Reply Quote 0
        • B Offline
          broberg Project Sponsor @Brenj
          last edited by broberg Apr 30, 2018, 5:05 PM Apr 30, 2018, 5:02 PM

          @Brenj you are missing a :

          between colored and true
          And between
          Reloadinterval and 18000000

          1 Reply Last reply Reply Quote 0
          • B Offline
            Brenj
            last edited by Apr 30, 2018, 5:10 PM

            I did that and still nothing. I’ve been trying to figure out this for the past few days this is making me mad, lol. But thanks for your guys’ help. I might just start over, it would probably make it easier. Do you guys by chance know how to start the coding over? Again thanks for your help, I feel like im asking too much, sorry.

            1 Reply Last reply Reply Quote 0
            • Y Offline
              yawns Moderator
              last edited by Apr 30, 2018, 6:15 PM

              Download the sample config file: https://github.com/MichMich/MagicMirror/blob/master/config/config.js.sample

              Save it to your pi into the config folder, delete/rename the existing config.js and rename the downloaded file to config.js

              Then start over again and try adding the new module. Do not delete the rest of the content

              1 Reply Last reply Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer
                last edited by May 1, 2018, 12:18 AM

                You would probably benefit from reading this:

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

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • V Offline
                  videogame95
                  last edited by Sep 21, 2020, 11:21 PM

                  If you have config file copy config.sample
                  Start again copy the sample file to your documents and downloads.
                  Remove sample from the configuration file
                  Start again
                  Remember start with {
                  Code
                  Ends in },

                  It’s not always easy to see what’s wrong as the code you are using could be wrong .

                  as l’ve not used this module l cannot say
                  Keep trying your get their in the end
                  If it go wrong it’s easy to start again.

                  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