View difference between Paste ID: RHKPhRMC and JP417taT
SHOW: | | - or go back to the newest paste.
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
11
var 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: 12,
26
	units: "imperial",
27
28
	modules: [
29
		{
30
			module: "alert",
31
		},
32
		{
33
			module: "updatenotification",
34
			position: "top_bar"
35
		},
36
		{
37
			module: "clock",
38
			position: "top_left"
39
		},
40
        {
41
            module: "MMM-NowPlayingOnSpotify",
42
            position: "top_right",
43
            config: {
44
                clientID: "9ca2c3cbd3b44edf99aaf774f62f84a6",
45
                clientSecrent: "24d6c1af133142d3b100498c996e3754",
46
                accessToken: "BQDgEwzHQlgxYdLsHSSJE_9TCB4lFCmPBIzEQJZ6FcFr9RC9wrxFcDSBMRZ7uOwVaXDfpPDGOA2UiaH_fN6hiubHPRNqLLAz--q41oFuCD85dZoRp1TA0fhFWFPRnfxL9Z4CbiIVhGDRBw6allIc_26RWoE3",
47
                refreshToken: "AQAgBjxuvzpaYo_sCQgSKD5BHSLq6zxGSLuvRr7p8Q3jSxcDQDk5UVeQfWibL3fj6aHO34uaYNbTYOaOGU2gtIf_f6jfoEnvn5yZfAbmNJT8cLxecADkCMd8DfrSCk3rIQ_teA"
48
                } 
49
        },
50
		{
51
			module: "calendar",
52
			header: "US Holidays",
53
			position: "top_left",
54
			config: {
55
				calendars: [
56
					{
57
						symbol: "calendar-check-o ",
58
						url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
59
					}
60
				]
61
			}
62
		},
63
		{
64
			module: "compliments",
65
			position: "lower_third"
66
		},
67
		{
68
			module: "currentweather",
69
			position: "top_right",
70
			config: {
71
				location: "Ontario, OH",
72
				locationID: "5379439",  //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city
73
				appid: "d997016f18704fb7b63f7a99d5ff6019"
74
			        }
75
        },
76
		{
77
			module: "newsfeed",
78
			position: "bottom_bar",
79
			config: {
80
				feeds: [
81
					{
82
						title: "Recent Tech News",
83
						url: "https://www.techmeme.com/feed.xml"
84
					}
85
				],
86
				showSourceTitle: true,
87
				showPublishDate: true
88
			}
89
		},
90
	]
91
92
};
93
94
/*************** DO NOT EDIT THE LINE BELOW ***************/
95
if (typeof module !== "undefined") {module.exports = config;}