let config = {
address: “localhost”,
port: 8080,
basePath: “/”,
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”],
language: "en",
locale: "en-GB",
timeFormat: 24,
units: "metric",
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left",
},
{
module: "calendar",
position: "top_left",
config: {
calendars: [{
symbol: "calendar-check",
url: "https://calendar.google.com/calendar/ical/jamesharris4191%40gmail.com/private-a9dbbb5842466e98dfa403a4f00fc787/basic.ics"
}]
}
},
{
}
},
{
module: "MMM-UKNationalRail",
position: "top_left",
module: "weather",
position: "top_right",
config: {
weatherProvider: "openmeteo",
type: "current",
lat: 51.575,
lon: 0.180
}
},
{
module: "MMM-BackgroundSlideshow",
position: "fullscreen_below",
config: {
imagePaths: ["modules/MMM-BackgroundSlideshow/exampleImages/"],
transitionInterval: 20000,
slideshowSpeed: 20000,
header: "Romford Station",
config: {
stationCode: "ROM",
app_id: "099938b9", // <--- CHANGE THIS
app_key: "6ef71984b273400141cb5dbc847aed00", // <--- CHANGE THIS
maxResults: 5,
updateInterval: 600000 // 10 minutes
}
},
{
module: "MMM-UKLiveBusStopInfo",
position: "top_right",
header: "Romford Market Buses",
config: {
atcocode: "490011659G",
app_id: "099938b9", // <--- CHANGE THIS (same as above)
app_key: "6ef71984b273400141cb5dbc847aed00", // <--- CHANGE THIS (same as above)
nextBuses: "yes",
showRealTime: true,
updateInterval: 300000 // 5 minutes
}
},
{
module: "MMM-page-indicator",
position: "bottom_bar",
config: { pages: 4 }
},
{
module: "MMM-pages",
config: {
modules: [
["calendar", "weather", "clock"],
["MMM-SoccerLiveScore"],
["MMM-UKNationalRail", "MMM-UKLiveBusStopInfo"],
[]
],
fixed: ["alert", "updatenotification", "MMM-BackgroundSlideshow", "MMM-page-indicator"],
timings: { default: 20000 }
}
}
]
};
if (typeof module !== “undefined”) {module.exports = config;}