This is my config:
/* Magic Mirror Config Sample
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*
* For more information how you can configurate this file
* See https://github.com/MichMich/MagicMirror#configuration
*
*/
var config = {
//address: "localhost", // Address to listen on, can be:
address: "0.0.0.0",
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "", "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out, is "localhost"
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.123.X"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
language: "nl",
timeFormat: 24,
units: "metric",
modules: [
{
module: "newsfeed",
position: "top_bar",
config: {
feeds: [
{
title: "Nu.nl",
url: "https://www.nu.nl/rss/Algemeen"
},
{
title: "Nu.nl",
url: "https://www.nu.nl/rss/Internet"
}
],
showSourceTitle: false,
showPublishDate: false
}
},
{
module: "clock",
position: "top_left"
},
{
module: 'MMM-SmartWebDisplay',
position: 'middle_center', // This can be any of the regions.
config: {
// See 'Configuration options' for more information.
logDebug: false, //set to true to get detailed debug logs. To see them : "Ctrl+Shift+i"
height:"100%", //hauteur du cadre en pixel ou %
width:"100%", //largeur
updateInterval: 0, //in min. Set it to 0 for no refresh (for videos)
NextURLInterval: 0, //in min, set it to 0 not to have automatic URL change. If only 1 URL given, it will be updated
displayStateInfos: false, //to display if the module is on autoloop, or stop.
displayLastUpdate: true, //to display the last update of the URL
displayLastUpdateFormat: 'ddd - HH:mm:ss', //format of the date and time to display
url: [""], //source of the URL to be displayed
scrolling: "no" // allow scrolling or not. html 4 only
}
},
{
module: 'MMM-Remote-Control',
// uncomment the following line to show the URL of the remote control on the mirror
// , position: 'bottom_left'
// you can hide this module afterwards from the remote control itself
position: "bottom_left",
config: {
customCommand: {}, // Optional, See "Using Custom Commands" below
customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
showModuleApiMenu: true, // Optional, Enable the Module Controls menu
apiKey: "", // Optional, See API/README.md for details
}
},
{
module: "currentweather",
position: "top_right",
config: {
location: "Meppel",
locationID: "2750947", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "c3494d09f5358b30a53a3167af88d38d"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
location: "Meppel",
locationID: "2750947", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "c3494d09f5358b30a53a3167af88d38d"
}
},
{
module: "compliments",
position: "", // This can be any of the regions.
// Best results in one of the middle regions like: lower_third
config: {
compliments: {
day_sunny: [
"Today is a sunny day",
"It's a beautiful day"
],
snow: [
"Snowball battle!"
],
rain: [
"Don't forget your umbrella"
],
anytime: [
"Hey there sexy!"
],
morning: [
"Good morning, handsome!",
"Enjoy your day!",
"How was your sleep?",
"Good morning, sunshine!",
"Who needs coffee when you have your smile?",
"Go get 'em, Tiger!"
],
afternoon: [
"Hello, beauty!",
"You look sexy!",
"Looking good today!",
"Hitting your stride!",
"You are making a difference!",
"You're more fun than bubble wrap!"
],
evening: [
"Wow, you look hot!",
"You look nice!",
"Hi, sexy!",
"You made someone smile today, I know it.",
"You are making a difference.",
"The day was better for your efforts."
],
}
}
}
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}