Can anyone explain or help me to try and get this module working again? Seems simple enough as ‘athlete’ is throwing the error but idk where to start.
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-PGA
-
RE: MMM-PGA
@cowboysdude @Mykle1 Calling on the big guns here if you have any ideas :face_with_tongue:
-
RE: MMM-PGA
Anyone able to help as it seems the developer has abandoned the project…something to do with “athlete” in the json requests etc but idk where to start to fix that but willing to give it a shot with some direction. Thanks!
-
RE: MMM-PGA
Anyone know how to fix this the error has to do with “athlete”??? Module is stuck on loading…
0|MagicMirror | MMM-PGA Retrieving Tounament List
0|MagicMirror | [12.06.2021 09:48.30.361] [LOG]
0|MagicMirror | MMM-PGA retrieving Tournament Data
0|MagicMirror | [12.06.2021 09:48.30.386] [ERROR]
0|MagicMirror | Whoops! There was an uncaught exception…
0|MagicMirror | [12.06.2021 09:48.30.388] [ERROR] TypeError: Cannot read property ‘athlete’ of undefined
0|MagicMirror | at Request._callback (/home/pi/MagicMirror/modules/MMM-PGA/ESPN.js:49:65)
0|MagicMirror | at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
0|MagicMirror | at Request.emit (events.js:315:20)
0|MagicMirror | at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1154:10)
0|MagicMirror | at Request.emit (events.js:315:20)
0|MagicMirror | at IncomingMessage. (/home/pi/MagicMirror/node_modules/request/request.js:1076:12)
0|MagicMirror | at Object.onceWrapper (events.js:421:28)
0|MagicMirror | at IncomingMessage.emit (events.js:327:22)
0|MagicMirror | at endReadableNT (_stream_readable.js:1220:12)
0|MagicMirror | at processTicksAndRejections (internal/process/task_queues.js:84:21) -
RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast
@j-e-f-f did you see my previous post is that at all doable?
-
RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast
@j-e-f-f here is my config and see the picture, I would like to only see the alert in red and the first line “elevated risk of wildfire”. That doable? Sorry for all the questions on this I’m trying to work the problem.
.MMM-OpenWeatherForecast .weather-alert .weather-alert-description { display: 1; }, .MMM-OpenWeatherForecast .weather-alert .weather-alert-source { display: none; }, .MMM-OpenWeatherForecast .weather-alert .weather-alert-description { -webkit-line-clamp: 2; /* adjust this as desired */ }
-
RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast
@j-e-f-f Last thing is it possible to just get the red to display and nothing else? Yea that’s right it’s FN 69 out here in NJ!

-
RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast
@j-e-f-f thanks bro!
-
RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast
@j-e-f-f said in MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast:
@swvalenti yes you can. The weather alerts are part of the summary section. OpenWeather returns such a short summary that I didn’t think it necessary to make two separate configure. Two ways to turn off the alerts:
- set
summary : false - if you want the summary but not the alerts, you can hide them in your custom css as follows:
.MMM-OpenWeatherForecast .weather-alert { display: none; }I think I’ll look at a way to truncate weather alerts so they don’t take up so much space.
Awesome thanks @j-e-f-f !
- set
-
RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast
@j-e-f-f Anyway to hide the special weather advisory? Really jacks up my layout, I took a look at config but nothing stood out.
Thanks
-
RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast
@j-e-f-f Am I missing a way to turn off current weather alerts? Once a weather alert like high wind or snow it drops my tables down and throws other modules off.
-
RE: MMM-DarkSkyForecast - Yet ANOTHER weather module
Got it up and running looks sharp, I have one minor request as my OCD kicks in. Can the throughout the week line up better with the hourly above like the icons and other data sets? See picture, hope I made sense.

-
RE: MMM-DarkSkyForecast - Yet ANOTHER weather module
@j-e-f-f outstanding thanks Jeff I am going to give a go and report back if anything!
-
RE: MMM-DarkSkyForecast - Yet ANOTHER weather module
@sdetweil said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
@swvalenti u getting invalid files? me too
@sdetweil Yes sir invalid files
-
RE: MMM-DarkSkyForecast - Yet ANOTHER weather module
Mine still working just fine…what is not working is uploading a small .jpg file to the forum since update.