@mumblebaj i posted an issue with a fix in your repository. do you mind taking a look so we can merge the two lines?
https://github.com/mumblebaj/MMM-PGA/issues/2
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-PGA Not Working
-
RE: MMM-MyScoreboard
FYI, i have taken over maintaining this module and have made some updates. anyone interested can check out at https://github.com/dathbe/MMM-MyScoreboard .
open an issue if you have problems or a suggestion.
-
RE: Daily Farside comic
@Nneuland do you know where the comics are available online?
-
UnhandledPromiseRejectionWarning: TypeError: fetch failed
Platform: Raspbian 12
Node Version: 18.19.0
MagicMirror Version: 2.27
Description:
I am seeing the following errors in my logs, though I’m not necessarily seeing any problems on my display (at least not regularly).0|mm | 024-05-16 14:10:44.296] [ERROR] 2024-05-16T14:10:44 <error> (node:26446) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 97) (/home/username/MagicMirror/node:internal/process/warning:60 writeOut) 0|mm | [2024-05-16 14:11:12.283] [ERROR] 2024-05-16T14:11:12 <error> (node:26446) UnhandledPromiseRejectionWarning: TypeError: fetch failed 0|mm | at Object.fetch (node:internal/deps/undici/undici:12293:11) 0|mm | (/home/username/MagicMirror/node:internal/process/warning:60 writeOut) 0|mm | [2024-05-16 14:11:12.291] [ERROR] 2024-05-16T14:11:12 <error> (node:26446) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 119) (/home/username/MagicMirror/node:internal/process/warning:60 writeOut) 0|mm | /home/username/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT 0|mm | [2024-05-16 14:12:49.844] [ERROR] 2024-05-16T14:12:49 <error> (node:28645) UnhandledPromiseRejectionWarning: TypeError: fetch failed 0|mm | at Object.fetch (node:internal/deps/undici/undici:12293:11) 0|mm | 0|mm | (Use `electron --trace-warnings ...` to show where the warning was created) (/home/username/MagicMirror/node:internal/process/warning:60 writeOut) 0|mm | [2024-05-16 14:12:49.851] [ERROR] 2024-05-16T14:12:49 <error> (node:28645) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 52) (/home/username/MagicMirror/node:internal/process/warning:60 writeOut) 0|mm | [2024-05-16 14:13:09.544] [ERROR] 2024-05-16T14:13:09 <error> (node:28645) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit (/home/username/MagicMirror/node:internal/process/warning:60 writeOut)
It seems to come up most often when I load the MMM-Pinfo module in my config, though I have seen it at other times as well. The problem is that I don’t see enough information in these logs to find a source myself.
Steps to Reproduce: Load MM, usually with MMM-Pinfo module enabled.
If anyone has any ideas, that would be great.
-
RE: Live phone location
@bhepler I used owntracks for a while, but I found it far less reliable than Apple’s Find My. This was especially true on other family members’ phones, where I can’t make sure the app is constantly running in the background. Has the reliability improved?
-
RE: Ability to display certain modules at certain times of the year?
Thanks! Looks promising.
-
Ability to display certain modules at certain times of the year?
I’m not really sure where to post this, but I’m generally trying to figure out a solid way to display modules (or, more specifically, versions of modules) depending on the date. For example, there’s no need to display a sport’s standings in the offseason. And there may be other things you want to display only during the school year. Etc.
I’ve thought of a few ways you could tackle this:
Have MM start up with a different config file depending on the date?
A module to hide other modules based on current date and config parameters?
Time sensitve CSS (is this a thing!?)?I’m not really sure what the easiest way to tackle this would be.
Anyone have any thoughts?
-
RE: Live phone location
Try MMM-GoogleMaps-Tracking. If you can pull the coordinates from their phones (for Apple’s iCloud Find My, there’s a python module to grab data…I’d assume you can get it off Android phones too), you can post the coordinates to the map.
-
Yahoo Fantasy Sports?
Has anyone looked into whether it’s possible to get Yahoo Fantasy Sports data into a mirror? It would be nice to have team lists and scores, but it may not be possible to scrape this.