Advertisement
Bodo62

Traffic Problem

Mar 12th, 2021
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.13 KB | None | 0 0
  1. /* Magic Mirror 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://github.com/MichMich/MagicMirror#configuration
  8. *
  9. */
  10.  
  11. var config = {
  12. address: "localhost", // Address to listen on, can be:
  13. // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
  14. // - another specific IPv4/6 to listen on a specific interface
  15. // - "0.0.0.0", "::" to listen on any interface
  16. // Default, when address config is left out or empty, is "localhost"
  17. port: 8080,
  18. basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy
  19. // you must set the sub path here. basePath must end with a /
  20. ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
  21. // or add a specific IPv4 of 192.168$
  22. // ["127.0.0.1", "::ffff:127.0.0.1",$
  23. // or IPv4 range of 192.168.3.0 --> $
  24. // ["127.0.0.1", "::ffff:127.0.0.1",$
  25.  
  26. useHttps: false, // Support HTTPS or not, default "false" will use HTTP
  27. httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true
  28. httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
  29.  
  30. language: "de",
  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: 'MMM-GoogleMapsTraffic',
  43. position: 'top_left',
  44. config: {
  45. key: 'YOUR_KEY',
  46. lat: YOUR_LATITUDE,
  47. lng: YOUR_LONGITUDE,
  48. height: '300px',
  49. width: '300px'
  50. styledMapType: "transparent",
  51. disableDefaultUI: true,
  52. backgroundColor: 'hsla(0, 0%, 0%, 0)',
  53. },
  54. }
  55.  
  56.  
  57.  
  58.  
  59. {
  60. module: 'MMM-Globe',
  61. position: 'top_right',
  62. config: {
  63. style: 'europeDiscNat',
  64. imageSize: 400,
  65. ownImagePath:'',
  66. updateInterval: 10*60*1000
  67. }
  68. },
  69. {
  70. module: "MMM-cryptocurrency",
  71. position: "bottom_center",
  72. config: {
  73. apikey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  74.  
  75. currency: ['bitcoin'],
  76. conversion: 'EUR',
  77. headers: ['change24h', 'change1h', 'change7d'],
  78. displayType: 'logoWithChanges',
  79. showGraphs: true
  80. },
  81. },
  82. {
  83. module: "clock",
  84. position: "top_left"
  85. },
  86. {
  87. module: "newsfeed",
  88. position: "bottom_bar",
  89. config: {
  90. feeds: [
  91. {
  92. title: "Stern",
  93. url: "https://www.stern.de/feed/overview/"
  94. },
  95. {
  96. title: "Spiegel",
  97. url: "http://www.spiegel.de/index.rss"
  98. },
  99. {
  100. title: "Heise",
  101. url: "https://www.heise.de/newsticker/heise-atom.xml"
  102. },
  103. {
  104. title: "Golem",
  105. url: "https://rss.golem.de/rss.php?feed=RSS1.0"
  106. },
  107. {
  108. title: "Tagesschau",
  109. url: "http://www.tagesschau.de/xml/rss2"
  110. }
  111. ],
  112. showSourceTitle: true,
  113. }
  114. },
  115. ]
  116. };
  117. /*************** DO NOT EDIT THE LINE BELOW ***************/
  118. if (typeof module !== "undefined") {module.exports = config;}
  119.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement