Read the statement by Michael Teeuw here.
Script error
-
*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/
var config =
{
address: “192.168.178.246”,
electronOptions: {}, ipWhitelist: [ ], modules: [ { module: "alert", config: { } }, { module: "MMM-pages", config: { modules: [ [ "updatenotification", "MMM-Tools", "MMM-chromecast", "MMM-Remote-Control", "MMM-iFrameReload", "MMM-Console", "MMM-MyCommute", "weatherforecast", "MMM-Scrobbler", "MMM-GooglePhotos" ], [ "MMM-MARS", "MMM-Rijks" ], [ "MMM-google-route" ], [ "MMM-FlightsAbove", "MMM-NetworkConnection", "calendar", "MMM-MyCommute", "MMM-DailyBibleVerse", "MMM-LocalTransport", "MMM-TelegramBot" ], [ "MMM-NetworkScanner", "compliments", "MMM-DarkSkyForecast", "MMM-OnScreenMenu", "MMM-SoccerLiveScore" ], [ "MMM-Formula1", "MMM-EARTH", "MMM-SmartWebDisplay" ] ], excludes: [ "clock", "currentweather", "MMM-NewsFeedTicker", "MMM-page-indicator" ], rotationTime: 15000 } }, { module: "updatenotification", position: "top_bar", config: { } }, { module: "clock", position: "top_left", config: { } }, { module: "MMM-page-indicator", position: "bottom_bar", config: { pages: 6 } }, { module: "MMM-Remote-Control", position: "bottom_left", config: { customCommand: {}, // Optional, See "Using Custom Commands" below customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below showModuleApiMenu: true, // Optional, Enable the Module Controls menu pm2ProcessName: "mm", // Optional, if you don't use the default PM2 process, provide the name here. apiKey: "", // Optional, See API/README.md for details } }, { module: "MMM-Console", header: "Console Output", position: "bottom_right", config: { lines: 15, } }, { module: "MMM-Rijks", position: "fullscreen_below", config: { descriptionLanguage: "nl", account: { userId: "******", apiKey: "******", setId: "magicmirror" } } }, { module: "MMM-NetworkConnection", position: "top_center", config: { updateInterval: 600000 } }, { module: "MMM-Scrobbler", position: "top_center", config: { username: "E-JKromhout", apikey: "********" } }, { module: "MMM-OnScreenMenu", position: "bottom_left", config: { menuItems: { monitorOff: { title: "Turn Off Monitor", icon: "television", source: "SERVER" }, restart: { title: "Restart MagicMirror", icon: "recycle", source: "ALL" }, refresh: { title: "Refresh MagicMirror", icon: "refresh", source: "LOCAL" }, reboot: { title: "Reboot", icon: "spinner", source: "ALL" }, shutdown: { title: "Shutdown", icon: "power-off", source: "ALL" } }, keyBindings: { Up: "ArrowUp", Down: "ArrowDown", Select: "Enter", Close: "Return", Menu: "Menu" } } }, { module: "MMM-FlightsAbove", header: "Flights Above", position: "top_left", config: { compassHeading: true, maxItems: 10, radarBBox: [ 53.47343, 4.92684, 52.39545, 6.71538 ], watchList: [ 1276, 5000, 5400, 5600, 6000, 6100, 6400 ] } }, { module: "MMM-NetworkScanner", position: "top_left", config: { devices: [ { macAddress: "********", name: "Ernst-Jan", icon: "male" }, { macAddress: "********", name: "Jantine", icon: "female" }, { macAddress: "********", name: "Jelle", icon: "male" }, { macAddress: "********", name: "Wessel", icon: "male" }, { macAddress: "*********", name: "Synology DS416play", icon: "server" }, { macAddress: "*********", name: "Synology Backup 210", icon: "server" } ], showUnknown: false, keepAlive: 300, updateInterval: 5, residents: [ ] } }, { module: "MMM-SoccerLiveScore", position: "bottom_right", header: "Live-Scores", config: { leagues: [ 37 ], displayTime: 60000 } }, { module: "currentweather", position: "top_right", config: { location: "Drachten", locationID: "2756644", appid: "**************", iconTable: { "01d": "wi-day-sunny", "02d": "wi-day-cloudy", "03d": "wi-cloudy", "04d": "wi-cloudy-windy", "09d": "wi-showers", "10d": "wi-rain", "11d": "wi-thunderstorm", "13d": "wi-snow", "50d": "wi-fog", "01n": "wi-night-clear", "02n": "wi-night-cloudy", "03n": "wi-night-cloudy", "04n": "wi-night-cloudy", "09n": "wi-night-showers", "10n": "wi-night-rain", "11n": "wi-night-thunderstorm", "13n": "wi-night-snow", "50n": "wi-night-alt-cloudy-windy" } } }, { module: "MMM-Tools", position: "bottom_left", config: { warning: { CPU_TEMPERATURE: 65, GPU_TEMPERATURE: 65, CPU_USAGE: 75, STORAGE_USED_PERCENT: 80, MEMORY_USED_PERCENT: 80 }, warning_text: { CPU_TEMPERATURE: "The temperature of CPU is over %VAL%", GPU_TEMPERATURE: "The temperature of GPU is over %VAL%", CPU_USAGE: "The usage of CPU is over %VAL%", STORAGE_USED_PERCENT: "The storage is used over %VAL% percent", MEMORY_USED_PERCENT: "The memory is used over %VAL% percent" } } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "Drachten", locationID: "2756644", appid: "**********", iconTable: { "01d": "wi-day-sunny", "02d": "wi-day-cloudy", "03d": "wi-cloudy", "04d": "wi-cloudy-windy", "09d": "wi-showers", "10d": "wi-rain", "11d": "wi-thunderstorm", "13d": "wi-snow", "50d": "wi-fog", "01n": "wi-night-clear", "02n": "wi-night-cloudy", "03n": "wi-night-cloudy", "04n": "wi-night-cloudy", "09n": "wi-night-showers", "10n": "wi-night-rain", "11n": "wi-night-thunderstorm", "13n": "wi-night-snow", "50n": "wi-night-alt-cloudy-windy" } } }, { disabled: false, module: "MMM-NewsFeedTicker", position: "top_bar", config: { feeds: [ { title: "AD Nieuws", url: "https://www.ad.nl/nieuws/rss.xml", encoding: "UTF-8", className: "myClass", defaultLogo: "" } ], startTags: [ ], endTags: [ ], prohibitedWords: [ ] } }, { module: "MMM-LocalTransport", header: "Naar Groning Vondelpad", position: "center", config: { api_key: "*********", origin: "Ureterp Centrum, Ureterp, The Netherlands", destination: "Groningen Hoofdstation, Groningen, The Netherlands", maximumEntries: 4, maxWalkTime: 15, displayWalkType: "full", maxModuleWidth: 400 } }, { module: "MMM-google-route", position: "center", config: { key: "***********", directionsRequest: { origin: "Ureterp, The Netherlands", destination: "Grootegast, The Netherlands" }, mapOptions: { }, listen: [ ] } }, /* { module: "MMM-MyCommute", position: "bottom_right", header: "Reis informatie", config: { apikey: "************", orgin: "Reiddomp 8, ureterp, 9247 GP, The Netherlands", hideDays: [ ], destinations: [ { destination: "Weibuorren 108, Ureterp, 9247 AW, The Netherlands", label: "Bushalte Ureterp Centrum", mode: "walking", color: "#82E5AA", time: null }, { destination: "De Drift 38, Drachten, 9203 GH, The Netherlands", label: "School Wessel", mode: "bicycling", time: null }, { destination: "De Brauwweg 82, Schiedam, 3125 AE, The Netherlands", label: "Werk Ernst-Jan", mode: "driving", time: null }, { destination: "De Schalck 8, Grootegast, 9861 BD, The Netherlands", label: "Werk Jantine", mode: "driving", color: "#FF00FF", time: null } ], origin: "Reiddomp 8, Ureterp, 9247 GP, The Netherlands" } }, */ { module: "MMM-DarkSkyForecast", header: "Weather", position: "center", classes: "default everyone", disabled: false, config: { apikey: "**************", latitude: "53.098752", longitude: "6.176201", iconset: "4c", concise: false, forecastLayout: "table", label_days: [ "Sun", "Mon", "Tue", "Wed", "Thur", "Fri", "Sat" ], label_ordinals: [ "N", "NNE", "NE", "ENE", "E", "ESE", "SE", "SSE", "S", "SSW", "SW", "WSW", "W", "WNW", "NW", "NNW" ] } }, { module: "MMM-GoogleMapsTraffic", position: "center", config: { key: "******************", lat: 53.098853, lng: 6.176025, height: "600px", width: "600px", zoom: 12, updateInterval: 300000 } }, { module: "MMM-SmartWebDisplay", position: "bottom_center", config: { url: [ "http://magicmirror.builders/", "https://www.youtube.com/embed/Qwc2Eq6YXTQ?autoplay=1" ] } }, { module: "calendar", position: "bottom_right", header: "Familie Kromhout", config: { calendars: [ { symbol: "calendar", url: "https://calendar.google.com/calendar/ical/ernstjan.kromhout%40gmail.com/private-*******/basic.ics", maximumEntries: 3 }, { symbol: 'flag-checkered', url: 'https://calendar.google.com/calendar/ical/f********%40group.calendar.google.com/public/basic.ics', maximumEntries: 3 } ], titleReplace: { "De verjaardag van ": "", "'s birthday": "" }, excludedEvents: [ ] } }, { module: "MMM-GooglePhotos", position: "top_center", config: { albumId: [ "***********" ], scanInterval: 600000, mode: "hybrid" } }, { module: "MMM-Formula1", position: "top_left", header: "F1 Standings", config: { calendar: true, } }, { module: "MMM-MARS", position: "top_left", config: { useHeader: false } }, { module: "MMM-EARTH", position: "right_bottom", config: { rotateInterval: 15000, MonthsArray: { Jan: "01", Feb: "02", Mar: "03", Apr: "04", May: "05", Jun: "06", Jul: "07", Aug: "08", Sep: "09", Oct: "10", Nov: "11", Dec: "12" } } } ], paths: { modules: "modules", vendor: "vendor" }
}
-
@ernst-jan need to wrap the whole config.js text in the three backtics… left of the number 1 on the keyboard
what language do you have set? here is mine.
var config = { address: "0.0.0.0", // 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: 8086, ipWhitelist: [], // 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: 12, units: "imperial", modules: [
-
/*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/
var config =
{
address: “192.168.178.246”,
electronOptions: {}, ipWhitelist: [ ], modules: [ { module: "alert", config: { } }, { module: "MMM-pages", config: { modules: [ [ "updatenotification", "MMM-Tools", "MMM-chromecast", "MMM-Remote-Control", "MMM-iFrameReload", "MMM-Console", "MMM-MyCommute", "weatherforecast", "MMM-Scrobbler", "MMM-GooglePhotos" ], [ "MMM-MARS", "MMM-Rijks" ], [ "MMM-google-route" ], [ "MMM-FlightsAbove", "MMM-NetworkConnection", "calendar", "MMM-MyCommute", "MMM-DailyBibleVerse", "MMM-LocalTransport", "MMM-TelegramBot" ], [ "MMM-NetworkScanner", "compliments", "MMM-DarkSkyForecast", "MMM-OnScreenMenu", "MMM-SoccerLiveScore" ], [ "MMM-Formula1", "MMM-EARTH", "MMM-SmartWebDisplay" ] ], excludes: [ "clock", "currentweather", "MMM-NewsFeedTicker", "MMM-page-indicator" ], rotationTime: 15000 } }, { module: "updatenotification", position: "top_bar", config: { } }, { module: "clock", position: "top_left", config: { } }, { module: "MMM-page-indicator", position: "bottom_bar", config: { pages: 6 } }, { module: "MMM-Remote-Control", position: "bottom_left", config: { customCommand: {}, // Optional, See "Using Custom Commands" below customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below showModuleApiMenu: true, // Optional, Enable the Module Controls menu pm2ProcessName: "mm", // Optional, if you don't use the default PM2 process, provide the name here. apiKey: "", // Optional, See API/README.md for details } }, { module: "MMM-Console", header: "Console Output", position: "bottom_right", config: { lines: 15, } }, { module: "MMM-Rijks", position: "fullscreen_below", config: { descriptionLanguage: "nl", account: { userId: "2343212", apiKey: "*********", setId: "magicmirror" } } }, { module: "MMM-NetworkConnection", position: "top_center", config: { updateInterval: 600000 } }, { module: "MMM-Scrobbler", position: "top_center", config: { username: "E-JKromhout", apikey: "***********" } }, { module: "MMM-OnScreenMenu", position: "bottom_left", config: { menuItems: { monitorOff: { title: "Turn Off Monitor", icon: "television", source: "SERVER" }, restart: { title: "Restart MagicMirror", icon: "recycle", source: "ALL" }, refresh: { title: "Refresh MagicMirror", icon: "refresh", source: "LOCAL" }, reboot: { title: "Reboot", icon: "spinner", source: "ALL" }, shutdown: { title: "Shutdown", icon: "power-off", source: "ALL" } }, keyBindings: { Up: "ArrowUp", Down: "ArrowDown", Select: "Enter", Close: "Return", Menu: "Menu" } } }, { module: "MMM-FlightsAbove", header: "Flights Above", position: "top_left", config: { compassHeading: true, maxItems: 10, radarBBox: [ 53.47343, 4.92684, 52.39545, 6.71538 ], watchList: [ 1276, 5000, 5400, 5600, 6000, 6100, 6400 ] } }, { module: "MMM-NetworkScanner", position: "top_left", config: { devices: [ { macAddress: "80:B0:3D:37:8B:53", name: "Ernst-Jan", icon: "male" }, { macAddress: "B4:18:D1:1F:B0:4D", name: "Jantine", icon: "female" }, { macAddress: "48:43:7C:E9:96:D7", name: "Jelle", icon: "male" }, { macAddress: "38:CA:DA:C1:08:F8", name: "Wessel", icon: "male" }, { macAddress: "00:11:32:32:BB:FD", name: "Synology DS416play", icon: "server" }, { macAddress: "00:11:32:06:4B:6D", name: "Synology Backup 210", icon: "server" } ], showUnknown: false, keepAlive: 300, updateInterval: 5, residents: [ ] } }, { module: "MMM-SoccerLiveScore", position: "bottom_right", header: "Live-Scores", config: { leagues: [ 37 ], displayTime: 60000 } }, { module: "currentweather", position: "top_right", config: { location: "Drachten", locationID: "2756644", appid: "**********", iconTable: { "01d": "wi-day-sunny", "02d": "wi-day-cloudy", "03d": "wi-cloudy", "04d": "wi-cloudy-windy", "09d": "wi-showers", "10d": "wi-rain", "11d": "wi-thunderstorm", "13d": "wi-snow", "50d": "wi-fog", "01n": "wi-night-clear", "02n": "wi-night-cloudy", "03n": "wi-night-cloudy", "04n": "wi-night-cloudy", "09n": "wi-night-showers", "10n": "wi-night-rain", "11n": "wi-night-thunderstorm", "13n": "wi-night-snow", "50n": "wi-night-alt-cloudy-windy" } } }, { module: "MMM-Tools", position: "bottom_left", config: { warning: { CPU_TEMPERATURE: 65, GPU_TEMPERATURE: 65, CPU_USAGE: 75, STORAGE_USED_PERCENT: 80, MEMORY_USED_PERCENT: 80 }, warning_text: { CPU_TEMPERATURE: "The temperature of CPU is over %VAL%", GPU_TEMPERATURE: "The temperature of GPU is over %VAL%", CPU_USAGE: "The usage of CPU is over %VAL%", STORAGE_USED_PERCENT: "The storage is used over %VAL% percent", MEMORY_USED_PERCENT: "The memory is used over %VAL% percent" } } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "Drachten", locationID: "2756644", appid: "**********", iconTable: { "01d": "wi-day-sunny", "02d": "wi-day-cloudy", "03d": "wi-cloudy", "04d": "wi-cloudy-windy", "09d": "wi-showers", "10d": "wi-rain", "11d": "wi-thunderstorm", "13d": "wi-snow", "50d": "wi-fog", "01n": "wi-night-clear", "02n": "wi-night-cloudy", "03n": "wi-night-cloudy", "04n": "wi-night-cloudy", "09n": "wi-night-showers", "10n": "wi-night-rain", "11n": "wi-night-thunderstorm", "13n": "wi-night-snow", "50n": "wi-night-alt-cloudy-windy" } } }, { disabled: false, module: "MMM-NewsFeedTicker", position: "top_bar", config: { feeds: [ { title: "AD Nieuws", url: "https://www.ad.nl/nieuws/rss.xml", encoding: "UTF-8", className: "myClass", defaultLogo: "" } ], startTags: [ ], endTags: [ ], prohibitedWords: [ ] } }, { module: "MMM-LocalTransport", header: "Naar Groning Vondelpad", position: "center", config: { api_key: "AIzaSyDNu23Dqqt7eEGJvtJDs02rjRxmNT5Fr9c", origin: "Ureterp Centrum, Ureterp, The Netherlands", destination: "Groningen Hoofdstation, Groningen, The Netherlands", maximumEntries: 4, maxWalkTime: 15, displayWalkType: "full", maxModuleWidth: 400 } }, { module: "MMM-google-route", position: "center", config: { key: "********", directionsRequest: { origin: "Ureterp, The Netherlands", destination: "Grootegast, The Netherlands" }, mapOptions: { }, listen: [ ] } }, /* { module: "MMM-MyCommute", position: "bottom_right", header: "Reis informatie", config: { apikey: "********", orgin: "Reiddomp 8, ureterp, 9247 GP, The Netherlands", hideDays: [ ], destinations: [ { destination: "Weibuorren 108, Ureterp, 9247 AW, The Netherlands", label: "Bushalte Ureterp Centrum", mode: "walking", color: "#82E5AA", time: null }, { destination: "De Drift 38, Drachten, 9203 GH, The Netherlands", label: "School Wessel", mode: "bicycling", time: null }, { destination: "De Brauwweg 82, Schiedam, 3125 AE, The Netherlands", label: "Werk Ernst-Jan", mode: "driving", time: null }, { destination: "De Schalck 8, Grootegast, 9861 BD, The Netherlands", label: "Werk Jantine", mode: "driving", color: "#FF00FF", time: null } ], origin: "Reiddomp 8, Ureterp, 9247 GP, The Netherlands" } }, */ { module: "MMM-DarkSkyForecast", header: "Weather", position: "center", classes: "default everyone", disabled: false, config: { apikey: "********", latitude: "53.098752", longitude: "6.176201", iconset: "4c", concise: false, forecastLayout: "table", label_days: [ "Sun", "Mon", "Tue", "Wed", "Thur", "Fri", "Sat" ], label_ordinals: [ "N", "NNE", "NE", "ENE", "E", "ESE", "SE", "SSE", "S", "SSW", "SW", "WSW", "W", "WNW", "NW", "NNW" ] } }, { module: "MMM-GoogleMapsTraffic", position: "center", config: { key: "*********", lat: 53.098853, lng: 6.176025, height: "600px", width: "600px", zoom: 12, updateInterval: 300000 } }, { module: "MMM-SmartWebDisplay", position: "bottom_center", config: { url: [ "http://magicmirror.builders/", "https://www.youtube.com/embed/Qwc2Eq6YXTQ?autoplay=1" ] } }, { module: "calendar", position: "bottom_right", header: "Familie Kromhout", config: { calendars: [ { symbol: "calendar", url: "https://calendar.google.com/calendar/ical/ernstjan.kromhout%40gmail.com/private-********/basic.ics", maximumEntries: 3 }, { symbol: 'flag-checkered', url: 'https://calendar.google.com/calendar/ical/**********%40group.calendar.google.com/public/basic.ics', maximumEntries: 3 } ], titleReplace: { "De verjaardag van ": "", "'s birthday": "" }, excludedEvents: [ ] } }, { module: "MMM-GooglePhotos", position: "top_center", config: { albumId: [ "********" ], scanInterval: 600000, mode: "hybrid" } }, { module: "MMM-Formula1", position: "top_left", header: "F1 Standings", config: { calendar: true, } }, { module: "MMM-MARS", position: "top_left", config: { useHeader: false } }, { module: "MMM-EARTH", position: "right_bottom", config: { rotateInterval: 15000, MonthsArray: { Jan: "01", Feb: "02", Mar: "03", Apr: "04", May: "05", Jun: "06", Jul: "07", Aug: "08", Sep: "09", Oct: "10", Nov: "11", Dec: "12" } } } ], paths: { modules: "modules", vendor: "vendor" }
}
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== ‘undefined’) {module.exports = config;} -
@ernst-jan still somehow getting cut off…
don’t include the comment lines at the top… -
can i sent it to you by mail?.
-
@ernst-jan i don’t think I can help much, there is a LOT of stuff going on there…
they key thing I wanted to see is what language u have set…the error is complaining about locale…
-
@ernst-jan https://jshint.com/ Has helped me.