config.js 5.6 KB

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