Advertisement
Guest User

Untitled

a guest
Dec 9th, 2022
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.79 KB | None | 0 0
  1. /* MagicMirror² Config Sample
  2. *
  3. * By Michael Teeuw https://michaelteeuw.nl
  4. * MIT Licensed.
  5. *
  6. * For more information on how you can configure this file
  7. * see https://docs.magicmirror.builders/configuration/introduction.html
  8. * and https://docs.magicmirror.builders/modules/configuration.html
  9. */
  10. let config = {
  11. address: "localhost", // Address to listen on, can be:
  12. // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
  13. // - another specific IPv4/6 to listen on a specific interface
  14. // - "0.0.0.0", "::" to listen on any interface
  15. // Default, when address config is left out or empty, is "localhost"
  16. port: 8080,
  17. basePath: "/", // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
  18. // you must set the sub path here. basePath must end with a /
  19. ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
  20. // or add a specific IPv4 of 192.168.1.5 :
  21. // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
  22. // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
  23. // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
  24.  
  25. useHttps: false, // Support HTTPS or not, default "false" will use HTTP
  26. httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true
  27. httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
  28.  
  29. language: "hu",
  30. locale: "hu-HU",
  31. logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
  32. timeFormat: 24,
  33. units: "metric",
  34. // serverOnly: true/false/"local" ,
  35. // local for armv6l processors, default
  36. // starts serveronly and then starts chrome browser
  37. // false, default for all NON-armv6l devices
  38. // true, force serveronly mode, because you want to.. no UI on this device
  39.  
  40. modules: [
  41. {
  42. module: "alert",
  43. },
  44. {
  45. module: "updatenotification",
  46. position: "top_bar"
  47. },
  48. {
  49. module: "clock",
  50. position: "top_left"
  51. },
  52. {
  53. module: "calendar",
  54. header: "US Holidays",
  55. position: "top_left",
  56. config: {
  57. calendars: [
  58. {
  59. symbol: "calendar-check",
  60. url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"
  61. }
  62. ]
  63. }
  64. },
  65. {
  66. module: "compliments",
  67. position: "lower_third"
  68. },
  69. {
  70. module: "weather",
  71. position: "top_right",
  72. config: {
  73. weatherProvider: "openweathermap",
  74. type: "current",
  75. location: "Hungary",
  76. locationID: "3044475", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
  77. apiKey: "001ffggghjkd4958e701a4e2a8340bbc"
  78. }
  79. },
  80. {
  81. module: "weather",
  82. position: "top_right",
  83. header: "Weather Forecast",
  84. config: {
  85. weatherProvider: "openweathermap",
  86. type: "forecast",
  87. location: "Hungary",
  88. locationID: "3044475", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
  89. apiKey: "001ffggghjkd4958e701a4e2a8340bbc"
  90. }
  91. },
  92. {
  93. module: "newsfeed",
  94. position: "bottom_bar",
  95. config: {
  96. feeds: [
  97. {
  98. title: "HVG TECH TUDOMÁNY HÍREK",
  99. url: "http://hvg.hu/rss/tudomany"
  100. },
  101. {
  102. title: "BBC VILÁG HÍREK",
  103. url: "http://feeds.bbci.co.uk/news/world/rss.xml"
  104. },
  105. {
  106. title: "TELEX HÍREK",
  107. url: "https://www.index.hu/kulfold/rss"
  108. }
  109. ],
  110. showSourceTitle: true,
  111. showPublishDate: true,
  112. broadcastNewsFeeds: true,
  113. broadcastNewsUpdates: true
  114. }
  115. },
  116. {
  117. module: "MMM-network-signal",
  118. position: "top_center",
  119. config: {
  120. // Configuration of the module goes here
  121. }
  122. },
  123. {
  124. module: 'MMM-Futar',
  125. position: 'top_center',
  126. config: {
  127. stopId: 'BKK_044033',
  128. routeId: '',
  129. }
  130. },
  131. {
  132. module: 'MMM-Futar',
  133. position: 'top_center',
  134. header: 'Ráckeve -> Közvágóhíd',
  135. config: {
  136. stopId: 'BKK_007947', // Ráckeve
  137. routeId: 'BKK_H6',
  138. }
  139. },
  140. {
  141. module: "MMM-Futar",
  142. position: "top_center",
  143. header: 'Közvágóhíd -> Ráckeve',
  144. config: {
  145. stopId: 'BKK_009628', // Közvágóhíd
  146. routeId: 'BKK_H6',
  147. }
  148. },
  149. {
  150. minutesAfter: 50,
  151. hideStopTimesInNextMinutes: 0,
  152. updateInterval: 60000, // 1 minute in milliseconds
  153. showHead: true, // true | false
  154. showSymbolInHead: true, // true | false
  155. showSymbolInStopTime: false, // true | false
  156. showRouteNameInStopTime: false, // true | false
  157. maxNumberOfItems: 3,
  158. align: 'left', // 'left' | 'right'
  159. fade: true,
  160. fadePoint: 0.25,
  161. coloredSymbolInHead: true, // true | false
  162. coloredTextInHead: true, // true | false
  163. coloredSymbolInStopTime: true, // true | false
  164. coloredRouteNameInStopTime: true, // true | false
  165. symbolColors: {
  166. tram: '#ffcf42', // yellow-ish
  167. bus: '#1a9fed', // blue-ish
  168. subway: '#b3090c', // red-ish
  169. trolleybus: '#931517', // dark red-ish
  170. rail: '#5cbc82', // green-ish
  171. ferry: '#1a52ed' // dark-blue-ish
  172. },
  173. alerts: {
  174. showHeaderInStopTime: true, // true | false
  175. showSymbolInStopTime: true, // true | false
  176. color: '#ffcf42', // 'auto' or any CSS color
  177. language: 'hu' // 'en' or 'hu' supported only by the Futár API
  178. }
  179. }
  180. ]
  181. };
  182.  
  183.  
  184. /*************** DO NOT EDIT THE LINE BELOW ***************/
  185. if (typeof module !== "undefined") {module.exports = config;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement