forked from barnabycolby/MMM-Carousel
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdemo.config.slides.js
More file actions
103 lines (102 loc) · 2.06 KB
/
demo.config.slides.js
File metadata and controls
103 lines (102 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
const config = {
address: "0.0.0.0",
logLevel: [
"INFO",
"LOG",
"WARN",
"ERROR",
"DEBUG"
],
modules: [
{
module: "alert"
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "US Holidays",
position: "top_left",
config: {
calendars: [
{
fetchInterval: 7 * 24 * 60 * 60 * 1000,
symbol: "calendar-check",
url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics"
}
]
}
},
{
module: "compliments",
position: "lower_third"
},
{
module: "weather",
position: "top_right",
config: {
weatherProvider: "openmeteo",
type: "current",
lat: 40.776676,
lon: -73.971321
}
},
{
module: "weather",
position: "top_right",
header: "Weather Forecast",
config: {
weatherProvider: "openmeteo",
type: "forecast",
lat: 40.776676,
lon: -73.971321
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "New York Times",
url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
}
],
showSourceTitle: true,
showPublishDate: true,
broadcastNewsFeeds: true,
broadcastNewsUpdates: true
}
},
{
module: "MMM-Carousel",
position: "bottom_bar",
config: {
transitionInterval: 10000,
showPageIndicators: true,
showPageControls: true,
enableKeyboardControl: true,
ignoreModules: ["clock"],
mode: "slides",
slides: [
[
"calendar",
"compliments"
],
["weather"],
["newsfeed"]
]
}
}
]
};
/** ************* DO NOT EDIT THE LINE BELOW */
if (typeof module !== "undefined") {
module.exports = config;
}