config.js 5.5 KB

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