Read the statement by Michael Teeuw here.
Problems With Weather
-
@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 -
Were there any errors when MM launched?
-
MagicMirror should have launched when you issued the
pm2 start MagicMirror
command -
@mykle1 No errors and yes MM launched, everything is displaying but the forecast
-
@mykle1 now it is displaying message: “Please set the correct openweather appid in the config for module: weatherforecast.”
-
I’m done for the night, mate. I would suggest you double check your appid at openweather. copy and paste it into your config entry for weatherforecast and make sure it is in quotes.
Perhaps someone else will continue to help you tonight.
Good luck
-
@mykle1 So I emailed Openweathermap for help and he said I should use the “One Call Api” https://openweathermap.org/api/one-call-api but I am having trouble figuring out how to incorporate the API call code into the weather forecast module?