I’m unsure what that userConfig.modules is, from my googling it seems maybe related to node.js?
Here is the entire config.js. The last 5 lines look similar to the sample config:
let config = {
modules: [
{
module: "MMM-MagicMover",
},
{
module: "clock",
position: "top_bar",
config: {
timeFormat: 12,
displaySeconds: false,
dateFormat: "dddd, MMMM D",
}
},
{
module: "weather",
position: "top_center",
config: {
weatherProvider: "weathergov",
type: "current",
tempUnits: "imperial",
roundTemp: true,
showFeelsLike: false,
colored: true,
showSun: false,
lat: "xxxxxx",
lon: "xxxxxxx",
}
},
{
module: "MMM-Jast",
position: "middle_center",
config: {
displayMode: "none",
stocks: [
{ name: 'DJIA', symbol: 'DIA' },
{ name: 'SP500', symbol: 'VOO' }
]
}
},
{
disabled: true,
module: "MMM-NowPlayingOnSpotify",
position: "bottom_center",
config: {
showCoverArt: false,
clientID: "<YOUR_CLIENT_ID>",
clientSecret: "<YOUR_CLIENT_SECRET>",
accessToken: "<YOUR_ACCESS_TOKEN>",
refreshToken: "<YOUR_REFRESH_TOKEN>"
}
},
]
};