@sdetweil I finally got it! Your hint on another forum post plus this… finally made sense to me after I stared at it a while.
for anyone else…
- The pages module works on class names not actual module names.
- MagicMirror uses the module name as the default css class for that module.
- you don’t have to use the default class name in the pages module config, you can use the additional class you gave it instead.
so parts of my config now look like this:
{
module: "weather",
classes: "nbweather",
position: "top_right",
config: {
weatherProvider: "openweathermap",
type: "current",
location: "New Braunfels",
locationID: "4714131", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: "xxxxxxxxxxxxx"
}
},
{
module: "weather",
classes: "nbweather",
position: "top_right",
header: "Weather Forecast",
config: {
weatherProvider: "openweathermap",
type: "forecast",
colored: true,
showPrecipitationAmount: true,
location: "New Braunfels",
locationID: "4714131", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: "xxxxxxxxxxxxxxxxxxxxxx"
}
},
{
module: "weather",
position: "top_right",
classes: "altusweather",
header: "Altus Weather",
config: {
weatherProvider: "openweathermap",
type: "current",
location: "Altus",
locationID: "4529292", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxx"
}
},
and the config section for my pages module looks like this:
module: 'MMM-pages',
config: {
modules:
[[ "clock", "calendar", "nbweather", "compliments"],
[ "clock","MMM-SolarPicture","MMM-APOD","MMM-NewsAPI"],
[ "altusweather","MMM-MyScoreboard"]
],
As you can see I used the class I gave each instance of the module instead of the module’s default class name.