I just put this together, based on the original compliments module. I am not sure if this should be added to the default module by PullRequest, which is why I created a standalone repository first.
[card:yawnsde/MMM-Compliments]
I just put this together, based on the original compliments module. I am not sure if this should be added to the default module by PullRequest, which is why I created a standalone repository first.
[card:yawnsde/MMM-Compliments]
You missed one ] which I added on 4th line from bottom
var config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: 'en',
timeFormat: 24,
units: 'metric',
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-o ',
url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
}
]
}
},
{
module: 'compliments',
position: 'lower_third'
},
{
module: 'currentweather',
position: 'top_right',
config: {
location: 'New York',
locationID: '', //ID from http://www.openweathermap.org
appid: 'YOUR_OPENWEATHER_API_KEY'
}
},
{
module: 'newsfeed',
position: 'bottom_bar',
config: {
feeds: [
{
title: "New York Times",
url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
}
],
showSourceTitle: true,
showPublishDate: true
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== 'undefined') {module.exports = config;}
@cowboysdude said in This Day in History ticker?:
I wouldn’t have a problem with that if it’s a config option. :)
That’s exactly what I submitted: https://github.com/cowboysdude/MMM-History/pulls
var config = {
address: "localhost", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1"
// - another specific IPv4/6
// - "", "0.0.0.0", "::"
//
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "imperial",
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar",
},
{
module: "clock",
position: "top_left",
},
{
module: "calendar",
header: "Calendar",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check",
url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
},
{
symbol: "calendar-plus-o ",
url: "https://calendar.google.com/XXXXXXXXX/basic.ics"
},
{
symbol: "calendar-plus-o ",
url: "https://calendar.google.com/XXXXXXX/basic.ics"
}
]
}
},
{
module: "helloworld",
position: "top_bar",
config: {
text: "Welcome to the Carls Residence"
}
},
{
module: "MMM-DarkSkyForecast",
header: "Weather",
position: "top_right",
classes: "default everyone",
disabled: false,
config: {
apikey: "Xxxxxxxxxxdda4d069a",
latitude: "39.548935",
longitude: "-89.294533",
iconset: "4c",
concise: false,
forecastLayout: "table"
}
},
{
module: "MMM-MyScoreboard",
position: "bottom_left",
classes: "default everyone",
header: "My Scoreboard",
config: {
showLeagueSeparators: true,
colored: true,
viewStyle: "mediumLogos",
sports: [
{
league: "NHL",
groups: ["Western"]
},
{
league: "NFL",
groups: ["NFC North"]
},
{
league: "MLB",
groups: ["NL Central"]
},
{
league: "NCAAM",
groups: ["Big Ten"]
},
{
league: "NCAAF",
groups: ["Big Ten"]
}
]
}
},
{
module: 'MMM-iFrame-Ping',
position: 'bottom_left',
config: {
// See 'Configuration options' for more information.
url: "https://radar.weather.gov/radar.php?rid=ILX&product=NCR&overlay=11101111&loop=yes",
autoRefresh: true,
updateInterval: 10,
displayLastUpdate: true,
width: "100%",
height: "400px",
scrolling: "no"
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "Fox News",
url: "http://feeds.foxnews.com/foxnews/latest"
}
],
showSourceTitle: true,
showPublishDate: true
}
},
]
};
if (typeof module !== "undefined") {module.exports = config;}
You missed some ,
, some ]
and some }
Oh, and you should never post your apikeys or links to personal calendars. I truncated both for you
@MagicMirrorPi
Are you talking about MMM-Remote-Control?
It is called remote because you use it to remote manage the mirror. So you can use it on your laptop, smartphone, tablet, … without having to attach mouse/keyboard to the mirror itself
It monitors a given station in the RNV traffic network and shows the 10 upcoming departures with destination, type and delay. It also shows additional information if provided by the vendor.
[card:yawnsde/MMM-RNV]
de.json
{
"GATHERING_WEATHER_STUFF": "Empfange Wetterdaten...",
"CURRENTLY": "Aktuell",
"CURRENT_TEMP": "Temperatur",
"UV_INDEX": "UV Index",
"WIND": "Wind",
"FROM": "Von",
"BAROMETER": "Barometer",
"FORECAST": "Prognose",
"MONDAY": "Montag",
"TUESDAY": "Dienstag",
"WEDNESDAY": "Mittwoch",
"THURSDAY": "Donnerstag",
"FRIDAY": "Freitag",
"SATURDAY": "Samstag",
"SUNDAY": "Sonntag",
"OVERCAST": "Bedeckt",
"CLOUDY": "Bewölkt",
"RAIN": "Regen",
"CLEAR": "Heiter",
"PARTLY_CLOUDY": "Leicht bewölkt",
"HIGH": "Maximum",
"LOW": "Minimum",
"HUMIDITY": "Luftfeuchtigkeit",
"SAFE": "Sicher",
"MODERATE": "Moderat",
"SNOW_SHOWERS": "Schneeregen",
"VERY_HIGH": "Sehr hoch",
"EXTREME": "Extrem",
"SUNSET": "Sonnenuntergang",
"SUNRISE": "Sonnenaufgang"
}
I did not like the old look, but the new one is very nice. Well done!
You have two possibilities with the calendar module.
This shows one block and mixes both calendars, sorted by date
modules: [
{
module: 'calendar',
header: 'both calendars'
position: 'top_left',
config: {
calendars: [
{
url: 'http://www.whatever.....xx.ics',
symbol: 'calendar',
},
{
url: 'http://www.justanother....zz.ics',
symbol: 'calendar',
}
],
}
}
]
This show calendar1 sorted by date and then shows calendar2 sorted by date, but in a seperate block with a seperate header
modules: [
{
module: 'calendar',
header: 'calendar1'
position: 'top_left',
config: {
calendars: [
{
url: 'http://www.whatever.....xx.ics',
symbol: 'calendar',
}
],
}
},
{
module: 'calendar',
header: 'calendar2'
position: 'top_left',
config: {
calendars: [
{
url: 'http://www.justanother....zz.ics',
symbol: 'calendar',
}
],
}
}
]