• 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
  1. Home
  2. nipper2000h
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
N
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 3
  • Posts 10
  • Groups 0

nipper2000h

@nipper2000h

2
Reputation
10
Profile views
10
Posts
0
Followers
0
Following
Joined Jun 13, 2020, 5:22 AM
Last Online Apr 3, 2023, 10:18 PM

nipper2000h Unfollow Follow

Best posts made by nipper2000h

  • RE: Transit module stopped working

    @elliob I’m using pm2 to start MM so from the root directory:

    pm2 logs mm
    
    posted in Troubleshooting
    N
    nipper2000h
    Jul 6, 2020, 12:30 AM
  • RE: MMM-eswordoftheday prevents MM from launching

    @BerkSmash1984
    Yessir, thank you for posting here! This fixed my issue as well.

    @sdetweil
    Thank you for the clarification! I really appreciate your help and this community!

    posted in Troubleshooting
    N
    nipper2000h
    Mar 28, 2023, 11:13 PM

Latest posts made by nipper2000h

  • RE: MMM-eswordoftheday prevents MM from launching

    @BerkSmash1984
    Yessir, thank you for posting here! This fixed my issue as well.

    @sdetweil
    Thank you for the clarification! I really appreciate your help and this community!

    posted in Troubleshooting
    N
    nipper2000h
    Mar 28, 2023, 11:13 PM
  • RE: MMM-eswordoftheday prevents MM from launching

    Thanks for the reply! It’s been a while, I copied the whole text instead of running each command… change directories and installed the module. The mirror starts and the module loads! but it’s still throwing the error below and the module just displays this dot below

    
    0|mm       | }
    0|mm       | [2023-03-27 18:31:40.749] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'axios'
    0|mm       | Require stack:
    0|mm       | - /home/pi/MagicMirror/modules/MMM-eswordoftheday/node_helper.js
    0|mm       | - /home/pi/MagicMirror/js/app.js
    0|mm       | - /home/pi/MagicMirror/js/electron.js
    0|mm       | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    0|mm       | - 
    0|mm       | [2023-03-27 18:31:40.770] [ERROR]  App threw an error during load
    0|mm       | [2023-03-27 18:31:40.773] [ERROR]  Error: Cannot find module 'axios'
    0|mm       | Require stack:
    0|mm       | - /home/pi/MagicMirror/modules/MMM-eswordoftheday/node_helper.js
    0|mm       | - /home/pi/MagicMirror/js/app.js
    0|mm       | - /home/pi/MagicMirror/js/electron.js
    0|mm       | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    0|mm       | - 
    0|mm       |     at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
    0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
    0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
    0|mm       |     at Function.Module._load (internal/modules/cjs/loader.js:531:27)
    0|mm       |     at Module.require (internal/modules/cjs/loader.js:685:19)
    0|mm       |     at require (internal/modules/cjs/helpers.js:16:16)
    0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-eswordoftheday/node_helper.js:2:15)
    0|mm       |     at Module._compile (internal/modules/cjs/loader.js:786:30)
    0|mm       |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
    0|mm       |     at Module.load (internal/modules/cjs/loader.js:645:32)
    0|mm       | [2023-03-27 18:31:40.783] [ERROR]  Error: Cannot find module 'axios'
    0|mm       | Require stack:
    0|mm       | - /home/pi/MagicMirror/modules/MMM-eswordoftheday/node_helper.js
    0|mm       | - /home/pi/MagicMirror/js/app.js
    0|mm       | - /home/pi/MagicMirror/js/electron.js
    0|mm       | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    0|mm       | - 
    0|mm       |     at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
    0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
    0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
    0|mm       |     at Function.Module._load (internal/modules/cjs/loader.js:531:27)
    0|mm       |     at Module.require (internal/modules/cjs/loader.js:685:19)
    0|mm       |     at require (internal/modules/cjs/helpers.js:16:16)
    0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-eswordoftheday/node_helper.js:2:15)
    0|mm       |     at Module._compile (internal/modules/cjs/loader.js:786:30)
    0|mm       |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
    0|mm       |     at Module.load (internal/modules/cjs/loader.js:645:32) {
    0|mm       |   code: 'MODULE_NOT_FOUND',
    0|mm       |   requireStack: [
    0|mm       |     '/home/pi/MagicMirror/modules/MMM-eswordoftheday/node_helper.js',
    0|mm       |     '/home/pi/MagicMirror/js/app.js',
    0|mm       |     '/home/pi/MagicMirror/js/electron.js',
    0|mm       |     '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
    0|mm       |     undefined
    0|mm       |   ]
    0|mm       | }
    
    

    Capture.PNG

    The config file has examples turned on

        showExamples: true,
        showExampleTranslations: true,
    

    The helper has something about requiring axios

    const NodeHelper = require("node_helper")
    const axios = require("axios")
    const cheerio = require("cheerio")
    

    Any idea?

    posted in Troubleshooting
    N
    nipper2000h
    Mar 28, 2023, 2:51 AM
  • MMM-eswordoftheday prevents MM from launching

    Hello All! I have recently installed the MMM-eswordoftheday module (here: https://github.com/daniel-windsor/MMM-eswordoftheday)

    My mirror was working before the installation. I installed the module and added it to my config but now the mirror won’t launch, I get stuck with a black Electron box. When I look at the logs, I see the below:

    0|mm | [2023-03-27 18:31:40.770] [ERROR] App threw an error during load
    0|mm | [2023-03-27 18:31:40.773] [ERROR] Error: Cannot find module ‘axios’
    0|mm | Require stack:
    0|mm | - /home/pi/MagicMirror/modules/MMM-eswordoftheday/node_helper.js
    0|mm | - /home/pi/MagicMirror/js/app.js
    0|mm | - /home/pi/MagicMirror/js/electron.js
    0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    0|mm | -
    0|mm | at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
    0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
    0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
    0|mm | at Function.Module._load (internal/modules/cjs/loader.js:531:27)
    0|mm | at Module.require (internal/modules/cjs/loader.js:685:19)
    0|mm | at require (internal/modules/cjs/helpers.js:16:16)
    0|mm | at Object. (/home/pi/MagicMirror/modules/MMM-eswordoftheday/node_helper.js:2:15)
    0|mm | at Module._compile (internal/modules/cjs/loader.js:786:30)
    0|mm | at Object.Module._extensions…js (internal/modules/cjs/loader.js:798:10)
    0|mm | at Module.load (internal/modules/cjs/loader.js:645:32)
    0|mm | [2023-03-27 18:31:40.783] [ERROR] Error: Cannot find module ‘axios’
    0|mm | Require stack:
    0|mm | - /home/pi/MagicMirror/modules/MMM-eswordoftheday/node_helper.js
    0|mm | - /home/pi/MagicMirror/js/app.js
    0|mm | - /home/pi/MagicMirror/js/electron.js
    0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    0|mm | -
    0|mm | at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
    0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
    0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
    0|mm | at Function.Module._load (internal/modules/cjs/loader.js:531:27)
    0|mm | at Module.require (internal/modules/cjs/loader.js:685:19)
    0|mm | at require (internal/modules/cjs/helpers.js:16:16)
    0|mm | at Object. (/home/pi/MagicMirror/modules/MMM-eswordoftheday/node_helper.js:2:15)
    0|mm | at Module._compile (internal/modules/cjs/loader.js:786:30)
    0|mm | at Object.Module._extensions…js (internal/modules/cjs/loader.js:798:10)
    0|mm | at Module.load (internal/modules/cjs/loader.js:645:32) {
    0|mm | code: ‘MODULE_NOT_FOUND’,
    0|mm | requireStack: [
    0|mm | ‘/home/pi/MagicMirror/modules/MMM-eswordoftheday/node_helper.js’,
    0|mm | ‘/home/pi/MagicMirror/js/app.js’,
    0|mm | ‘/home/pi/MagicMirror/js/electron.js’,
    0|mm | ‘/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js’,
    0|mm | undefined
    0|mm | ]
    0|mm | }
    0|mm | [2023-03-27 18:31:42.630] [LOG]
    0|mm | Launching application.

    It looks like the error states it cannot find the module ‘axios’ or perhaps missing something from the stack below? The error states the module is missing but I’m not sure if it’s looking for some sort of dependency or prereq or if it’s pointing to the module itself? I’ve put my config through ESINT and no issues found with this specific module. I’ve tried a few things like restarting the service… Could anyone help me identify the issue so I may work towards a resolution? Any and all help is sincerely appreciated. Thank you!!!

    posted in Troubleshooting
    N
    nipper2000h
    Mar 27, 2023, 10:37 PM
  • RE: Transit module stopped working

    @elliob I’m using pm2 to start MM so from the root directory:

    pm2 logs mm
    
    posted in Troubleshooting
    N
    nipper2000h
    Jul 6, 2020, 12:30 AM
  • RE: Transit module stopped working

    @sdetweil Thanks again.

    posted in Troubleshooting
    N
    nipper2000h
    Jul 4, 2020, 2:31 AM
  • RE: Transit module stopped working

    @sdetweil Thank you for the info. You helped me out the first time I had an issue too, I’m very appreciative of your help once again. Does that mean the next step is too hope the contributor releases an update?

    posted in Troubleshooting
    N
    nipper2000h
    Jul 4, 2020, 2:20 AM
  • RE: Transit module stopped working

    @elliob

    Thanks for the reply. I guess it’s nice knowing I’m not the only one having trouble. Did you just install it or were you using it beforehand?

    Here’s this project’s config for whatever it’s worth.

    /* Magic Mirror Config Sample
     *
     * By Michael Teeuw http://michaelteeuw.nl
     * MIT Licensed.
     *
     * For more information on how you can configure 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 or empty, 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"],
    
    	useHttps: false, 		// Support HTTPS or not, default "false" will use HTTP
    	httpsPrivateKey: "", 	// HTTPS private key path, only require when useHttps is true
    	httpsCertificate: "", 	// HTTPS Certificate path, only require when useHttps is true
    
    	language: "en",
    	timeFormat: 12,
    	units: "imperial",
    	// 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: "alert",
    		},
    		{
    			module: "clock",
    			position: "top_left"
    		},
    		{
    			module: "calendar_monthly",
    			position: "top_left",
    			config: {
    				// The config property is optional
    				// Without a config, a default month view is shown
    				// Please see the 'Configuration Options' section for more information
    			}
    		},
    		{
    			module: "MMM-TimeTreeEvent",//Positions of *_bar and *_third are not support.
    			position: "top_left",
    			config: {
    				appid: "calendarapi",//You need to get the target calender id with Get calender id api[1]
    				calenderid: "calendarid",
    			}
    		},
    		{
    			module: "MMM-Events",
    			position: "top_left",
    			config: {
    				city: "New York",// Your City
    				eventType: "performing_arts,conference_convention,festivals_parades,movies_film,food,fundraisers,support,book,music_alternative,music_dance,music_jazz,music_reggae,music_vocal,music_rap_hiphop,music_rock,music_pop,music_country,",
    				when: "This Week",// "All", "Future", "Past", "Today", "Last Week", "This Week", "Next week", and months by name, e.g. "October"
    				mode: "noFrame",// "Frame" or "noFrame" (around picture)
    				apikey: "eventsapi",
    				rotateInterval: 1 * 11 * 1000,// New Event Appears every 5 minutes
    				useHeader: false,// Set to true if you want a header
    				header: "",
    				animationSpeed: 3000,// Event fades in and out
    				picture: true,// true, false = no image
    			}
    		},
    		{
    			module: "MMM-TwitterTrendsByPlace",
    			position: "bottom_right",
    			config: {
    			// visit the url below for the twitter keys/tokens
    			// https://dev.twitter.com/oauth/overview/application-owner-access-tokens
    				consumer_key: "twitterapi",
    				consumer_secret: "twitterapi",
    				access_token_key: "twitterapi",
    				access_token_secret: "twitterapi",//set the display name/title for the place
    				placeName: "New York, NY",// set the woeid for the place, see documentation for more// http://woeid.rosselliot.co.nz/lookup/
    				placeWoeid: "2459115",
    			}
    		},
    		{
    			module: "MMM-nyc-transit",
    			position: "bottom_left",
    			header: "Next Train",
    			config: {
    				apiKey: "mytransitapi",
    				displayType: "list",
    				mtaType: "train",
    				stations: [
    					{
    						stationId: 476,
    						walkingTime: 0,
    						dir: {
    							upTown:true,
    							downTown: false
    						}
    					},
    				],
    				updateInterval: 300000
    			}
    		},
    		{
    			module: "MMM-MTA",
    			position: "bottom_left",
    			header: "MTA",
    			config: {
    				lines: ["123", "BDFM", "456", "NQR", "ACE"],
    				showDelaysOnly: false,
    				delayAlertFlash: true,
    				fetchInterval: 60000
    			}
    		},
    		{
    			module: "currentweather",
    			position: "top_right",
    			config: {
    				location: "New York",
    				locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    				appid: "myweatherapi"
    			}
    		},
    		{
    			module: "weatherforecast",
    			position: "top_right",
    			header: "Weather Forecast",
    			config: {
    				location: "New York",
    				locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    				appid: "myweatherapi"
    			}
    		},
    		{
    			module: "weatherforecast",
    			position: "top_right",
    			header: "Weather Forecast",
    			config: {
    				location: "Asbury Park, NJ",
    				locationID: "5095281", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    				appid: "myweatherapi"
    			}
    		},
    		{
    			module: "newsfeed",
    			position: "lower_third",
    			config: {
    				feeds: [
    					{
    						title: "New York Times",
    						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
    					},
    					{
    						title: "CNN",
    						url: "http://rss.cnn.com/rss/cnn_topstories.rss"
    					},
    					{
    						title: "BBC",
    						url: "http://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml"
    					},
    					{
    						title: "NBC",
    						url: "http://feeds.nbcnews.com/nbcnews/public/news"
    					},
    					{
    						title: "Time News",
    						url: "https://time.com/newsfeed/feed/"
    					},
    				],
    				showSourceTitle: true,
    				showPublishDate: true,
    				broadcastNewsFeeds: true,
    				broadcastNewsUpdates: true
    			}
    		},
    	]
    
    };
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== "undefined") {module.exports = config;}
    
    
    posted in Troubleshooting
    N
    nipper2000h
    Jul 4, 2020, 12:21 AM
  • Transit module stopped working

    Hello,

    I have been successfully using the MMM-nyc-transit module the past few weeks without issue but it stopped working yesterday morning. This is the only module in my mirror that is having an issue and it seemed to start randomly. I’ve tried reinstalling the module on a fresh image of MM but the module still did not work. While config check has returned no errors, npm logs reveal this issue. Could someone please help me to decipher the error and work towards a resolution? ```

    pi@raspberrypi:~ $ pm2 logs mm
    [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
    /home/pi/.pm2/logs/mm-error.log last 15 lines:
    0|mm       | [2020-06-30 09:41:59.974] [ERROR]  (node:882) UnhandledPromiseRejectionWarning: Error: Error: Illegal group end indicator for Message .transit_realtime.FeedMessage: 7 (not a group)
    0|mm       |     at /home/pi/MagicMirror/modules/MMM-nyc-transit/node_helper.js:106:15
    0|mm       |     at processTicksAndRejections (internal/process/task_queues.js:89:5)
    0|mm       | [2020-06-30 09:41:59.976] [ERROR]  (node:882) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6)
    0|mm       | [2020-06-30 09:41:59.977] [ERROR]  (node:882) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6)
    0|mm       | [2020-06-30 19:35:25.557] [ERROR]  (node:1466) UnhandledPromiseRejectionWarning: Error: Error: Illegal wire type for unknown field 13 in Message .transit_realtime.FeedMessage#decode: 6
    0|mm       |     at /home/pi/MagicMirror/modules/MMM-nyc-transit/node_helper.js:106:15
    0|mm       |     at processTicksAndRejections (internal/process/task_queues.js:89:5)
    0|mm       | [2020-06-30 19:35:25.567] [ERROR]  (node:1466) UnhandledPromiseRejectionWarning: Error: Error: Illegal wire type for unknown field 13 in Message .transit_realtime.FeedMessage#decode: 6
    0|mm       |     at /home/pi/MagicMirror/modules/MMM-nyc-transit/node_helper.js:106:15
    0|mm       |     at processTicksAndRejections (internal/process/task_queues.js:89:5)
    0|mm       | [2020-06-30 19:35:25.573] [ERROR]  (node:1466) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
    0|mm       | [2020-06-30 19:35:25.581] [ERROR]  (node:1466) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
    0|mm       | [2020-06-30 19:35:25.584] [ERROR]  (node:1466) [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       | [2020-06-30 19:35:25.586] [ERROR]  (node:1466) [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.
    
    

    Thank you.

    posted in Troubleshooting
    N
    nipper2000h
    Jul 1, 2020, 10:45 PM
  • RE: Trouble with modules

    @sdetweil Yes, this worked. Thank you so much, it fixed my issue on all the modules I was having problems with. I didn’t realize anything was wrong because weather was working twice. MM was running from pm2 already when I used npm start. Restarts didn’t fix my issue but this worked for me. Thanks again!

    posted in Troubleshooting
    N
    nipper2000h
    Jun 15, 2020, 1:35 AM
  • Trouble with modules

    Hello,

    I am new to programming and having trouble installing new modules. I have only been able to get the doomsday countdown timer to work successfully. I am currently having trouble with NJ Transit Bus module. I have installed the module, changed directory to the module folder and installed the dependencies by following the readme file. The module seems to load into MM but never actually loads any data or seems to connect to any service. This module does not require an API. I have failed to get the MMM-NycTransit module or MMM-Traffic module to work correctly so I figured my problem was API related? I get the same result from both these modules as well, the module seems to work but doesn’t get any information. I figured this module without an API was a good place to start troubleshooting.

    I’ve checked for syntax errors. Here is my NJTransitBus config:

    /* Magic Mirror Config Sample
     *
     * By Michael Teeuw http://michaelteeuw.nl
     * MIT Licensed.
     *
     * For more information on how you can configure 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 or empty, 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"],
    
    	useHttps: false, 		// Support HTTPS or not, default "false" will use HTTP
    	httpsPrivateKey: "", 	// HTTPS private key path, only require when useHttps is true
    	httpsCertificate: "", 	// HTTPS Certificate path, only require when useHttps is true
    
    	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-NJTransit",
    			position: "lower_third",
    			header: "NJ Transit buses",
    			config: {
    				colored: true,
    				stops: [{
    					id: "11500",
    					label: "North st",
    					color: "yellow",
    					routes: ["40"]
    				},
    				{
    					id: "12060",
    					label: "George rd",
    					color: "green"
    				}
    				]
    			}
    		},
    		{
    			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",
    						url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"					}
    				]
    			}
    		},
    		{
    			module: "compliments",
    			position: "lower_third"
    		},
    		{
    			module: "currentweather",
    			position: "top_right",
    			config: {
    				location: "New York",
    				locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    				appid: "myweatherAPI"
    			}
    		},
    		{
    			module: "weatherforecast",
    			position: "top_right",
    			header: "Weather Forecast",
    			config: {
    				location: "New York",
    				locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    				appid: "myweatherAPI"
    			}
    		},
    		{
    			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,
    				broadcastNewsFeeds: true,
    				broadcastNewsUpdates: true
    			}
    		},
    	]
    
    };
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== "undefined") {module.exports = config;}
    
    

    This is a SS of the mirror.

    njtransitbus.PNG

    ====================================================================================================
    Here’s what I get when I start MM:

    pi@raspberrypi:~/MagicMirror $ npm start
    
    > magicmirror@2.11.0 start /home/pi/MagicMirror
    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    
    [2020-06-14 20:31:25.419] [LOG]    Starting MagicMirror: v2.11.0
    [2020-06-14 20:31:25.652] [LOG]    Loading config ...
    [2020-06-14 20:31:25.666] [LOG]    Loading module helpers ...
    [2020-06-14 20:31:27.145] [LOG]    Initializing new module helper ...
    [2020-06-14 20:31:27.148] [LOG]    Module helper loaded: MMM-NJTransit
    [2020-06-14 20:31:27.150] [LOG]    No helper found for module: alert.
    [2020-06-14 20:31:27.265] [LOG]    Initializing new module helper ...
    [2020-06-14 20:31:27.267] [LOG]    Module helper loaded: updatenotification
    [2020-06-14 20:31:27.270] [LOG]    No helper found for module: clock.
    [2020-06-14 20:31:29.311] [LOG]    Initializing new module helper ...
    [2020-06-14 20:31:29.316] [LOG]    Module helper loaded: calendar
    [2020-06-14 20:31:29.320] [LOG]    No helper found for module: compliments.
    [2020-06-14 20:31:29.322] [LOG]    No helper found for module: currentweather.
    [2020-06-14 20:31:29.325] [LOG]    No helper found for module: weatherforecast.
    [2020-06-14 20:31:29.485] [LOG]    Initializing new module helper ...
    [2020-06-14 20:31:29.488] [LOG]    Module helper loaded: newsfeed
    [2020-06-14 20:31:29.490] [LOG]    All module helpers loaded.
    [2020-06-14 20:31:30.145] [LOG]    Starting server on port 8080 ... 
    [2020-06-14 20:31:30.185] [LOG]    Server started ...
    [2020-06-14 20:31:30.187] [LOG]    Connecting socket for: MMM-NJTransit
    [2020-06-14 20:31:30.189] [LOG]    Starting node helper for: MMM-NJTransit
    [2020-06-14 20:31:30.190] [LOG]    Connecting socket for: updatenotification
    [2020-06-14 20:31:30.191] [LOG]    Connecting socket for: calendar
    [2020-06-14 20:31:30.193] [LOG]    Starting node helper for: calendar
    [2020-06-14 20:31:30.195] [LOG]    Connecting socket for: newsfeed
    [2020-06-14 20:31:30.198] [LOG]    Starting module: newsfeed
    [2020-06-14 20:31:30.202] [LOG]    Sockets connected & modules started ...
    [2020-06-14 20:31:30.618] [LOG]    Whoops! There was an uncaught exception...
    [2020-06-14 20:31:30.619] [ERROR]  Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
        at Server.setupListenHandle [as _listen2] (net.js:1226:14)
        at listenInCluster (net.js:1274:12)
        at GetAddrInfoReqWrap.doListen [as callback] (net.js:1413:7)
        at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:65:10) {
      code: 'EADDRINUSE',
      errno: 'EADDRINUSE',
      syscall: 'listen',
      address: '127.0.0.1',
      port: 8080
    }
    [2020-06-14 20:31:30.648] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    [2020-06-14 20:31:30.649] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    [2020-06-14 20:31:30.656] [LOG]    Launching application.
    
    

    Any help would be greatly appreciated! Thank you.

    posted in Troubleshooting
    N
    nipper2000h
    Jun 15, 2020, 12:44 AM
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