I run my own personal weather station and most data goes to Wunderground. Sadly they’ve moved from free to paid as well. However I’d love ways to leverage my PWS data still.
Read the statement by Michael Teeuw here.
Best posts made by natrlhy
-
RE: MMM-NOAA4 Underdevelopment [US ONLY]
Latest posts made by natrlhy
-
RE: MMM-NOAA4 Underdevelopment [US ONLY]
I run my own personal weather station and most data goes to Wunderground. Sadly they’ve moved from free to paid as well. However I’d love ways to leverage my PWS data still.
-
RE: 2.12 repeating all day calendar events not shown for today, or weather only showing 2 days and missing analog clock numbers
Ok thanks for bearing with me :)
I started from scratch again. Generated a new API key from openweathermap, made my changes to the config.js config file. Waited a while since inspector was showing my API was invalid since it was newly generated…
Thanks for the help!
-
RE: 2.12 repeating all day calendar events not shown for today, or weather only showing 2 days and missing analog clock numbers
pi@teslamate:~/MagicMirror $ npm install > magicmirror@2.13.0-develop install /home/pi/MagicMirror > echo "Installing vendor files ... " && cd vendor && npm install --loglevel=error Installing vendor files ... audited 24 packages in 2.71s 1 package is looking for funding run `npm fund` for details found 0 vulnerabilities > magicmirror@2.13.0-develop postinstall /home/pi/MagicMirror > npm run install-fonts && echo "MagicMirror installation finished successfully! " > magicmirror@2.13.0-develop install-fonts /home/pi/MagicMirror > echo "Installing fonts ... " && cd fonts && npm install --loglevel=error Installing fonts ... audited 1 package in 0.981s found 0 vulnerabilities MagicMirror installation finished successfully! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) audited 1124 packages in 60.578s 87 packages are looking for funding run `npm fund` for details found 3 low severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details
-
RE: 2.12 repeating all day calendar events not shown for today, or weather only showing 2 days and missing analog clock numbers
@sdetweil
After I switched to the develop branch, I did cd ~/MagicMirror and ran npm install.I refreshed my MM window with inspector and did see this:
Yet currentweather loads fine with the same appid key…
-
RE: 2.12 repeating all day calendar events not shown for today, or weather only showing 2 days and missing analog clock numbers
Nothing in the dev window…
pm2 log (20 lines):
PM2 | 2020-09-23T20:08:10: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2020-09-23T20:08:10: PM2 log: App [MagicMirror:0] online /home/pi/.pm2/logs/MagicMirror-error.log last 20 lines: 0|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|MagicMir | at Function.Module._load (internal/modules/cjs/loader.js:531:27) 0|MagicMir | at Module.require (internal/modules/cjs/loader.js:685:19) 0|MagicMir | at require (internal/modules/cjs/helpers.js:16:16) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:8:14) 0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:786:30) 0|MagicMir | at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) 0|MagicMir | at Module.load (internal/modules/cjs/loader.js:645:32) { 0|MagicMir | code: 'MODULE_NOT_FOUND', 0|MagicMir | requireStack: [ 0|MagicMir | '/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js', 0|MagicMir | '/home/pi/MagicMirror/modules/default/calendar/node_helper.js', 0|MagicMir | '/home/pi/MagicMirror/js/app.js', 0|MagicMir | '/home/pi/MagicMirror/js/electron.js', 0|MagicMir | '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', 0|MagicMir | undefined 0|MagicMir | ] 0|MagicMir | } 0|MagicMir | [2020-09-23 18:20:11.775] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMir | [2020-09-23 18:20:11.776] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues /home/pi/.pm2/logs/MagicMirror-out.log last 20 lines: 0|MagicMir | [2020-09-23 20:08:16.677] [LOG] Module helper loaded: updatenotification 0|MagicMir | [2020-09-23 20:08:16.678] [LOG] No helper found for module: clock. 0|MagicMir | [2020-09-23 20:08:16.680] [LOG] No helper found for module: currentweather. 0|MagicMir | [2020-09-23 20:08:16.682] [LOG] No helper found for module: weatherforecast. 0|MagicMir | [2020-09-23 20:08:17.796] [LOG] Initializing new module helper ... 0|MagicMir | [2020-09-23 20:08:17.797] [LOG] Module helper loaded: newsfeed 0|MagicMir | [2020-09-23 20:08:17.798] [LOG] All module helpers loaded. 0|MagicMir | [2020-09-23 20:08:18.142] [LOG] Starting server on port 8080 ... 0|MagicMir | [2020-09-23 20:08:18.161] [LOG] Server started ... 0|MagicMir | [2020-09-23 20:08:18.162] [LOG] Connecting socket for: updatenotification 0|MagicMir | [2020-09-23 20:08:18.164] [LOG] Connecting socket for: newsfeed 0|MagicMir | [2020-09-23 20:08:18.165] [LOG] Starting node helper for: newsfeed 0|MagicMir | [2020-09-23 20:08:18.166] [LOG] Sockets connected & modules started ... 0|MagicMir | [2020-09-23 20:08:18.476] [LOG] Launching application. 0|MagicMir | [2020-09-23 20:08:22.215] [LOG] Create new news fetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 0|MagicMir | [2020-09-23 20:08:23.231] [INFO] Newsfeed-Fetcher: Broadcasting 60 items. 0|MagicMir | [2020-09-23 20:08:29.750] [LOG] Use existing news fetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml 0|MagicMir | [2020-09-23 20:08:29.751] [INFO] Newsfeed-Fetcher: Broadcasting 60 items. 0|MagicMir | [2020-09-23 20:08:30.224] [INFO] Newsfeed-Fetcher: Broadcasting 60 items. 0|MagicMir | [2020-09-23 20:13:30.985] [INFO] Newsfeed-Fetcher: Broadcasting 59 items.
-
RE: 2.12 repeating all day calendar events not shown for today, or weather only showing 2 days and missing analog clock numbers
Thanks for the extra step!
For the life of me, it just wont load the forecast…
{ disabled: false, module: "weatherforecast", header: "Weather Forecast", config: { location: "Dublin", locationID: "5344157", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "myappid", // maxNumberOfDays: "10", // fade: "false" } },
-
RE: 2.12 repeating all day calendar events not shown for today, or weather only showing 2 days and missing analog clock numbers
I’m trying to get the weather for 2 days to work. I’ve followed the steps on a new install of mm:
[2020-09-23 18:20:11.758] [ERROR] Error: Cannot find module 'node-ical' Require stack: - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js - /home/pi/MagicMirror/modules/default/calendar/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Function.Module._load (internal/modules/cjs/loader.js:531:27) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:8:14) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) [2020-09-23 18:20:11.762] [ERROR] Whoops! There was an uncaught exception... [2020-09-23 18:20:11.763] [ERROR] Error: Cannot find module 'node-ical' Require stack: - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js - /home/pi/MagicMirror/modules/default/calendar/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Function.Module._load (internal/modules/cjs/loader.js:531:27) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:8:14) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js', '/home/pi/MagicMirror/modules/default/calendar/node_helper.js', '/home/pi/MagicMirror/js/app.js', '/home/pi/MagicMirror/js/electron.js', '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', undefined ] } [2020-09-23 18:20:11.775] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-09-23 18:20:11.776] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
-
RE: weatherforcast shows 1 day only
@sdetweil anything else I should try? I ended up using raspberry.sh install method.
-
RE: weatherforcast shows 1 day only
Thanks. I did that but no change. I used the install script:
pi@teslamate:~ $ cd MagicMirror/ pi@teslamate:~/MagicMirror $ rm package-lock.json pi@teslamate:~/MagicMirror $ git fetch origin develop:develop remote: Enumerating objects: 15947, done. remote: Counting objects: 100% (15947/15947), done. remote: Compressing objects: 100% (6015/6015), done. remote: Total 15715 (delta 9644), reused 15375 (delta 9316), pack-reused 0 Receiving objects: 100% (15715/15715), 14.91 MiB | 5.28 MiB/s, done. Resolving deltas: 100% (9644/9644), completed with 166 local objects. From https://github.com/MichMich/MagicMirror * [new branch] develop -> develop * [new tag] V2.2.1 -> V2.2.1 * [new tag] v.2.1.3 -> v.2.1.3 * [new tag] v2.0.0 -> v2.0.0 * [new tag] v2.0.1 -> v2.0.1 * [new tag] v2.0.2 -> v2.0.2 * [new tag] v2.0.3 -> v2.0.3 * [new tag] v2.0.4 -> v2.0.4 * [new tag] v2.0.5 -> v2.0.5 * [new tag] v2.1.0 -> v2.1.0 * [new tag] v2.1.1 -> v2.1.1 * [new tag] v2.1.2 -> v2.1.2 * [new tag] v2.10.0 -> v2.10.0 * [new tag] v2.10.1 -> v2.10.1 * [new tag] v2.11.0 -> v2.11.0 * [new tag] v2.2.0 -> v2.2.0 * [new tag] v2.2.2 -> v2.2.2 * [new tag] v2.3.0 -> v2.3.0 * [new tag] v2.3.1 -> v2.3.1 * [new tag] v2.4.0 -> v2.4.0 * [new tag] v2.4.1 -> v2.4.1 * [new tag] v2.5.0 -> v2.5.0 * [new tag] v2.6.0 -> v2.6.0 * [new tag] v2.7.0 -> v2.7.0 * [new tag] v2.7.1 -> v2.7.1 * [new tag] v2.8.0 -> v2.8.0 * [new tag] v2.9.0 -> v2.9.0 pi@teslamate:~/MagicMirror $ git checkout develop M installers/mm.sh Switched to branch 'develop' pi@teslamate:~/MagicMirror $ mmrestart Use --update-env to update environment variables [PM2] Applying action restartProcessId on app [MagicMirror](ids: 0) [PM2] [MagicMirror](0) ✓ ┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ default │ 2.13.0… │ fork │ 20712 │ 0s │ 19 │ online │ 0% │ 2.4mb │ pi │ disabled │
-
weatherforcast shows 1 day only
I’ve just started using MM and a few Modules. I noticed that the weatherforcast module always only shows 1 days worth so I tried adding a config line to show more and now it only shows 2 (default should be 7). Am I doing something wrong?
module: "weatherforecast", position: "top_left", header: "Weather Forecast", config: { location: "Dublin", locationID: "5344157", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "myappid", maxNumberOfDays: "10", fade: "false"
Thanks!