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 need help!!!!

    Scheduled Pinned Locked Moved Troubleshooting
    26 Posts 4 Posters 17.1k 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.
    • D Offline
      danwitz65
      last edited by

      I dont understand this command and section

      Whats a shell script

      cd ~
      nano mm.sh

      Where do you put it how do you get it to work

      And then id like to set my weather in adams wisconsin how do i do that i got my key or whatever and put it in so it shows up on the mirror but it says new york and i tryed just typing in adams and madison wi and it wouldnt switch over

      Again thank you for all your help

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

        @danwitz65 said in I need help!!!!:

        And then id like to set my weather in adams wisconsin how do i do that i got my key or whatever and put it in so it shows up on the mirror but it says new york and i tryed just typing in adams and madison wi and it wouldnt switch over

        I think the default locationID: "5128581", is for New York. You would have to change that to locationID: "5243553", in your config entry. The readMe file for weather tells you to get it at http://openweathermap.org/help/city_list.txt. I looked it up for you, based on Adams, WI.

        Otherwise, you could put Adams,WI in location (no space) and locationID: "5243553",

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • D Offline
          danwitz65
          last edited by

          Oh my god thank you so much!

          Whil i got you hear can you help me through getting magic mirror to boot up automatically. Ive tryed and made the shell script i can run all the commands to get it to run then i try pm2 save and the sudo reboot.

          The mirror loading screen shows up then goes blank and boots back up to raspbian desktop… its driving me nuts

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

            @danwitz65

            Perhaps you’re not saving the PM2 state correctly. I would only tell you exactly what is written here.

            https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • D Offline
              danwitz65
              last edited by

              Yeah idk i follow it step by step but when it loads up it just shows four raspberrys then magic mirror2 “booting up” then the raspbian home highway picture desktop… idk what im doing wrong

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

                @danwitz65

                Are you waiting when that happens? There is a delay between the time you see the desktop and when PM2 launches the mirror. How long are you waiting?

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • D Offline
                  danwitz65
                  last edited by

                  Idk it never has launched after a reboot ive had to do it manually in terminal everything’s me so far

                  Also when you type

                  chmod +x mm.sh

                  From that guide is terminal supposed to do something?

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

                    @danwitz65

                    It will make the shell script is executable. I don’t recall if there is any output to confirm. It may simply go back to your directory

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      danwitz65
                      last edited by

                      Yeah it doesnt confirm back with anything just opens a line for another command.

                      Also just tryed rebooting and waiting its been 7 mins now and magic mirror hasnt popped up

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

                        @danwitz65

                        Well, it shouldn’t take THAT long. If you run pm2 start mm in the terminal, does it launch the mirror?

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          danwitz65
                          last edited by

                          Yes it does

                          Just did it as well to be sure

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

                            @danwitz65

                            All I can do is suggest you go through the entire process again. Create the script. Make sure it’s not inside your MagicMirror folder, etc . . and follow the instructions precisely. If there is something else going on there then perhaps a fresh install is in order, but that is completely up to you

                            Create a working config
                            How to add modules

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              danwitz65
                              last edited by

                              Well thanks a ton for the help im not gonna reinstall the whole thing that would be crazy ill just have to deal with it i guess…

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                austin
                                last edited by

                                Did you run this command?

                                pm2 startup

                                This will give you a command to run to setup pm2 to start at boot.

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

                                  @austin

                                  @danwitz65 stated

                                  Yeah idk i follow it step by step

                                  Create a working config
                                  How to add modules

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    austin
                                    last edited by

                                    @Mykle

                                    The first time I ran this command I thought it was done. I did not realize that it returns a command to run.

                                    So since I made this mistake I figured I would ask if the command was run and to check for it to return a different command to run.

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

                                      @austin

                                      “pm2 startup”

                                      “PM2 will now show you a command you need to execute.”

                                      Create a working config
                                      How to add modules

                                      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
                                      • 1 / 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