• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Script error

Scheduled Pinned Locked Moved Bug Hunt
11 Posts 4 Posters 2.5k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    Ernst-Jan
    last edited by Feb 20, 2019, 5:25 PM

    @ganget I Iget this message when I start up my MM.opi@raspberrypi:~ $ pm2 log mm
    [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
    /home/pi/.pm2/logs/mm-out.log last 15 lines:
    0|mm | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/fa9bjl6tu13dd10b066stoo5do%40group.calendar.google.com/public/basic.ics - Interval: 2000
    0|mm | MMM-GooglePhotos initialized after loading.
    0|mm | MMM-Formula1 received a notification: CONFIG
    0|mm | MMM-Formula1 is fetching the race schedule
    0|mm | Make request: /api/f1/current.json (GET)
    0|mm | MMM-Formula1 is fetching driver standings
    0|mm | Make request: /api/f1/current/driverStandings.json (GET)
    0|mm | https://epic.gsfc.nasa.gov/api/natural
    0|mm | starting network connection testing
    0|mm | [GPHOTO] Scan finished : 13
    0|mm | [RIJKS] 1 cycle finished.
    0|mm |
    0|mm | > magicmirror@2.6.0 start /home/pi/MagicMirror
    0|mm | > sh run-start.sh
    0|mm |

    /home/pi/.pm2/logs/mm-error.log last 15 lines:
    0|mm |
    0|mm | (process:903): Gtk-WARNING **: Locale not supported by C library.
    0|mm | Using the fallback ‘C’ locale.
    0|mm | (node:903) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:903) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    0|mm | (node:903) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:903) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:903) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:903) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:903) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:903) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | bash: warning: setlocale: LC_ALL: cannot change locale (nl_NL.UTF-8)
    0|mm |
    0|mm | (process:3570): Gtk-WARNING **: Locale not supported by C library.
    0|mm | Using the fallback ‘C’ locale.

    0|mm | Starting MagicMirror: v2.6.0
    0|mm | Loading config …
    0|mm | Loading module helpers …
    0|mm | No helper found for module: alert.
    0|mm | No helper found for module: MMM-pages.
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: updatenotification
    0|mm | No helper found for module: clock.
    0|mm | No helper found for module: MMM-page-indicator.
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-Remote-Control
    0|mm | No helper found for module: MMM-Console.
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-Rijks
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-NetworkConnection
    0|mm | No helper found for module: MMM-Scrobbler.
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-OnScreenMenu
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-FlightsAbove
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-NetworkScanner
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-SoccerLiveScore
    0|mm | No helper found for module: currentweather.
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-Tools
    0|mm | No helper found for module: weatherforecast.
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-NewsFeedTicker
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-LocalTransport
    0|mm | No helper found for module: MMM-google-route.
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-DarkSkyForecast
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-GoogleMapsTraffic
    0|mm | No helper found for module: MMM-SmartWebDisplay.
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: calendar
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-GooglePhotos
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-Formula1
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-MARS
    0|mm | Initializing new module helper …
    0|mm | Module helper loaded: MMM-EARTH
    0|mm | All module helpers loaded.
    0|mm | Starting server on port 8080 …
    0|mm | You’re using a full whitelist configuration to allow for all IPs
    0|mm | Server started …
    0|mm | Connecting socket for: updatenotification
    0|mm | Connecting socket for: MMM-Remote-Control
    0|mm | Starting node helper for: MMM-Remote-Control
    0|mm | Connecting socket for: MMM-Rijks
    0|mm | Connecting socket for: MMM-NetworkConnection
    0|mm | MMM-NetworkConnection helper started …
    0|mm | Connecting socket for: MMM-OnScreenMenu
    0|mm | Connecting socket for: MMM-FlightsAbove
    0|mm | MMM-FlightsAbove started
    0|mm | Connecting socket for: MMM-NetworkScanner
    0|mm | Starting module: MMM-NetworkScanner
    0|mm | Connecting socket for: MMM-SoccerLiveScore
    0|mm | MMM-SoccerLiveScore helper started…
    0|mm | Connecting socket for: MMM-Tools
    0|mm | Connecting socket for: MMM-NewsFeedTicker
    0|mm | Starting module: MMM-NewsFeedTicker
    0|mm | Connecting socket for: MMM-LocalTransport
    0|mm | MMM-LocalTransport helper started …
    0|mm | Connecting socket for: MMM-DarkSkyForecast
    0|mm | ====================== Starting node_helper for module [MMM-DarkSkyForecast]
    0|mm | Connecting socket for: MMM-GoogleMapsTraffic
    0|mm | Starting node_helper for module: MMM-GoogleMapsTraffic
    0|mm | Connecting socket for: calendar
    0|mm | Starting node helper for: calendar
    0|mm | Connecting socket for: MMM-GooglePhotos
    0|mm | MMM-GooglePhotos started
    0|mm | Connecting socket for: MMM-Formula1
    0|mm | Starting module: MMM-Formula1
    0|mm | Connecting socket for: MMM-MARS
    0|mm | Starting node_helper for: MMM-MARS
    0|mm | Connecting socket for: MMM-EARTH
    0|mm | Starting module: MMM-EARTH
    0|mm | Sockets connected & modules started …
    0|mm | Launching application.
    0|mm | (node:3570) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:3570) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    0|mm | (node:3570) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:3570) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:3570) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:3570) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:3570) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:3570) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:3570) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:3570) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 9): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:3570) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 10): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:3570) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 11): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | (node:3570) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 12): TypeError: Cannot read property ‘refs’ of undefined
    0|mm | MMM-NetworkScanner received CONFIG
    0|mm | Create new news fetcher for url: https://www.ad.nl/nieuws/rss.xml - Interval: 3600000
    0|mm | Working notification system. Notification: MMM-GOOGLE_MAPS_TRAFFIC-GET payload: { style: ‘standard’ }
    0|mm | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/ernstjan.kromhout%40gmail.com/private-bf338f45b4e760a080dff16bb5a46b31/basic.ics - Interval: 2000
    0|mm | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/fa9bjl6tu13dd10b066stoo5do%40group.calendar.google.com/public/basic.ics - Interval: 2000
    0|mm | MMM-GooglePhotos initialized after loading.
    0|mm | MMM-Formula1 received a notification: CONFIG
    0|mm | MMM-Formula1 is fetching the race schedule
    0|mm | Make request: /api/f1/current.json (GET)
    0|mm | MMM-Formula1 is fetching driver standings
    0|mm | Make request: /api/f1/current/driverStandings.json (GET)
    0|mm | https://epic.gsfc.nasa.gov/api/natural
    0|mm | [GPHOTO] Scan finished : 13
    0|mm | starting network connection testing

    S 1 Reply Last reply Feb 25, 2019, 11:41 AM Reply Quote 0
    • S Away
      sdetweil
      last edited by Feb 20, 2019, 6:01 PM

      please show us your config.js

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • bheplerB Offline
        bhepler Module Developer
        last edited by Feb 21, 2019, 2:32 AM

        Please use the markdown features of the forum when posting code & log messages.

        And yes, please post your config.js with the API keys redacted.

        1 Reply Last reply Reply Quote 0
        • E Offline
          Ernst-Jan
          last edited by Feb 21, 2019, 3:58 PM

          *************** 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"
          }
          

          }

          S 1 Reply Last reply Feb 21, 2019, 4:05 PM Reply Quote 0
          • S Away
            sdetweil @Ernst-Jan
            last edited by sdetweil Feb 21, 2019, 4:05 PM Feb 21, 2019, 4:05 PM

            @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: [
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • E Offline
              Ernst-Jan
              last edited by Feb 21, 2019, 4:52 PM

              /*************** 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;}

              S 1 Reply Last reply Feb 21, 2019, 4:56 PM Reply Quote 0
              • S Away
                sdetweil @Ernst-Jan
                last edited by Feb 21, 2019, 4:56 PM

                @ernst-jan still somehow getting cut off…
                don’t include the comment lines at the top…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Ernst-Jan
                  last edited by Feb 21, 2019, 4:57 PM

                  can i sent it to you by mail?.

                  S 1 Reply Last reply Feb 21, 2019, 5:08 PM Reply Quote 0
                  • S Away
                    sdetweil @Ernst-Jan
                    last edited by Feb 21, 2019, 5:08 PM

                    @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…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      showbizkid @Ernst-Jan
                      last edited by Feb 25, 2019, 11:41 AM

                      @ernst-jan https://jshint.com/ Has helped me.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        6/11
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy