Created
February 17, 2021 18:08
-
-
Save sbutt/03a7d4160c5d795e3f1faa14c85e3524 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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 = { | |
zoom: "0.2", | |
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: "en", | |
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-Ring", | |
position: "middle_center", | |
config: { | |
ring2faRefreshToken: "eyJhb...OHNOYOUDONT...-WKx6sg3ou0g", | |
ringStreamMotion: true, | |
ringVideoWidth: "600" | |
} | |
}, | |
{ | |
module: "alert", | |
}, | |
{ | |
module: "updatenotification", | |
position: "top_bar" | |
}, | |
{ | |
module: "clock", | |
position: "top_left" | |
}, | |
{ | |
module: "calendar", | |
header: "Steve", | |
position: "top_left", | |
config: { | |
calendars: [ | |
{ | |
symbol: "calendar-check", | |
url: "https://calendar.google.com/calendar/ical/steve.bler.com/private-NOTTHATEITHER/basic.ics" | |
} | |
] | |
} | |
}, | |
{ | |
module: "currentweather", | |
position: "top_right", | |
config: { | |
locationID: "123456", | |
appid: "2d1120fac6a225136bdd7aa797018966", | |
colored: "true", | |
roundTemp: "true" | |
} | |
}, | |
{ | |
module: "weatherforecast", | |
position: "top_right", | |
header: "Weather Forecast", | |
config: { | |
locationID: "123456", | |
appid: "2d1120fac6a225136bdd7aa797018966", | |
colored: "true", | |
roundTemp: "true" | |
} | |
}, | |
{ | |
module: "MMM-News", | |
position: "bottom_bar", | |
config: { | |
apiKey : "b7887f7574c64b61a3600d9eaeb0f0cf", | |
type: "horizontal", | |
query : [ | |
{ | |
sources: "bbc-news, al-jazeera-english, associated-press, hacker-news, independent, wired", | |
}, | |
{ | |
country: "gb", | |
category: "general", | |
} | |
], | |
}, | |
} | |
] | |
}; | |
/*************** DO NOT EDIT THE LINE BELOW ***************/ | |
if (typeof module !== "undefined") {module.exports = config;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment