Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Magic Mirror Config Sample
- *
- * By Michael Teeuw https://michaelteeuw.nl
- * MIT Licensed.
- *
- * For more information on how you can configure 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 or empty, is "localhost"
- port: 8080,
- basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy
- // you must set the sub path here. basePath must end with a /
- 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$
- // ["127.0.0.1", "::ffff:127.0.0.1",$
- // or IPv4 range of 192.168.3.0 --> $
- // ["127.0.0.1", "::ffff:127.0.0.1",$
- useHttps: false, // Support HTTPS or not, default "false" will use HTTP
- httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true
- httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
- language: "de",
- logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
- 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: 'MMM-GoogleMapsTraffic',
- position: 'top_left',
- config: {
- key: 'YOUR_KEY',
- lat: YOUR_LATITUDE,
- lng: YOUR_LONGITUDE,
- height: '300px',
- width: '300px'
- styledMapType: "transparent",
- disableDefaultUI: true,
- backgroundColor: 'hsla(0, 0%, 0%, 0)',
- },
- }
- {
- module: 'MMM-Globe',
- position: 'top_right',
- config: {
- style: 'europeDiscNat',
- imageSize: 400,
- ownImagePath:'',
- updateInterval: 10*60*1000
- }
- },
- {
- module: "MMM-cryptocurrency",
- position: "bottom_center",
- config: {
- apikey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
- currency: ['bitcoin'],
- conversion: 'EUR',
- headers: ['change24h', 'change1h', 'change7d'],
- displayType: 'logoWithChanges',
- showGraphs: true
- },
- },
- {
- module: "clock",
- position: "top_left"
- },
- {
- module: "newsfeed",
- position: "bottom_bar",
- config: {
- feeds: [
- {
- title: "Stern",
- url: "https://www.stern.de/feed/overview/"
- },
- {
- title: "Spiegel",
- url: "http://www.spiegel.de/index.rss"
- },
- {
- title: "Heise",
- url: "https://www.heise.de/newsticker/heise-atom.xml"
- },
- {
- title: "Golem",
- url: "https://rss.golem.de/rss.php?feed=RSS1.0"
- },
- {
- title: "Tagesschau",
- url: "http://www.tagesschau.de/xml/rss2"
- }
- ],
- showSourceTitle: true,
- }
- },
- ]
- };
- /*************** DO NOT EDIT THE LINE BELOW ***************/
- if (typeof module !== "undefined") {module.exports = config;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement