config.js 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. let config = {
  2. address: "0.0.0.0",
  3. port: 8080,
  4. basePath: "/",
  5. ipWhitelist: [],
  6. useHttps: false,
  7. language: "de",
  8. locale: "de-DE",
  9. logLevel: ["INFO", "LOG", "WARN", "ERROR"],
  10. timeFormat: 24,
  11. units: "metric",
  12. modules: [
  13. {
  14. module: "alert",
  15. },
  16. {
  17. module: "updatenotification",
  18. position: "top_bar"
  19. },
  20. {
  21. module: 'MMM-Carousel',
  22. position: 'bottom_bar',
  23. config: {
  24. transitionInterval: 22000,
  25. showPageIndicators: true,
  26. showPageControls: false,
  27. ignoreModules: ["MMM-BurnIn"],
  28. mode: 'slides',
  29. slides: {
  30. "Main": [
  31. { name: 'clock', position: "top_left", carouselId: "1" },
  32. { name: 'weather', position: "top_right", carouselId: "1" },
  33. { name: 'MMM-DWD-WarnWeather', position: "top_right", carouselId: "1" },
  34. { name: 'compliments', position: "middle_center", carouselId: "1" },
  35. { name: 'MMM-Todoist', carouselId: "1" },
  36. { name: 'newsfeed', position: "bottom_bar", carouselId: "1" }
  37. ],
  38. "Slide 1": [
  39. { name: 'clock', position: "top_left", carouselId: "1" },
  40. { name: 'MMM-Strava', position: "top_right", carouselId: "1" },
  41. { name: 'calendar', position: "middle_center", carouselId: "1" }
  42. ],
  43. "Slide 2": [
  44. { name: 'clock', position: "top_left", carouselId: "1" },
  45. { name: 'MMM-Strava', position: "top_right", carouselId: "2" },
  46. { name: 'calendar', position: "middle_center", carouselId: "2" }
  47. ]
  48. }
  49. }
  50. },
  51. /* SECTION - Main */
  52. {
  53. module: "clock",
  54. position: "top_left",
  55. config: {
  56. carouselId: '1',
  57. timeFormat: 24,
  58. }
  59. },
  60. {
  61. module: "weather",
  62. position: "top_right",
  63. config: {
  64. carouselId: "1",
  65. weatherProvider: "openweathermap",
  66. type: "current",
  67. location: "Worms",
  68. locationID: "2806142",
  69. apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
  70. }
  71. },
  72. {
  73. module: "weather",
  74. position: "top_right",
  75. header: "Wettervorhersage",
  76. config: {
  77. carouselId: "1",
  78. weatherProvider: "openweathermap",
  79. type: "forecast",
  80. location: "Worms",
  81. locationID: "2806142",
  82. apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
  83. }
  84. },
  85. {
  86. module: 'MMM-DWD-WarnWeather',
  87. position: 'top_right',
  88. config: {
  89. carouselId: "1",
  90. region: 'Worms',
  91. changeColor: true,
  92. minutes: false,
  93. displayRegionName: true,
  94. displayInnerHeader: true,
  95. interval: 10 * 60 * 1000,
  96. loadingText: 'Warnungen werden geladen...',
  97. noWarningText: 'Keine Warnungen',
  98. severityThreshold: 2
  99. }
  100. },
  101. {
  102. module: "compliments",
  103. position: "middle_center",
  104. config: {
  105. carouselId: "1",
  106. updateInterval: 20000,
  107. fadeSpeed: 3000,
  108. morningStartTime: 6,
  109. morningEndTime: 12,
  110. afternoonStartTime: 12,
  111. afternoonEndTime: 19,
  112. remoteFile: "https://gist.githubusercontent.com/Psycho0verload/af47b09bacebfc887a5a4f7fef44fd39/raw/7a19397c80610e82bb6d3272f784f0a76808ca6b/compliments.json"
  113. }
  114. },
  115. {
  116. module: 'MMM-Todoist',
  117. position: 'bottom_left',
  118. header: 'ToDo - Jinaki',
  119. config: {
  120. carouselId: "1",
  121. hideWhenEmpty: false,
  122. sortType: "dueDateDescPriority",
  123. showProject: false,
  124. displayTasksWithinDays: '1',
  125. displayTasksWithoutDue: true,
  126. accessToken: '88c7c668a17e16c8dc780278a992ec935bd05ad1',
  127. maximumEntries: 60,
  128. updateInterval: 10 * 60 * 1000,
  129. fade: true,
  130. projects: [2273684134]
  131. }
  132. },
  133. {
  134. module: 'MMM-Todoist',
  135. position: 'bottom_center', // This can be any of the regions. Best results in left or right regions.
  136. header: 'ToDo - Wohnung', // This is optional
  137. config: { // See 'Configuration options' for more information.
  138. carouselId: "1",
  139. hideWhenEmpty: false,
  140. sortType: "dueDateDescPriority",
  141. showProject: false,
  142. displayTasksWithinDays: '1',
  143. displayTasksWithoutDue: true,
  144. accessToken: '88c7c668a17e16c8dc780278a992ec935bd05ad1',
  145. maximumEntries: 60,
  146. updateInterval: 10 * 60 * 1000, // Update every 10 minutes
  147. fade: true,
  148. // projects and/or labels is mandatory:
  149. projects: [2273684252]
  150. }
  151. },
  152. {
  153. module: 'MMM-Todoist',
  154. position: 'bottom_right', // This can be any of the regions. Best results in left or right regions.
  155. header: 'Einkaufsliste', // This is optional
  156. config: { // See 'Configuration options' for more information.
  157. carouselId: "1",
  158. hideWhenEmpty: false,
  159. sortType: "dueDateDescPriority",
  160. showProject: false,
  161. displayTasksWithinDays: '1',
  162. displayTasksWithoutDue: true,
  163. accessToken: '88c7c668a17e16c8dc780278a992ec935bd05ad1',
  164. maximumEntries: 60,
  165. updateInterval: 10 * 60 * 1000, // Update every 10 minutes
  166. fade: true,
  167. // projects and/or labels is mandatory:
  168. projects: [2273680600]
  169. }
  170. },
  171. {
  172. module: "newsfeed",
  173. position: "bottom_bar",
  174. config: {
  175. carouselId: "1",
  176. feeds: [
  177. {
  178. title: "Tagesschau.de",
  179. url: "https://www.tagesschau.de/xml/rss2/",
  180. ignoreOlderThan: "345600000"
  181. },
  182. {
  183. title: "Schwarzwälder Bote - Rottweil",
  184. url: "https://www.schwarzwaelder-bote.de/rottweil.rss.feed",
  185. ignoreOlderThan: "345600000"
  186. },
  187. {
  188. title: "Der Postillon",
  189. url: "http://feeds.feedburner.com/blogspot/rkEL",
  190. ignoreOlderThan: "345600000"
  191. }
  192. ],
  193. showSourceTitle: true,
  194. showPublishDate: true,
  195. broadcastNewsFeeds: false,
  196. broadcastNewsUpdates: false
  197. }
  198. },
  199. /* !SECTION */
  200. /* SECTION - Slide 1 */
  201. {
  202. module: "MMM-Strava",
  203. position: "top_right",
  204. config: {
  205. carouselId: "1",
  206. client_id: "78570",
  207. client_secret: "8334d2d1938c6da963a4aacc93fd6208aac30310",
  208. mode: 'chart',
  209. period: 'ytd',
  210. activities: ["ride", "walk", "hike"]
  211. }
  212. },
  213. {
  214. module: "calendar",
  215. header: "Biggi - heute und morgen",
  216. position: "middle_center",
  217. config: {
  218. carouselId: "1",
  219. maximumEntries: 5,
  220. showLocation: true,
  221. maximumNumberOfDays: 2,
  222. calendars: [
  223. {
  224. symbol: "pills",
  225. url: "https://calendar.google.com/calendar/ical/ptgait6k6k5vblpkn9p63c662c%40group.calendar.google.com/private-8bda3f347dbbcb2af317c584ba9d97f4/basic.ics"
  226. },
  227. {
  228. symbol: "calendar-check",
  229. url: "https://calendar.google.com/calendar/ical/traxlerbirgit%40gmail.com/private-d992dff7e89fb0b7291f60a3dfe324c2/basic.ics"
  230. },
  231. ]
  232. }
  233. },
  234. /* !SECTION */
  235. /* SECTION - Slide 2 */
  236. {
  237. module: "MMM-Strava",
  238. position: "top_right",
  239. config: {
  240. carouselId: "2",
  241. client_id: "78459",
  242. client_secret: "ae058af751f6458d3fe79524e201f30743dbbda2",
  243. mode: 'chart',
  244. period: 'ytd',
  245. activities: ["ride", "walk", "hike"]
  246. }
  247. },
  248. {
  249. module: "calendar",
  250. header: "Jonathan - heute und morgen",
  251. position: "middle_center",
  252. config: {
  253. carouselId: "2",
  254. maximumEntries: 10,
  255. showLocation: true,
  256. maximumNumberOfDays: 2,
  257. titleReplace: { '🚑': '', },
  258. calendars: [
  259. {
  260. symbol: "ambulance",
  261. url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AWFOXjvMTWxYfQxCKxEaGdHaxWbWQoFZrke1cxI0VevOJI6AD1dZR0YR_tDk3Oh35o"
  262. },
  263. {
  264. symbol: "calendar-check",
  265. url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AW4zB7F4Er7L-pe0M80P5X0HC1SqZ8Yyhpxl-VqPkWwQ84lbmADkN2qL7XHj7GHwpQ"
  266. },
  267. {
  268. symbol: "calendar-check",
  269. url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AXavA_dk4HtOH-Xnn95ifNlVJo7QbBTng09wDRMNJKmZ7XQQsirQ4QNkol1rrnjUWc"
  270. },
  271. ]
  272. }
  273. },
  274. /* !SECTION */
  275. {
  276. module: "MMM-BurnIn",
  277. position: "bottom_bar",
  278. config: {
  279. updateInterval: 15,
  280. invertDuration: 5
  281. }
  282. }
  283. ]
  284. };
  285. /*************** DO NOT EDIT THE LINE BELOW ***************/
  286. if (typeof module !== "undefined") { module.exports = config; }