A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Config problems
-
/* 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: "en", timeFormat: 24, units: "metric", modules: [ { module: "alert", }, { module: "clock", position: "top_left" }, { module: "calendar", header: "xxxxx Family Calendar", position: "bottom_left", config: { calendars: [ { symbol: "xxxxx Family", url: "https://calendar.google.com/calendar/ical/xxxxx.com/public/basic.ics" }, { symbol: "uk holiday", url: "https://calendar.google.com/calendar/ical/en-gb.uk%23holiday%40group.v.calendar.google.com/public/basic.ics" } ] } }, { module: "currentweather", position: "top_left", config: { location: "xxxxx, UK", locationID: "", //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city appid: "xxxxx" } }, { module: "weatherforecast", position: "top_left", header: "Weather Forecast", config: { location: "xxxxx, UK", locationID: "", //ID from http://www.openweathermap.org/help/city_list.txt appid: "xxxxx" } }, { module: 'MMM-SoccerLiveScore', position: 'left', header: 'Live Football Scores', config: { leagues: [17], showNames: true, showLogos: true, displayTime: 60 * 1000, showTables: false } }, { module: "MMM-CountEvents", position: "left", config: { groupOrder: [], // When it set, the group of event which has same group name will be displayed and be rotated to others by groupInterval groupInterval: 1000*5, refreshInterval:1000*1, locale: null, //related with `humanize` (if omitted or null, MM default locale will be used.) template: "<p class=\"title\">%TITLE%</p><p class=\"output\">%OUTPUT%</p>", //You can modify HTML rendering. //%TITLE% : will be replaced by event.title //%OUTPUT% : will be replaced by event.output events: [ { group: "default", title: "Daniel's Alcohol Free", targetTime: "2019-09-24", // See the time format section. yearlyRepeat: false, // if this event should be refreshed yearly, set this to `true`. targetTime will be replaced the closest next date of this year or the next year. unit: "days", // "years", "months", "weeks", "days", "hours", "minutes", "seconds"... //but if you set `humanize` to true, `unit` will be ignored. humanize:false, //If set as `true`, %RESULT% will be humanized. (e.g "a year ago") absolute:true, //If set as `false`, remain duration will be `plus number`, past duration will be `minus number`. If set as `true`, all duration will be `plus number` ignore:null, //Available [null, "before", "after"]. This event will not be displayed `before|after` targetTime className: "", //You can assign class name to this event for beautifying with CSS. output: "%RESULT% days passed", //You can modify output text. %RESULT% will be result of countdown/up calculation with above options. }, { group: "default", title: "Emma's Alcohol Free", targetTime: "2019-09-26", // See the time format section. yearlyRepeat: false, // if this event should be refreshed yearly, set this to `true`. targetTime will be replaced the closest next date of this year or the next year. unit: "days", // "years", "months", "weeks", "days", "hours", "minutes", "seconds"... //but if you set `humanize` to true, `unit` will be ignored. humanize:false, //If set as `true`, %RESULT% will be humanized. (e.g "a year ago") absolute:true, //If set as `false`, remain duration will be `plus number`, past duration will be `minus number`. If set as `true`, all duration will be `plus number` ignore:null, //Available [null, "before", "after"]. This event will not be displayed `before|after` targetTime className: "", //You can assign class name to this event for beautifying with CSS. output: "%RESULT% days passed", //You can modify output text. %RESULT% will be result of countdown/up calculation with above options. }, ] } }, modules: [ { module: 'MMM-UKNationalRail', position: 'bottom_left', header: 'Whittlesford Parkway', //Optional - delete this line to turn OFF the header completely config: { stationCode: 'WLF', // CRS code for station app_id: 'xxxxx', // TransportAPI App ID app_key: 'xxxxx', // TransportAPI App Key maxResults: 5, //Optional - Maximum results to display. showOrigin: false //Optional - Show the origin of the train in the table } }, ] { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "BBC News", url: "http://feeds.bbci.co.uk/news/rss.xml?edition=uk" } ], showSourceTitle: true, showPublishDate: true } }, ] /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
-
can anyone see problems?
-
u have this in the middle of the modules list
modules: [ { module: 'MMM-UKNationalRail', position: 'bottom_left', header: 'Whittlesford Parkway', //Optional - delete this line to turn OFF the header completely config: {
-
yes i have removed that, but still no joy
-
@dawookie1979 my post did not show All that was trouble
-
lol, ok. i have added/taken away {}. it now seems to work :0 . Thank you for your help
-
how do i mark this as solved :)
-
@dawookie1979 u didn’t open it as an issue that is closable, so only can edit the title to add solved