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.

    New and confused.

    Scheduled Pinned Locked Moved General Discussion
    55 Posts 5 Posters 33.8k Views 5 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @caseyrcoughlin
      last edited by Mykle1

      @caseyrcoughlin

      You can delete the old folders by simply dragging them to the trash, as you would any other file or folder.

      It’s odd that you don’t have a text editor. What OS are you installing? Rasbian Jessie certainly has a text editor. Are you using a Pi 3? You could always install a 3rd party text editor if you wanted to. You have options.

      I’m curious. Open a terminal and type leafpad and Enter. This would launch the default text editor in Jessie, if that’s what you’re running.

      How did you manage to edit your config.js file in the first place to get your MagicMirror running? Or, you haven’t gotten that far?

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • cowboysdudeC Offline
        cowboysdude Module Developer @caseyrcoughlin
        last edited by

        @caseyrcoughlin said in New and confused.:

        @cowboysdude said in New and confused.:

        That makes life so much easier, can’t believe I didn’t think to hit the ALT key before. So I got into the config menu through the terminal but I messed some stuff up and deleted a few of the modules that I want back to mess around with some more. I’d like to uninstall and reinstall Magic Mirror. How do I uninstall it?

        EDIT - Nevermind, figured out how to install it again. At least a workaround anyway. I renamed the old Magic Mirror and I’m reinstalling it again. I’d imagine I’ll have about 25 failed versions of Magic Mirror under various names before I get it to how I want it lol. Is there anyway to delete these files off of the RPi?

        DO NOT feel bad…we’ve all been there :) You’re trying and that’s what this project is all about. Feel free to ask questions… it’s how we learn ;)

        1 Reply Last reply Reply Quote 0
        • mickyasM Offline
          mickyas
          last edited by

          Well me and my ten thumbs were playing around and i entered the config.js file to alter parts of the weather module ( i managed to get an API key and my location I.D. as the weather in New York doesn’t really interest me at the mo :-))) ) and entered them in to the code, between the speech marks, saved it and then ran MM but the weather module wasn’t present, everything else was …any ideas??? Next will be altering the holidays/calendar etc (i’m trying to work out how to use my google calendar with all of my saved dates etc, so expect more questions) :0. Thanks.
          Mick

          cowboysdudeC Mykle1M 2 Replies Last reply Reply Quote 0
          • cowboysdudeC Offline
            cowboysdude Module Developer @mickyas
            last edited by

            @mickyas said in New and confused.:

            Well me and my ten thumbs were playing around and i entered the config.js file to alter parts of the weather module ( i managed to get an API key and my location I.D. as the weather in New York doesn’t really interest me at the mo :-))) ) and entered them in to the code, between the speech marks, saved it and then ran MM but the weather module wasn’t present, everything else was …any ideas??? Next will be altering the holidays/calendar etc (i’m trying to work out how to use my google calendar with all of my saved dates etc, so expect more questions) :0. Thanks.
            Mick

            My advice is always the same… if you have a working config.js then copy it to config.bak then you know no matter what you’ll never be down :)

            THEN:

            It’s easier if you post your config.js minus the api keys just put xx in place of that… then we can peek at it :)

            mickyasM 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @mickyas
              last edited by

              @mickyas said in New and confused.:

              entered them in to the code, between the speech marks, saved it and then ran MM but the weather module wasn’t present, everything else was …any ideas???

              You likely made a small mistake somewhere. As @cowboysdude said, it would be easier for us to help you if would copy and paste that portion of your config.js file (minus the API key)

              Next will be altering the holidays/calendar etc (i’m trying to work out how to use my google calendar with all of my saved dates etc, so expect more questions) :0.

              Go to your google calendar. On the LEFT side of the page you’ll see My Calendars, Other Calendars. Hover (don’t click) your mouse over the individual calendar that you want. A down arrow v appears to the RIGHT of the calendar. Click the down arrow v and choose Calendar settings. Click the green ICAL button. This will give you the url you need to enter into the calendar module

              Create a working config
              How to add modules

              mickyasM 1 Reply Last reply Reply Quote 0
              • mickyasM Offline
                mickyas @cowboysdude
                last edited by

                @cowboysdude Sorry but you assume i know what you’re on about :-)))) what’s config.bak??? I have NO knowledge whatsoever of any kind of coding etc, my computer abilities stretch as far as writing a n e-mail and doing the odd letter. :-))).
                Mick

                Mykle1M 1 Reply Last reply Reply Quote 0
                • mickyasM Offline
                  mickyas @Mykle1
                  last edited by

                  @Mykle1 Damn…you’re a genius :-))))))))))))))))))))))))))

                  Mykle1M 1 Reply Last reply Reply Quote 1
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @mickyas
                    last edited by

                    @mickyas said in New and confused.:

                    what’s config.bak???

                    What @cowboysdude means is this:
                    When you have a working config.js file and BEFORE you’re going to edit it (ex adding another module) you should make a backup of that config.js file. Then you do your edit. If something goes awry, you have your backup file that you KNOW is working.

                    Simply: Go to your working config.js file. Right click on it. Choose Copy. Right click somewhere else in that same window. Choose Paste. Rename the copy to config.bak as @cowboysdude instructed. Click Rename.

                    So now you’ve have a file named config.bak. If something goes wrong with your working config.js file, you can delete it and rename your backup to config.js. So, make a backup every time you successfully make additions to your config.js so you don’t have to start from square one.

                    I hope you’re writing this down. ;-)

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 1
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @mickyas
                      last edited by

                      @mickyas said in New and confused.:

                      Damn…

                      Oh, hey Mick,

                      When you want help with your config.js file you really should copy and paste it here so that we can look at it as @cowboysdude and I have both advised. Surely you know how to copy and paste! :-)

                      Create a working config
                      How to add modules

                      mickyasM 1 Reply Last reply Reply Quote 1
                      • mickyasM Offline
                        mickyas @Mykle1
                        last edited by

                        @Mykle1 said in New and confused.:

                        @mickyas said in New and confused.:

                        Damn…

                        Oh, hey Mick,

                        Surely you know how to copy and paste! :-)

                        I do, but since i haven’t worked out how to tether my laptop o my PI…it’s a slow laborious process :-))))))))))))))
                        Well, got my calendar and newsfeed changed and both up and running, just working on my weathermap. I’ll try and sort out copying it here :-))) thanks for the step by step, it worked perfectly first time :-)))
                        Mick

                        1 Reply Last reply Reply Quote 0
                        • mickyasM Offline
                          mickyas
                          last edited by

                          ok here goes…this is what i have for the weathermap…
                          ,
                          module: “currentweather”,
                          position: “top_right”,
                          config: {
                          location: “”,
                          locationID: “8224783”, //ID from http://www.openweathermap.org/help/city_list.txt
                          appid: “my api i.d. here”
                          }
                          },
                          {
                          In the location i had written “stanley” but it made no difference. the above is the same for module “weatherforecast”
                          mick

                          1 Reply Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer
                            last edited by

                            Assuming your location ID is correct, and that your API key is valid and that you enter your API key precisely, inside the quotes, this will work for you. The location doesn’t matter as it is overridden by the locationID. Refer to the guide on adding a module. You can copy and paste what I’ve entered below.

                            {
                            module: "currentweather",
                            position: "top_right",
                            config: {
                               location: "",
                               locationID: "8224783", //ID from http://www.openweathermap.org/help/city_list.txt
                               appid: "my api i.d. here"
                              }
                            },
                            

                            Create a working config
                            How to add modules

                            mickyasM 1 Reply Last reply Reply Quote 0
                            • mickyasM Offline
                              mickyas @Mykle1
                              last edited by

                              @Mykle1 MINT…worked a treat, :-)))))))))))))) I don’t know what i had different, as i never changed anything else in the module other than the location i.d. and the api key!!! anyhoo, all up and running…next stop changing the ‘compliments’ :-)))) I owe you a pint :-)) (although i do have some home grown cider on the go ;-))
                              Mick

                              Mykle1M 1 Reply Last reply Reply Quote 2
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer @mickyas
                                last edited by

                                @mickyas said in New and confused.:

                                I owe you a pint :-))

                                My favorite pint and my favorite pub to drink it in. Unfortunately, it’s 3,459 miles away from where I live, on the other side of the pond.
                                0_1498509508844_beer1.jpg 0_1498509524902_place1.jpg

                                Create a working config
                                How to add modules

                                mickyasM 1 Reply Last reply Reply Quote 3
                                • mickyasM Offline
                                  mickyas @Mykle1
                                  last edited by mickyas

                                  @Mykle1 Just a couple of questions…

                                  1. I noticed a previous post from you about the colour weather module you installed, is it available to clone???
                                  2. Can i have multiple modules running at once, or do i have to switch between them…i.e the Magic mirror, Alexa, remote control (which i’d really like to try) etc?
                                    Thanks
                                    Mick

                                  This is crazy…the more i search, the more confused i become and the more i get distracted by the umpteen modules i’d like to have :-)))…first off is using my laptop to access the pi3 (its annoying trying to pull up pages etc on the pi).
                                  P.S. just done it using VNC all working so far :-)))

                                  Mykle1M 2 Replies Last reply Reply Quote 0
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @mickyas
                                    last edited by Mykle1

                                    @mickyas said in New and confused.:

                                    I noticed a previous post from you about the colour weather module you installed, is it available to clone???

                                    I’m pretty sure you mean WunderGround. That’s what I use. Here is the link.

                                    https://github.com/RedNax67/MMM-WunderGround

                                    Also, @j-e-f-f has done some remarkable things with some weather modules. Look around/search for his work.

                                    Can i have multiple modules running at once, or do i have to switch between them…i.e the Magic mirror, Alexa, remote control (which i’d really like to try) etc?

                                    Not sure what you mean here. Yes, you can have many modules running at the same time. Didn’t you start out with a clock, and a calendar, and a newsfeed, all at the same time?

                                    I think everyone goes through that, including me. I wanted to LOAD UP on as many modules as I could fit on the mirror. Ultimately, I chose the ones that I like the most, with a few of my own. You’ll have to decide what you want at some point. It doesn’t hurt to try them all to decide what you want.

                                    Yes, I use VNC also. I haven’t touched the actual mirror in months. I just sit at my dev machine and work on the mirror from there

                                    Create a working config
                                    How to add modules

                                    mickyasM 2 Replies Last reply Reply Quote 1
                                    • Mykle1M Offline
                                      Mykle1 Project Sponsor Module Developer @mickyas
                                      last edited by

                                      @mickyas said in New and confused.:

                                      I noticed a previous post from you about the colour weather module you installed, is it available to clone

                                      Is this the weather you mean? See the link above
                                      0_1498701857384_33.jpg

                                      Create a working config
                                      How to add modules

                                      1 Reply Last reply Reply Quote 1
                                      • mickyasM Offline
                                        mickyas @Mykle1
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • mickyasM Offline
                                          mickyas @Mykle1
                                          last edited by mickyas

                                          @Mykle1 said in New and confused.:

                                          Not sure what you mean here. Yes, you can have many modules running at the same time. Didn’t you start out with a clock, and a calendar, and a newsfeed, all at the same time?

                                          Ah, there’s my confusion…i thought the magic mirror (date, weather, calendar etc) was one module. :-))
                                          I was wondering if it is possible to have the magic mirror 2 running on the screen with Alexa ‘asleep’ in the background to be woken with a ‘wake’ word and say, a music app playing etc.

                                          Yes, the WunderGround is the one i was looking at…very nice.
                                          Mick

                                          Heeds battered…how do i use the wunderground module ??? i have opened the magic mirror config js file i have copied and pasted the block of code (using git clone etc) but it comes up with an error telling me to ‘Please create a config file’ ??? (tried the 3 back-tick rule for code, but this is how it came out)

                                          	port: 8080,
                                          	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses.
                                          
                                          	language: "en",
                                          	timeFormat: 24,
                                          	units: "metric",
                                          modules: [
                                          {
                                              module: 'MMM-WunderGround',
                                              position: 'top_right',
                                              config: {
                                                  apikey: 'my api i.d. here', // private; don't share!
                                                  pws: 'pws:DH9 6PA', //England
                                                  hourly: '1',
                                                  fctext: '1',
                                                  fcdaycount: "5",
                                                  fcdaystart: "0",
                                                  hourlyinterval: "3",
                                                  hourlycount: "2",
                                                  alerttime: 10000,
                                                  alerttruncatestring: "english:",
                                          	roundTmpDecs: 1,
                                          	UseCardinals: 0,
                                          	layout: "horizontal",
                                          	sysstat: 0
                                              }
                                          };
                                          ]
                                          	modules: [
                                          		{
                                          			module: "alert",
                                          		},
                                          		{
                                          			module: "updatenotification",
                                          			position: "top_bar"```
                                          Mykle1M 2 Replies Last reply Reply Quote 0
                                          • cowboysdudeC Offline
                                            cowboysdude Module Developer
                                            last edited by

                                            @mickyas said in New and confused.:

                                            ‘top_right’

                                            Well my guess would be that you copied the config from one place to another … replace all of these ` [backtick] with this ’ [single quote]

                                            Then retry ;)

                                            mickyasM 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • 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