config.js 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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: 2,
  119. accessToken: '88c7c668a17e16c8dc780278a992ec935bd05ad1',
  120. maximumEntries: 60,
  121. updateInterval: 10 * 60 * 1000,
  122. fade: true,
  123. projects: [2273684134]
  124. }
  125. },
  126. {
  127. module: 'MMM-Todoist',
  128. position: 'bottom_center', // This can be any of the regions. Best results in left or right regions.
  129. header: 'ToDo - Wohnung', // This is optional
  130. config: { // See 'Configuration options' for more information.
  131. carouselId: "1",
  132. hideWhenEmpty: false,
  133. sortType: "dueDateDescPriority",
  134. showProject: false,
  135. displayTasksWithinDays: 2,
  136. accessToken: '88c7c668a17e16c8dc780278a992ec935bd05ad1',
  137. maximumEntries: 60,
  138. updateInterval: 10 * 60 * 1000, // Update every 10 minutes
  139. fade: true,
  140. // projects and/or labels is mandatory:
  141. projects: [2273684252]
  142. }
  143. },
  144. {
  145. module: 'MMM-Todoist',
  146. position: 'bottom_right', // This can be any of the regions. Best results in left or right regions.
  147. header: 'Einkaufsliste', // This is optional
  148. config: { // See 'Configuration options' for more information.
  149. carouselId: "1",
  150. hideWhenEmpty: false,
  151. sortType: "dueDateDescPriority",
  152. showProject: false,
  153. displayTasksWithinDays: 2,
  154. accessToken: '88c7c668a17e16c8dc780278a992ec935bd05ad1',
  155. maximumEntries: 60,
  156. updateInterval: 10 * 60 * 1000, // Update every 10 minutes
  157. fade: true,
  158. // projects and/or labels is mandatory:
  159. projects: [2273680600]
  160. }
  161. },
  162. {
  163. module: "newsfeed",
  164. position: "bottom_bar",
  165. config: {
  166. carouselId: "1",
  167. feeds: [
  168. {
  169. title: "Tagesschau.de",
  170. url: "https://www.tagesschau.de/xml/rss2/",
  171. ignoreOlderThan: "345600000"
  172. },
  173. {
  174. title: "Schwarzwälder Bote - Rottweil",
  175. url: "https://www.schwarzwaelder-bote.de/rottweil.rss.feed",
  176. ignoreOlderThan: "345600000"
  177. },
  178. {
  179. title: "Der Postillon",
  180. url: "http://feeds.feedburner.com/blogspot/rkEL",
  181. ignoreOlderThan: "345600000"
  182. }
  183. ],
  184. showSourceTitle: true,
  185. showPublishDate: true,
  186. broadcastNewsFeeds: false,
  187. broadcastNewsUpdates: false
  188. }
  189. },
  190. /* !SECTION */
  191. /* SECTION - Slide 1 */
  192. {
  193. module: "MMM-Strava",
  194. position: "top_right",
  195. config: {
  196. carouselId: "1",
  197. client_id: "78459",
  198. client_secret: "ae058af751f6458d3fe79524e201f30743dbbda2"
  199. }
  200. },
  201. /* !SECTION */
  202. {
  203. module: "MMM-BurnIn",
  204. position: "bottom_bar",
  205. config: {
  206. updateInterval: 15,
  207. invertDuration: 5
  208. }
  209. }
  210. ]
  211. };
  212. /*************** DO NOT EDIT THE LINE BELOW ***************/
  213. if (typeof module !== "undefined") { module.exports = config; }