Read the statement by Michael Teeuw here.
Problems With Weather
-
@mykle1 Hourly forecast: unavailable
Daily forecast: unavailable
Calls per minute: 60
3 hour forecast: 5 days
It seems these are limits for the free API key I have now. Is there a way to tweak the code so it would be compatible? I tried the npm start dev, and got a couple errors popping up, will take picture and post on here -
-
@brendan_c23 Current Weather
Minute Forecast 1 hour*
Hourly Forecast 2 days*
Daily Forecast 7 days*
National Weather Alerts*
Historical weather 5 days*
Climatic Forecast 30 days
Actually, 7 day forecast should be available with the free API from openweathermap.org -
You trying to run the mirror from the wrong folder. ENOENT error.
Start the mirror from within the MagicMirror directory
-
@mykle1 I am sorry Im a noob. How do I run the mirror from within the directory? cd MagicMirror?
-
-
-
Well, it says right in the error message that your appid is not set. Hmmm
-
-
Something else is using port 8080. Most commonly it is because you have more than one instance of MM running at the same time. Or, there is another program on your pi using the same port.
-
@mykle1 Is it because I am using the same APPid for both weather modules? I have triple checked that I have the correct appid that was also working for the current weather.

-
@brendan_c23 said in Problems With Weather:
Is it because I am using the same APPid for both weather modules?
No, you can use the appid twice. However, MM can not share port 8080
-
@mykle1 How could I try fixing this?
-
try running
pm2 statusin the terminal (I think that’s the command) and post the result here please.Don’t post a picture. Copy the terminal output and paste it into your reply.
Also, do you have any other programs running on the Pi besides Magic Mirror?
-
This post is deleted! -
output should look like this
pi@Pi3:~ $ pm2 status ┌──────┬──────┬────────┬───┬─────┬──────────┐ │ Name │ mode │ status │ ↺ │ cpu │ memory │ ├──────┼──────┼────────┼───┼─────┼──────────┤ │ mm │ fork │ online │ 0 │ 0% │ 1.3 MB │ └──────┴──────┴────────┴───┴─────┴──────────┘ Use `pm2 show <id|name>` to get more details about an app pi@Pi3:~ $ -
@mykle1 pi@raspberrypi:~ $ pm2 status
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ MagicMirror │ fork │ 6 │ online │ 0% │ 2.6mb │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~ $ -
@mykle1 I should not have any other programs running besides the magic mirror as it is the only one I have installed , but not totally sure if there are any default programs already on there.
-
-
@mykle1 pi@raspberrypi:~ $ pm2 stop MagicMirror
[PM2] Applying action stopProcessId on app [MagicMirror](ids: 0)
[PM2] MagicMirror ✓
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ MagicMirror │ fork │ 6 │ stopped │ 0% │ 0b │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~ $ pm2 start MagicMirror
[PM2] Applying action restartProcessId on app [MagicMirror](ids: 0)
[PM2] MagicMirror ✓
[PM2] Process successfully started
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ MagicMirror │ fork │ 6 │ online │ 0% │ 2.4mb │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~ $
Still no luck displaying forecast, thank you again for bearing with me this long
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


