|
1 | 1 | let config = { |
2 | | - address: "0.0.0.0", |
| 2 | + address: '0.0.0.0', |
3 | 3 | ipWhitelist: [], |
4 | | - logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"], |
| 4 | + logLevel: ['INFO', 'LOG', 'WARN', 'ERROR', 'DEBUG'], |
5 | 5 | modules: [ |
6 | 6 | { |
7 | | - module: "clock", |
8 | | - position: "middle_center" |
| 7 | + module: 'clock', |
| 8 | + position: 'middle_center', |
9 | 9 | }, |
10 | 10 |
|
11 | 11 | { |
12 | 12 | disabled: true, |
13 | | - module: "MMM-OneCallWeather", |
14 | | - position: "top_right", |
15 | | - header: "TOTO", |
| 13 | + module: 'MMM-OneCallWeather', |
| 14 | + position: 'top_right', |
| 15 | + header: 'TOTO', |
16 | 16 | config: |
17 | 17 | { |
18 | 18 | latitude: 45.466667, |
19 | 19 | longitude: -73.75, |
20 | | - apikey: "YOUR_API_KEY", |
21 | | - iconset: "4a", |
22 | | - iconsetFormat: "png", |
23 | | - layout: "vertical" |
24 | | - } |
| 20 | + apikey: 'YOUR_API_KEY', |
| 21 | + iconset: '4a', |
| 22 | + iconsetFormat: 'png', |
| 23 | + layout: 'vertical', |
| 24 | + }, |
25 | 25 | }, |
26 | 26 |
|
27 | 27 | { |
28 | 28 | disabled: true, |
29 | | - module: "MMM-OneCallWeather", |
30 | | - header: "Weather in London", |
31 | | - position: "top_right", |
| 29 | + module: 'MMM-OneCallWeather', |
| 30 | + header: 'Weather in London', |
| 31 | + position: 'top_right', |
32 | 32 | config: { |
33 | 33 | colored: false, |
34 | | - iconset: "9a", |
35 | | - iconsetFormat: "svg", |
| 34 | + iconset: '9a', |
| 35 | + iconsetFormat: 'svg', |
36 | 36 |
|
37 | | - latitude: "51.500149", |
38 | | - longitude: "-0.126240", |
39 | | - apikey: "YOUR_API_KEY" |
40 | | - } |
| 37 | + latitude: '51.500149', |
| 38 | + longitude: '-0.126240', |
| 39 | + apikey: 'YOUR_API_KEY', |
| 40 | + }, |
41 | 41 | }, |
42 | 42 | { |
43 | 43 | disabled: true, |
44 | | - module: "MMM-OneCallWeather", |
45 | | - position: "top_left", |
46 | | - header: "TOTO", |
| 44 | + module: 'MMM-OneCallWeather', |
| 45 | + position: 'top_left', |
| 46 | + header: 'TOTO', |
47 | 47 | config: { |
48 | | - latitude: "45.466667", |
49 | | - longitude: "-73.75", |
50 | | - apikey: "YOUR_API_KEY", |
51 | | - iconset: "4a", |
52 | | - iconsetFormat: "png" |
53 | | - } |
| 48 | + latitude: '45.466667', |
| 49 | + longitude: '-73.75', |
| 50 | + apikey: 'YOUR_API_KEY', |
| 51 | + iconset: '4a', |
| 52 | + iconsetFormat: 'png', |
| 53 | + }, |
54 | 54 | }, |
55 | 55 | { |
56 | 56 | disabled: true, |
57 | | - module: "MMM-OneCallWeather", |
58 | | - position: "top_left", |
59 | | - header: "TOTO", |
| 57 | + module: 'MMM-OneCallWeather', |
| 58 | + position: 'top_left', |
| 59 | + header: 'TOTO', |
60 | 60 | config: { |
61 | | - layout: "vertical", |
62 | | - latitude: "45.466667", |
63 | | - longitude: "-73.75", |
64 | | - apikey: "YOUR_API_KEY", |
65 | | - iconset: "4a", |
66 | | - iconsetFormat: "png" |
67 | | - } |
| 61 | + layout: 'vertical', |
| 62 | + latitude: '45.466667', |
| 63 | + longitude: '-73.75', |
| 64 | + apikey: 'YOUR_API_KEY', |
| 65 | + iconset: '4a', |
| 66 | + iconsetFormat: 'png', |
| 67 | + }, |
68 | 68 | }, |
69 | 69 |
|
70 | 70 | { |
71 | 71 | disabled: true, |
72 | | - module: "MMM-OneCallWeather", |
73 | | - position: "top_left", |
74 | | - header: "Weather in London", |
| 72 | + module: 'MMM-OneCallWeather', |
| 73 | + position: 'top_left', |
| 74 | + header: 'Weather in London', |
75 | 75 | config: { |
76 | | - latitude: "51.500149", |
77 | | - longitude: "-0.126240", |
78 | | - apikey: "YOUR_API_KEY", |
79 | | - displayMode: "both-vertical" |
80 | | - } |
| 76 | + latitude: '51.500149', |
| 77 | + longitude: '-0.126240', |
| 78 | + apikey: 'YOUR_API_KEY', |
| 79 | + displayMode: 'both-vertical', |
| 80 | + }, |
81 | 81 | }, |
82 | 82 | { |
83 | 83 | disabled: false, |
84 | | - module: "MMM-OneCallWeather", |
85 | | - position: "top_left", |
86 | | - header: "Weather in London", |
| 84 | + module: 'MMM-OneCallWeather', |
| 85 | + position: 'top_left', |
| 86 | + header: 'Weather in London', |
87 | 87 | config: { |
88 | | - layout: "vertical", |
89 | | - latitude: "51.500149", |
90 | | - longitude: "-0.126240", |
91 | | - apikey: "YOUR_API_KEY", |
| 88 | + layout: 'vertical', |
| 89 | + latitude: '51.500149', |
| 90 | + longitude: '-0.126240', |
| 91 | + apikey: 'YOUR_API_KEY', |
92 | 92 | showCurrent: true, |
93 | 93 | showForecast: true, |
94 | 94 | showAlerts: true, |
95 | | - forecastLayout: "columns", |
96 | | - arrangement: "horizontal" |
97 | | - } |
| 95 | + forecastLayout: 'columns', |
| 96 | + arrangement: 'horizontal', |
| 97 | + }, |
98 | 98 | }, |
99 | 99 | { |
100 | 100 | disabled: false, |
101 | | - module: "MMM-OneCallWeather", |
102 | | - position: "top_right", |
103 | | - header: "Weather Alerts Test (Oklahoma)", |
| 101 | + module: 'MMM-OneCallWeather', |
| 102 | + position: 'top_right', |
| 103 | + header: 'Weather Alerts Test (Oklahoma)', |
104 | 104 | config: { |
105 | | - latitude: "35.4676", // Oklahoma City (Tornado Alley) |
106 | | - longitude: "-97.5164", |
107 | | - apikey: "YOUR_API_KEY", |
| 105 | + latitude: '35.4676', // Oklahoma City (Tornado Alley) |
| 106 | + longitude: '-97.5164', |
| 107 | + apikey: 'YOUR_API_KEY', |
108 | 108 | showCurrent: true, |
109 | 109 | showForecast: false, |
110 | 110 | showAlerts: true, // Test alerts feature |
111 | | - colored: true |
112 | | - } |
113 | | - } |
114 | | - ] |
115 | | -}; |
| 111 | + colored: true, |
| 112 | + }, |
| 113 | + }, |
| 114 | + ], |
| 115 | +} |
116 | 116 |
|
117 | 117 | /** ************* DO NOT EDIT THE LINE BELOW ***************/ |
118 | | -if (typeof module !== "undefined") { |
119 | | - module.exports = config; |
| 118 | +if (typeof module !== 'undefined') { |
| 119 | + module.exports = config |
120 | 120 | } |
0 commit comments