config.js 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. ]
  42. }
  43. }
  44. },
  45. /* SECTION - Main */
  46. {
  47. module: "clock",
  48. position: "top_left",
  49. config: {
  50. carouselId: '1',
  51. timeFormat: 24,
  52. }
  53. },
  54. {
  55. module: "weather",
  56. position: "top_right",
  57. config: {
  58. carouselId: "1",
  59. weatherProvider: "openweathermap",
  60. type: "current",
  61. location: "Worms",
  62. locationID: "2806142",
  63. apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
  64. }
  65. },
  66. {
  67. module: "weather",
  68. position: "top_right",
  69. header: "Wettervorhersage",
  70. config: {
  71. carouselId: "1",
  72. weatherProvider: "openweathermap",
  73. type: "forecast",
  74. location: "Worms",
  75. locationID: "2806142",
  76. apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
  77. }
  78. },
  79. {
  80. module: 'MMM-DWD-WarnWeather',
  81. position: 'top_right',
  82. config: {
  83. carouselId: "1",
  84. region: 'Worms',
  85. changeColor: true,
  86. minutes: false,
  87. displayRegionName: true,
  88. displayInnerHeader: true,
  89. interval: 10 * 60 * 1000,
  90. loadingText: 'Warnungen werden geladen...',
  91. noWarningText: 'Keine Warnungen',
  92. severityThreshold: 2
  93. }
  94. },
  95. {
  96. module: "compliments",
  97. position: "middle_center",
  98. config: {
  99. carouselId: "1",
  100. updateInterval: 20000,
  101. fadeSpeed: 3000,
  102. morningStartTime: 6,
  103. morningEndTime: 12,
  104. afternoonStartTime: 12,
  105. afternoonEndTime: 19,
  106. remoteFile: "https://gist.githubusercontent.com/Psycho0verload/af47b09bacebfc887a5a4f7fef44fd39/raw/7a19397c80610e82bb6d3272f784f0a76808ca6b/compliments.json"
  107. }
  108. },
  109. {
  110. module: 'MMM-Todoist',
  111. position: 'bottom_left',
  112. header: 'ToDo - Jinaki',
  113. config: {
  114. carouselId: "1",
  115. hideWhenEmpty: false,
  116. sortType: "dueDateDescPriority",
  117. showProject: false,
  118. displayTasksWithinDays: '1',
  119. displayTasksWithoutDue: true,
  120. accessToken: '88c7c668a17e16c8dc780278a992ec935bd05ad1',
  121. maximumEntries: 60,
  122. updateInterval: 10 * 60 * 1000,
  123. fade: true,
  124. projects: [2273684134]
  125. }
  126. },
  127. {
  128. module: 'MMM-Todoist',
  129. position: 'bottom_center', // This can be any of the regions. Best results in left or right regions.
  130. header: 'ToDo - Wohnung', // This is optional
  131. config: { // See 'Configuration options' for more information.
  132. carouselId: "1",
  133. hideWhenEmpty: false,
  134. sortType: "dueDateDescPriority",
  135. showProject: false,
  136. displayTasksWithinDays: '1',
  137. displayTasksWithoutDue: true,
  138. accessToken: '88c7c668a17e16c8dc780278a992ec935bd05ad1',
  139. maximumEntries: 60,
  140. updateInterval: 10 * 60 * 1000, // Update every 10 minutes
  141. fade: true,
  142. // projects and/or labels is mandatory:
  143. projects: [2273684252]
  144. }
  145. },
  146. {
  147. module: 'MMM-Todoist',
  148. position: 'bottom_right', // This can be any of the regions. Best results in left or right regions.
  149. header: 'Einkaufsliste', // This is optional
  150. config: { // See 'Configuration options' for more information.
  151. carouselId: "1",
  152. hideWhenEmpty: false,
  153. sortType: "dueDateDescPriority",
  154. showProject: false,
  155. displayTasksWithinDays: '1',
  156. displayTasksWithoutDue: true,
  157. accessToken: '88c7c668a17e16c8dc780278a992ec935bd05ad1',
  158. maximumEntries: 60,
  159. updateInterval: 10 * 60 * 1000, // Update every 10 minutes
  160. fade: true,
  161. // projects and/or labels is mandatory:
  162. projects: [2273680600]
  163. }
  164. },
  165. {
  166. module: "newsfeed",
  167. position: "bottom_bar",
  168. config: {
  169. carouselId: "1",
  170. feeds: [
  171. {
  172. title: "Tagesschau.de",
  173. url: "https://www.tagesschau.de/xml/rss2/",
  174. ignoreOlderThan: "345600000"
  175. },
  176. {
  177. title: "Schwarzwälder Bote - Rottweil",
  178. url: "https://www.schwarzwaelder-bote.de/rottweil.rss.feed",
  179. ignoreOlderThan: "345600000"
  180. },
  181. {
  182. title: "Der Postillon",
  183. url: "http://feeds.feedburner.com/blogspot/rkEL",
  184. ignoreOlderThan: "345600000"
  185. }
  186. ],
  187. showSourceTitle: true,
  188. showPublishDate: true,
  189. broadcastNewsFeeds: false,
  190. broadcastNewsUpdates: false
  191. }
  192. },
  193. /* !SECTION */
  194. /* SECTION - Slide 1 */
  195. {
  196. module: "MMM-Strava",
  197. position: "top_right",
  198. config: {
  199. carouselId: "1",
  200. client_id: "78459",
  201. client_secret: "ae058af751f6458d3fe79524e201f30743dbbda2"
  202. }
  203. },
  204. /* !SECTION */
  205. {
  206. module: "MMM-BurnIn",
  207. position: "bottom_bar",
  208. config: {
  209. updateInterval: 15,
  210. invertDuration: 5
  211. }
  212. }
  213. ]
  214. };
  215. /*************** DO NOT EDIT THE LINE BELOW ***************/
  216. if (typeof module !== "undefined") { module.exports = config; }