Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Magic Mirror Config Sample
- *
- * By Michael Teeuw http://michaelteeuw.nl
- * MIT Licensed.
- *
- * For more information how you can configurate this file
- * See https://github.com/MichMich/MagicMirror#configuration
- *
- */
- var config = {
- address: "localhost", // Address to listen on, can be:
- // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
- // - another specific IPv4/6 to listen on a specific interface
- // - "", "0.0.0.0", "::" to listen on any interface
- // Default, when address config is left out, is "localhost"
- port: 8080,
- ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
- // or add a specific IPv4 of 192.168.1.5 :
- // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
- // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
- // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
- language: "de",
- timeFormat: 24,
- units: "metric",
- // serverOnly: true/false/"local" ,
- // local for armv6l processors, default
- // starts serveronly and then starts chrome browser
- // false, default for all NON-armv6l devices
- // true, force serveronly mode, because you want to.. no UI on this device
- modules: [
- {
- module: "alert",
- },
- {
- module: "updatenotification",
- position: "top_bar"
- },
- {
- module: "clock",
- position: "top_left"
- },
- {
- module: "calendar",
- header: "US Holidays",
- position: "top_left",
- config: {
- calendars: [
- {
- symbol: "calendar-check",
- url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics" }
- ]
- }
- },
- {
- module: "compliments",
- position: "lower_third"
- },
- {
- module: 'MMM-ioBroker',
- position: 'bottom_bar',
- config: {
- host: '192.168.2.133',
- port: '8087',
- https: false,
- template: 'MMM-ioBorker.njk',
- devices: [
- { name: 'writeHereTheName1',
- deviceStates: [
- { id: 'mqtt.0.sensorX.temperature', icon: 'wi wi-thermometer', suffix: '°' },
- { id: 'zigbee.0.00158d000245aaba.humidity', icon: 'wi wi-humidity', suffix: '%' }
- ]
- },
- { name: 'writeHereTheName2',
- deviceStates: [
- { id: 'mqtt.0.sensorY.temperature', icon: 'wi wi-thermometer', suffix: '°' },
- { id: 'mqtt.0.sensorY.battery', icon: 'fa fa-battery-half', suffix: '' }
- ]
- }
- ]
- }
- },
- {
- module: "currentweather",
- position: "top_right",
- config: {
- location: "Loxstedt",
- locationID: "6552597", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
- appid: "9b48ae30fb2588377ac0d9866b6f2b9d"
- }
- },
- {
- module: "weatherforecast",
- position: "top_right",
- header: "Weather Forecast",
- config: {
- location: "Loxstedt",
- locationID: "2875645", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
- appid: "9b48ae30fb2588377ac0d9866b6f2b9d"
- }
- },
- {
- module: "newsfeed",
- position: "bottom_bar",
- config: {
- feeds: [
- {
- title: "Tagesschau",
- url: "http://www.tagesschau.de/xml/rss2"
- }
- ],
- showSourceTitle: true,
- showPublishDate: true,
- broadcastNewsFeeds: true,
- broadcastNewsUpdates: true
- }
- },
- ]
- };
- /*************** DO NOT EDIT THE LINE BELOW ***************/
- if (typeof module !== "undefined") {module.exports = config;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement