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

How to install a module?

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 3 Posters 18.2k Views 2 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.
  • M Offline
    MagicCrumps1
    last edited by paviro Jun 7, 2016, 7:22 AM Jun 7, 2016, 1:50 AM

    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!

    1 Reply Last reply Reply Quote 0
    • K Offline
      KirAsh4 Moderator
      last edited by Jun 7, 2016, 1:54 AM

      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.

      A Life? Cool! Where can I download one of those from?

      1 Reply Last reply Reply Quote 1
      • M Offline
        MagicCrumps1
        last edited by MagicCrumps1 Jun 7, 2016, 2:12 AM Jun 7, 2016, 2:11 AM

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

        0_1465265456953_upload-11880284-b90a-4a0b-bc79-3461d59450a2

        1 Reply Last reply Reply Quote 0
        • R Offline
          RedNax Module Developer
          last edited by RedNax Jun 7, 2016, 3:45 AM Jun 7, 2016, 3:44 AM

          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…

          M 1 Reply Last reply Jun 7, 2016, 5:16 AM Reply Quote 0
          • M Offline
            MagicCrumps1 @RedNax
            last edited by Jun 7, 2016, 5:16 AM

            @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?

            0_1465276472194_upload-df79633f-dd61-40f7-8894-e31ce23b3bf3

            1 Reply Last reply Reply Quote 0
            • R Offline
              RedNax Module Developer
              last edited by paviro Jun 7, 2016, 7:24 AM Jun 7, 2016, 5:38 AM

              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 https://github.com/RedNax67/MMM-WunderGround.git
              

              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!

              M 1 Reply Last reply Jun 7, 2016, 6:40 AM Reply Quote 0
              • M Offline
                MagicCrumps1 @RedNax
                last edited by Jun 7, 2016, 6:40 AM

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

                1 Reply Last reply Reply Quote 0
                • K Offline
                  KirAsh4 Moderator
                  last edited by Jun 7, 2016, 6:47 AM

                  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.

                  A Life? Cool! Where can I download one of those from?

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MagicCrumps1
                    last edited by Jun 7, 2016, 6:48 AM

                    God, you developers have all the fun

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