Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.96 KB | None | 0 0
  1. /* Magic Mirror Config Sample
  2. *
  3. * By Michael Teeuw http://michaelteeuw.nl
  4. * MIT Licensed.
  5. *
  6. * For more information how you can configurate 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, is "localhost"
  17. port: 8080,
  18. ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
  19. // or add a specific IPv4 of 192.168.1.5 :
  20. // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
  21. // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
  22. // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
  23.  
  24. language: "de",
  25. timeFormat: 24,
  26. units: "metric",
  27. // serverOnly: true/false/"local" ,
  28. // local for armv6l processors, default
  29. // starts serveronly and then starts chrome browser
  30. // false, default for all NON-armv6l devices
  31. // true, force serveronly mode, because you want to.. no UI on this device
  32.  
  33. modules: [
  34. {
  35. module: "alert",
  36. },
  37. {
  38. module: "updatenotification",
  39. position: "top_bar"
  40. },
  41. {
  42. module: "clock",
  43. position: "top_left"
  44. },
  45. {
  46. module: "calendar",
  47. header: "US Holidays",
  48. position: "top_left",
  49. config: {
  50. calendars: [
  51. {
  52. symbol: "calendar-check",
  53. url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics" }
  54. ]
  55. }
  56. },
  57. {
  58. module: "compliments",
  59. position: "lower_third"
  60. },
  61. {
  62. module: 'MMM-ioBroker',
  63. position: 'bottom_bar',
  64. config: {
  65. host: '192.168.2.133',
  66. port: '8087',
  67. https: false,
  68. template: 'MMM-ioBorker.njk',
  69. devices: [
  70. { name: 'writeHereTheName1',
  71. deviceStates: [
  72. { id: 'mqtt.0.sensorX.temperature', icon: 'wi wi-thermometer', suffix: '°' },
  73. { id: 'zigbee.0.00158d000245aaba.humidity', icon: 'wi wi-humidity', suffix: '%' }
  74. ]
  75. },
  76. { name: 'writeHereTheName2',
  77. deviceStates: [
  78. { id: 'mqtt.0.sensorY.temperature', icon: 'wi wi-thermometer', suffix: '°' },
  79. { id: 'mqtt.0.sensorY.battery', icon: 'fa fa-battery-half', suffix: '' }
  80. ]
  81. }
  82. ]
  83. }
  84. },
  85. {
  86. module: "currentweather",
  87. position: "top_right",
  88. config: {
  89. location: "Loxstedt",
  90. locationID: "6552597", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
  91. appid: "9b48ae30fb2588377ac0d9866b6f2b9d"
  92. }
  93. },
  94. {
  95. module: "weatherforecast",
  96. position: "top_right",
  97. header: "Weather Forecast",
  98. config: {
  99. location: "Loxstedt",
  100. locationID: "2875645", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
  101. appid: "9b48ae30fb2588377ac0d9866b6f2b9d"
  102. }
  103. },
  104. {
  105. module: "newsfeed",
  106. position: "bottom_bar",
  107. config: {
  108. feeds: [
  109. {
  110. title: "Tagesschau",
  111. url: "http://www.tagesschau.de/xml/rss2"
  112. }
  113. ],
  114. showSourceTitle: true,
  115. showPublishDate: true,
  116. broadcastNewsFeeds: true,
  117. broadcastNewsUpdates: true
  118. }
  119. },
  120. ]
  121. };
  122. /*************** DO NOT EDIT THE LINE BELOW ***************/
  123. if (typeof module !== "undefined") {module.exports = config;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement