config.js 5.6 KB

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