· 4 years ago · Mar 16, 2021, 10:54 AM
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 * valid positions are: top_bar, top_left, top_center, top_right, upper_third, middle_center, lower_third, bottom_left, bottom_center, bottom_right, bottom_bar, fullscreen_above, and fullscreen_below.
9 *
10 */
11
12var config = {
13 address: "localhost", // Address to listen on, can be:
14 // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
15 // - another specific IPv4/6 to listen on a specific interface
16 // - "", "0.0.0.0", "::" to listen on any interface
17 // Default, when address config is left out, is "localhost"
18 port: 8080,
19 ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
20 // or add a specific IPv4 of 192.168.1.5 :
21 // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
22 // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
23 // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
24
25 language: "en",
26 timeFormat: 12,
27 units: "metric",
28
29 modules: [
30 {
31 module: 'MMM-CalendarExt',
32 // git clone https://github.com/eouia/MMM-CalendarExt.git
33 position: "fullscreen_below", //anywhere. It is not related to real position of view
34 config: { // Read below
35 system:{
36 show: ['month'],
37 redrawInterval: 30*60*1000
38 },
39 defaultcalendar: {
40 styleName: "style10",
41 },
42 defaultView: {
43 position: 'fullscreen_above',
44 OnlyStartingTime: 1,
45 showWeeks: 0,
46 },
47 views: {
48 month: {
49 showWeeks: 0
50 }
51 },
52 calendars: [
53 {
54 name: 'Winnipeg_Jets',
55 styleName: "style116",
56 symbol: "ice_hockey_stick_and_puck@em",
57 url: "https://calendar.google.com/calendar/ical/kfee01hah9dkuo73a5uc44e694%40group.calendar.google.com/public/basic.ics"
58 },
59 {
60 name: 'bombers_football',
61 styleName: "style15",
62 symbol: "football@em",
63 url: "https://media.cfldb.ca/schedules/winnipeg-2019-home.ics"
64 }
65 ],
66
67 }
68 },
69 {
70 disabled: false,
71 module: "MMM-BMW-DS",
72 // git clone https://github.com/mykle1/MMM-BMW-DS
73 position: "bottom_bar", // bottom_bar is best
74 config: {
75 apiKey: "APIKEY", // Free API key @ darksky.net
76 tempUnits: "C", // MUST BE CAPITAL LETTER C or F
77 lat: '49.797286',
78 lng: '-97.143954',
79 css: "1", // 1=default, 2=Clean, 3=Lord of the Rings, 4=handwriting, 5=Julee, 6=Englebert, "" = returns default css
80 ownTitle: "Current Conditions", // Use your own language and statement
81 playSounds: "yes", // yes = weather sounds, no = no weather sounds
82 useHeader: true,
83 header: "Winnipeg Weather",
84 maxWidth: "100%",
85 }
86 },
87 {
88 module: "MMM-MyScoreboard",
89 // git clone https://github.com/jclarke0000/MMM-MyScoreboard
90 position: "bottom_right",
91 classes: "default everyone",
92 header: "Current Scores",
93 config: {
94 showLeagueSeparators: true,
95 colored: true,
96 rolloverHours: 5,
97 viewStyle: "smallLogos",
98 sports: [
99 {
100 league: "CFL"
101 },
102 {
103 league: "NHL"
104 },
105 {
106 league: "NFL"
107 },
108 //{
109 // league: "MLB"
110 //}
111
112 ]
113 }
114 },
115
116
117 {
118 module: "MMM-Wallpaper",
119 // git clone https://github.com/kolbyjack/MMM-Wallpaper.git
120 position: "fullscreen_below",
121 config: {
122 // See "Configuration options" for more information.
123 source: "bing",
124 slideInterval: 30 * 1000 // Change slides every minute
125 }
126 },
127 {
128 module: "MMM-MyCalendar",
129 // git clone https://github.com/jclarke0000/MMM-MyCalendar.git
130 header: "Upcoming Events",
131 position: "bottom_left",
132 config: {
133 colored: true,
134 maxtitlelength: 30,
135 maximumEntries:7,
136 hideOngoing: false,
137 showLocation: false,
138 useRelativeDates: true,
139 calendars: [
140 {
141 symbol: "Winnipeg Jets",
142 url: "https://calendar.google.com/calendar/htmlembed?src=nhl_28_%2557innipeg%2B%254aets%23sports%40group.v.calendar.google.com&ctz=America%2FWinnipeg",
143 color: "#105bfb"
144 },
145 {
146 symbol: 'Bombers_Football',
147 url: "https://media.cfldb.ca/schedules/winnipeg-2019-home.ics",
148 color: "#FFFF00"
149 }
150 ]
151 }
152 }
153 ]
154 };
155
156/*************** DO NOT EDIT THE LINE BELOW ***************/
157if (typeof module !== "undefined") {module.exports = config;}