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,WI
in 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 mm
in the terminal, does it launch the mirror?