MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

How to install a module?

  • I really want to replace my openwatherapp to weatherunderground and there are several modules that would allow me to do so. Due to my lack of coding background, I have no idea how to start it. I’ve copied the coding MMM-wunderground module to my config.js and it messed up my dashboard making the entire thing blank.

                module: 'MMM-WunderGround',
                position: 'top_right',
                config: {
                    apikey: 'xxx',
                    pws: 'locid:KDExxx;loctype:1',
                    fctext: '1',
                    fcdaycount: "5",
                    fcdaystart: "0",
                    hourly: '1',
                    hourlyinterval: "3",
                    hourlycount: "2"

    Perhaps, there was more to add than just editing config.js?

    I hopped over to MMM-Wunderground GitHub page and see that there are several files attached to the module. My question is, do I download the entire packet and dropped them in their respective locations or is there a quicker way to do it?

    Also, does anyone know how to fix my “currenttime” ? It’s off by 3 hours. I went to file “clock” location and could not see a place where I can enter “San Francisco, CA” time. I’m level 1 at coding if you can’t tell.

    Note from admin: Please use Markdown on code snippets so it is easier to read!

  • Moderator

    Each module should have installation instructions. If you can’t find them, contact the author of the module for them. They should be posted.

    As for the clock, that is dependent on your Raspberry Pi, not MM. So if the clock is off, that means you haven’t configured the Raspberry Pi for the correct timezone and city. Please read the documentation on the 'raspi-config' command on how to configure your Raspberry Pi properly.

  • @KirAsh4106 Thanks! I successfully updated my current time.

    @mattlugar As for the module piece, I’m still having a hard time. I went to the creator’s gihub page and saw their config file. My questions are:

    1. Do I replace my current weather module or add it as a new module?
    2. I see that there are other files attached such as the .CSS file and wuforecast.js. Where do I place those? Do I download them and add them to the module folder?

    I really want to thank you for your time. I’m really grateful.


  • Module Developer

    You should install all the files as they appear on the github page. Also the translations dir+content.

    Could you post logs of your mirror trying to start? See Troubleshooting for details on how to get logs etc.

    Also, just in case: MMM-WunderGround and wuforecast are not the same thing…

  • @RedNax First of all, thank you so much for helping.

    I guess my question is after I download and extract the zip files. Do I invididually drag each file into their respective location and then configure my config.js or is there another way to do this?


  • Module Developer

    You should extract everything that’s in the zipfile as-is to the intended module destination ie:

    ./MagicMirror/modules/WWW-WunderGround in case of this module…

    It’d be easier if you’d do a git clone in the modules directory…

    pi@MagicMirrorPi:~/MagicMirror/modules/ $ git clone

    which will create the MMM-WunderGround dir and fille it with all the files from the repository. Then add the config section in config.js.

    Note from admin: Please use Markdown to format your post so it is easier to read!

  • @RedNax OMG thank you!!! Again, i’m just a level 1 n00b. This is AWESOME! So this is what Github is about…

  • Moderator

    GitHub/git is a lot more than just “that”. It’s a way for us developer to maintain our code, have multiple versions of the same thing, multiple branches, test ones, etc., etc. It’s a repository. If I make a mistake tonight while coding, I can revert back to an earlier state very easy without needing to remember what I did before I messed up. It’s a beautiful thing.

  • God, you developers have all the fun

Log in to reply