It won’t let me post the config but it’s straight out of the documentation with the exception of
focus_on: [‘Brewers’],
It won’t let me post the config but it’s straight out of the documentation with the exception of
focus_on: [‘Brewers’],
Re: MMM-MLB
Any idea what this is? Is it just that there aren’t any games yet? Below the error is a copy of the MMM-MLB config.js section:
[2020-11-29 09:46:44.200] [ERROR] Whoops! There was an uncaught exception…
[2020-11-29 09:46:44.202] [ERROR] TypeError: Cannot read property ‘home_team_name’ of undefined
at /home/pi/MagicMirror/modules/MMM-MLB/node_helper.js:53:44
at Array.filter ()
at Class.processScoreboard (/home/pi/MagicMirror/modules/MMM-MLB/node_helper.js:52:43)
at Request._callback (/home/pi/MagicMirror/modules/MMM-MLB/node_helper.js:33:22)
at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
at Request.emit (events.js:200:13)
at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1154:10)
at Request.emit (events.js:200:13)
at IncomingMessage. (/home/pi/MagicMirror/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:288:20)
I have several other modules working just fine. I’m using MMM-Carousel as well and I have MMM-MyScoreboard on my second slide. I’ve tried getting rid of Carousel for a bit to see if I could get MyScoreboard working but it just shows the header for like one second and then there is nothing. Here is my config portions that include Carousel and MyScoreboard config (I apologize, the json formatting didn’t stick with the copy/paste:
{
module: “MMM-Carousel”,
position: ‘bottom_bar’,
config: {
transitionInterval: 60000,
showPageIndicators: true,
showPageControls: true,
ignoreModules: [‘clock’, ‘alert’, ‘calendar’, ‘MMM-GooglePhotos’],
mode: ‘slides’,
slides: [
[‘currentweather’, ‘weatherforecast’, ‘MMM-PaprikaMenu’, ‘MMM-Todoist’],
[‘MMM-MyScoreboard’, ‘newsfeed’, ‘MMM-Jast’],
],
},
},
{
module: “MMM-MyScoreboard”,
position: “top_right”,
classes: “default everyone”,
header: “My Scoreboard”,
config: {
showLeagueSeparators: true,
colored: true,
viewStyle: “mediumLogos”,
rolloverHours: 10,
showRankings: true,
sports: [
{
league: “MLB”,
teams: [“MIL”]
},
{
league: “NFL”,
teams: [“GB”]
},
{
league: “NHL”,
teams: [“NSH”]
},
{
league: “NBA”,
teams: [“MIL”]
},
{
league: “NCAAF”,
teams: [“WIS”]
},
{
league: “NCAAM”,
teams: [“WIS”]
},
],
},
},