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

need help with config file

Scheduled Pinned Locked Moved Troubleshooting
17 Posts 7 Posters 25.4k Views 7 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.
  • C Offline
    csdesign3 @Mykle1
    last edited by Mar 7, 2017, 2:04 PM

    @Mykle1 I there

    From 2 days of exploring i’m feeling more confortable playing with config.js via SSH. Yesterday i feel very lost because my inexperience with comand line in linux, but reading some forums here and there and with some help from varius users.

    Right now i have the Magic Mirror Running with any major problems. My concern is, i’ve doing something wrong, because PM2 doesn’t autorun at boot of raspberry, and i i have to have the graphical Debian running to MagicMirror showing of, but far from there it’s just acess SSH and pm2 start mm.sh and it runs without problem.

    Right now i’m looking the best way to:

    • Know all possible locations of content in screen (Top_left, top, right, bottom… etc);
    • The best way to transfer files (jpg, txt, etc), usb flash drive is not a option, because in the future the display and raspberry will be placed in a wall without direct easy acess;
    • Find more modules to: slide show images or videos.

    thanks again for the help :-)
    best regards carlos

    1 Reply Last reply Reply Quote 0
    • D Offline
      dmrowe84 @Mykle1
      last edited by Mar 20, 2017, 3:08 AM

      @Mykle1 I’m trying to make a MM for my wife, I’ve got everything ok, except the weather module, it just doesn’t show up on the screen, I’ve input my aapid and location id, and still won’t show. I’m in the middle of wiping and reflashing it now, was wondering if I could contact you with any questions of it still doesn’t work after this reflash, or with you had any advice?

      M 1 Reply Last reply Mar 20, 2017, 12:06 PM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @dmrowe84
        last edited by Mykle1 Mar 20, 2017, 12:06 PM Mar 20, 2017, 12:06 PM

        @dmrowe84 said in need help with config file:

        I’m in the middle of wiping and reflashing it now,

        Don’t wipe and reflash every time a module doesn’t work. Most likely you could have gotten help here on the forums. So, ask first before you take that step again. :-)

        was wondering if I could contact you with any questions of it still doesn’t work after this reflash, or with you had any advice?

        Sure, this is the place to ask your questions and get answers. If I can’t help you, there are many helpful people here that can, and will. :-)

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • D Offline
          dmrowe84 @Mykle1
          last edited by Mar 21, 2017, 12:59 AM

          This post is deleted!
          M 1 Reply Last reply Mar 21, 2017, 2:58 AM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @dmrowe84
            last edited by Mykle1 Mar 21, 2017, 3:06 AM Mar 21, 2017, 2:58 AM

            @dmrowe84 said in need help with config file:

            thank you for your help in advance!

            I don’t use those modules but this should help you

            location: requires state and country, or city and country, something like that
            You have a URL in the appid: option. Just put in the long ID number, not the entire url.
            Put your locationID in your currentweather also. I believe this overrides location anyway
            Make sure your numbers are correct! Sample below:

            location: "New York,America",
            locationID: "12345", //Location ID from http://openweathermap.org/help/city_list.txt
            appid: "abcde12345abcde12345abcde12345ab"
            

            You can delete your last post that contains your ID’s. At the very bottom right of the post are three vertical dots. Click on that and choose delete

            Create a working config
            How to add modules

            D 1 Reply Last reply Mar 22, 2017, 3:42 AM Reply Quote 1
            • D Offline
              dmrowe84 @Mykle1
              last edited by Mar 22, 2017, 3:42 AM

              @Mykle1 thanks to you I got it to work!

              I put in the appid, city code, and [town, country]

              I did a little snooping in the mod folder and found a line in the weather module folder that required an appid as well, I put it in there, not sure if that was useful or not.

              However, now that I have the weather pulled up, I just need to figure out how to get the correct temps on there, they are about 40° off.

              S M 2 Replies Last reply Mar 22, 2017, 10:07 AM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @dmrowe84
                last edited by Mar 22, 2017, 10:07 AM

                @dmrowe84 check if you have set your units correct

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

                D 1 Reply Last reply Mar 22, 2017, 4:20 PM Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @dmrowe84
                  last edited by Mar 22, 2017, 11:06 AM

                  @dmrowe84 said in need help with config file:

                  I did a little snooping in the mod folder and found a line in the weather module folder that required an appid as well, I put it in there, not sure if that was useful or not.

                  It wasn’t. The module defaults are overridden by the config.js settings. Think of it this way. You can change the behavior of the module all you want through the config.js file WITHOUT altering the module itself. Altering the module file itself is not recommended because you will lose any changes there when an update to the module is necessary. So, having your appid in the config.js is all that you need.

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 1
                  • D Offline
                    dmrowe84 @strawberry 3.141
                    last edited by Mar 22, 2017, 4:20 PM

                    @strawberry-3.141

                    That’s exactly what was wrong with it. I went back into the config folder, and at the top I saw the word metric laughing at me.

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