|
var config = { |
|
address: "0.0.0.0", // Address to listen on, can be: |
|
port: 8080, |
|
basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy |
|
ipWhitelist: [], // Set [] to allow all IP addresses |
|
useHttps: false, // Support HTTPS or not, default "false" will use HTTP |
|
httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true |
|
httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true |
|
language: "cv", |
|
logLevel: ["INFO", "LOG", "WARN", "ERROR"], |
|
timeFormat: 24, |
|
units: "metric", |
|
serverOnly: true, //false/"local" , |
|
// local for armv6l processors, default |
|
// starts serveronly and then starts chrome browser |
|
// false, default for all NON-armv6l devices |
|
// true, force serveronly mode, because you want to.. no UI on this device |
|
|
|
modules: [ |
|
{ |
|
module: "alert", |
|
}, |
|
{ |
|
module: "updatenotification", |
|
position: "top_bar" |
|
}, |
|
{ |
|
module: "clock", |
|
position: "top_left" |
|
}, |
|
{ |
|
module: "compliments", |
|
position: "lower_third", |
|
config: { "remoteFile": "https://raw.githubusercontent.com/mirontoli/MagicMirrorCompliments/main/cv.json" } |
|
}, |
|
{ |
|
module: "currentweather", |
|
position: "top_right", |
|
config: { |
|
location: "Lund", |
|
locationID: "2693678", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city |
|
appid: "348..." |
|
} |
|
}, |
|
{ |
|
module: "weatherforecast", |
|
position: "top_right", |
|
header: "Weather Forecast", |
|
config: { |
|
location: "Lund", |
|
locationID: "2693678", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city |
|
appid: "348..." |
|
} |
|
}, |
|
{ |
|
module: "newsfeed", |
|
position: "bottom_bar", |
|
config: { |
|
feeds: [ |
|
{ |
|
title: "chuvash.org", |
|
url: "https://chuvash.org/rss.xml" |
|
}, |
|
{ |
|
title: "Suvar", |
|
url: "http://suvargazeta.ru/rss" |
|
}, |
|
{ |
|
title: "Hypar", |
|
url: "http://hypar.ru/cv/rss.xml" |
|
} |
|
], |
|
showSourceTitle: true, |
|
showPublishDate: true, |
|
broadcastNewsFeeds: true, |
|
broadcastNewsUpdates: true |
|
} |
|
}, |
|
] |
|
}; |
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/ |
|
if (typeof module !== "undefined") {module.exports = config;} |