· 6 years ago · Feb 20, 2020, 07:08 PM
1/* Magic Mirror Config Sample
2 *
3 * By Michael Teeuw http://michaelteeuw.nl
4 * MIT Licensed.
5 *
6 * For more information how you can configurate this file
7 * See https://github.com/MichMich/MagicMirror#configuration
8 *
9 */
10
11var config = {
12 address: "localhost", // Address to listen on, can be:
13 // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
14 // - another specific IPv4/6 to listen on a specific interface
15 // - "", "0.0.0.0", "::" to listen on any interface
16 // Default, when address config is left out, is "localhost"
17 port: 8080,
18 ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
19 // or add a specific IPv4 of 192.168.1.5 :
20 // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
21 // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
22 // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
23
24 language: "en",
25 timeFormat: 24,
26 units: "metric",
27 // serverOnly: true/false/"local" ,
28 // local for armv6l processors, default
29 // starts serveronly and then starts chrome browser
30 // false, default for all NON-armv6l devices
31 // true, force serveronly mode, because you want to.. no UI on this device
32
33 modules: [
34 {
35 module: "alert",
36 },
37 {
38 module: "updatenotification",
39 position: "top_bar"
40 },
41 {
42 module: "clock",
43 position: "top_left"
44 },
45 {
46 module: 'MMM-MyDutchWeather',
47 position: 'top_left',
48 header: 'Breda',
49 config: {
50 latitude: 51.607550, // Latitude of your city
51 longitude: 4.806320, // Longitude of your city
52 apiKey: "cfed0c8047", // API Key - Get for free at http://weerlive.nl/api/toegang/index.php
53 showIcons: true, // Display Icons or Text
54 showExtra: true, // Display additional weather information
55 maxWidth: "500px" // Max width wrapper
56 }
57 },
58 {
59 module: "compliments",
60 position: "lower_third"
61 },
62 {
63 module: "newsfeed",
64 position: "bottom_bar",
65 config: {
66 feeds: [
67 {
68 title: "New York Times",
69 url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
70 }
71 ],
72 showSourceTitle: true,
73 showPublishDate: true,
74 broadcastNewsFeeds: true,
75 broadcastNewsUpdates: true
76 }
77 },
78 ]
79
80};
81
82/*************** DO NOT EDIT THE LINE BELOW ***************/
83if (typeof module !== "undefined") {module.exports = config;}