Read the statement by Michael Teeuw here.
I need help!!!!
-
-
I dont understand this command and section
Whats a shell script
cd ~
nano mm.shWhere 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
-
@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 tolocationID: "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,WIin location (no space) andlocationID: "5243553", -
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
-
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
-
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
-
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?
-
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?
-
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
-
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
-
Well, it shouldn’t take THAT long. If you run
pm2 start mmin the terminal, does it launch the mirror? -
Yes it does
Just did it as well to be sure
-
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
-
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…
-
Did you run this command?
pm2 startup
This will give you a command to run to setup pm2 to start at boot.
-
-
@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.
-
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