Here my current config that I’m building, works quite well.
These I will now equip with more modules and expand to up to 5 pages. But I need a lot of time because I have to check each module if all commons are set correctly.
/* Magic Mirror Config Sample
*
* For more information how you can configurate this file
* See https://github.com/MichMich/MagicMirror#configuration
*
*/
var config = {
address: "0.0.0.0",
//address: "192.168.178.44",
//address: "localhost", // Address to listen on, can be:
//port: 8080,
port: 8080,
ipWhitelist: [],
//ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], // Set [] to allow all IP addresses
language: "de",
timeFormat: 24,
units: "metric",
modules: [
{
module: 'MMM-DWD-WarnWeather',
position: 'top_bar',
header: 'Wieslauf',
config: {
region: 'Rudersberg',
changeColor: true,
displayRegionName: false,
interval: 3 * 60 * 1000, // every 10 minutes
loadingText: 'Warnungen werden geladen...',
noWarningText: 'Keine Warnungen'
}
},
{
module: 'MMM-DWD-WarnWeather',
position: 'top_bar',
header: 'Strohgäu',
config: {
region: 'Hemmingen / BW',
changeColor: true,
displayRegionName: false,
interval: 3 * 60 * 1000, // every 10 minutes
loadingText: 'Warnungen werden geladen...',
noWarningText: 'Keine Warnungen'
}
},
{
module: 'MMM-DWD-WarnWeather',
position: 'top_bar',
header: 'Schönbuch',
config: {
region: 'Dettenhausen',
changeColor: true,
displayRegionName: false,
interval: 3 * 60 * 1000, // every 10 minutes
loadingText: 'Warnungen werden geladen...',
noWarningText: 'Keine Warnungen'
}
},
{
module: 'MMM-DWD-WarnWeather',
position: 'top_bar',
header: 'Täles',
config: {
region: 'Neuffen',
changeColor: true,
displayRegionName: false,
interval: 3 * 60 * 1000, // every 10 minutes
loadingText: 'Warnungen werden geladen...',
noWarningText: 'Keine Warnungen'
}
},
{
module: 'MMM-DWD-WarnWeather',
position: 'top_bar',
header: 'Rossberg',
config: {
region: 'Wolfegg',
changeColor: true,
displayRegionName: false,
interval: 3 * 60 * 1000, // every 10 minutes
loadingText: 'Warnungen werden geladen...',
noWarningText: 'Keine Warnungen'
}
},
{
module: "clock",
position: "middle_center",
config: {
showDate: false,
displayType: 'analog',
analogSize: '540px',
analogFace: 'face-001',
secondsColor: '#FF0000',
analogPlacement: 'top',
//analogShowDate: 'bottom',
}
},
{
module: "clock",
position: "bottom_center",
},
{
module: "currentweather",
position: "top_right",
config: {
lang: "de",
location: "Beinstein",
locationID: "3220785", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "removed-xxxxxxxxxxx"
}
},
{
module: "MMM-PublicTransportHafas",
position: "bottom_right",
config: {
stationID: "008007193", // Replace with your stationID!
headerPrefix: "von",
stationName: "Miedelsbach", // Replace with your station name!
direction: "", // Show only departures heading to this station. (A station ID.)
ignoredLines: [], // Which lines should be ignored? (comma-separated list of line names)
excludedTransportationTypes: ["bus"], // Which transp not be shown (, list) values:StN tram, BuN bus, s suburban
timeInFuture: 240,
showColoredLineSymbols: true, // Want colored line symbols?
useColorForRealtimeInfo: true, // Want colored real time information (timeToStation, early)?
showTableHeadersAsSymbols: true, // Table Headers as symbols or text?
maxUnreachableDepartures: 1, // How many unreachable departures should be shown?
maxReachableDepartures: 5, // How many reachable departures should be shown?
customLineStyles: "hafas", // Prefix for the name of the custom css file. ex: Leipzig-lines.css (case sensitive)
showOnlyLineNumbers: false // Display only the line number instead of the complete name, i. e. "11" instead of "STR 11"
}
},
{
module: "MMM-PublicTransportHafas",
position: "bottom_right",
config: {
stationID: "008007446", // Replace with your stationID!
headerPrefix: "von",
stationName: "Frickenhausen", // Replace with your station name!
direction: "", // Show only departures heading to this station. (A station ID.)
ignoredLines: [], // Which lines should be ignored? (comma-separated list of line names)
excludedTransportationTypes: ["bus"], // Which transp not be shown (, list) values:StN tram, BuN bus, s suburban
timeInFuture: 240,
showColoredLineSymbols: true, // Want colored line symbols?
useColorForRealtimeInfo: true, // Want colored real time information (timeToStation, early)?
showTableHeadersAsSymbols: true, // Table Headers as symbols or text?
maxUnreachableDepartures: 1, // How many unreachable departures should be shown?
maxReachableDepartures: 5, // How many reachable departures should be shown?
customLineStyles: "hafas", // Prefix for the name of the custom css file. ex: Leipzig-lines.css (case sensitive)
showOnlyLineNumbers: false // Display only the line number instead of the complete name, i. e. "11" instead of "STR 11"
}
},
{
module: "MMM-PublicTransportHafas",
position: "bottom_left",
config: {
stationID: "008003409",// Replace with your stationID!
headerPrefix: "von",
stationName: "Korntal DB", // Replace with your station name!
direction: "", // Show only departures heading to this station. (A station ID.)
ignoredLines: [], // Which lines should be ignored? (comma-separated list of line names)
excludedTransportationTypes: ["bus", "Fernverkehr"], // Which transp not be shown (, list) values:StN tram, BuN bus, s suburban
timeInFuture: 240,
showColoredLineSymbols: true, // Want colored line symbols?
useColorForRealtimeInfo: true, // Want colored real time information (timeToStation, early)?
showTableHeadersAsSymbols: true, // Table Headers as symbols or text?
maxUnreachableDepartures: 1, // How many unreachable departures should be shown?
maxReachableDepartures: 5, // How many reachable departures should be shown?
customLineStyles: "hafas", // Prefix for the name of the custom css file. ex: Leipzig-lines.css (case sensitive)
showOnlyLineNumbers: false // Display only the line number instead of the complete name, i. e. "11" instead of "STR 11"
}
},
{
module: "MMM-PublicTransportHafas",
position: "bottom_left",
config: {
//stationID: "008007325",// Replace with your stationID!
stationID: "000557824",// Replace with your stationID!
headerPrefix: "von",
stationName: "Münchingen", // Replace with your station name!
direction: "", // Show only departures heading to this station. (A station ID.)
ignoredLines: [], // Which lines should be ignored? (comma-separated list of line names)
excludedTransportationTypes: ["bus"], // Which transp not be shown (, list) values:StN tram, BuN bus, s suburban
timeInFuture: 240,
showColoredLineSymbols: true, // Want colored line symbols?
useColorForRealtimeInfo: true, // Want colored real time information (timeToStation, early)?
showTableHeadersAsSymbols: true, // Table Headers as symbols or text?
maxUnreachableDepartures: 1, // How many unreachable departures should be shown?
maxReachableDepartures: 5, // How many reachable departures should be shown?
customLineStyles: "hafas", // Prefix for the name of the custom css file. ex: Leipzig-lines.css (case sensitive)
showOnlyLineNumbers: false // Display only the line number instead of the complete name, i. e. "11" instead of "STR 1
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}