• 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.

MMM-Chromecast

Scheduled Pinned Locked Moved Troubleshooting
1 Posts 1 Posters 402 Views 2 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.
  • G Offline
    gkchimz
    last edited by Jan 31, 2021, 12:30 PM

    Hi My Chromecast module is no longer working. It used to.

    Now i can not see the mirror as an option, please advise

    config file

    /*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/
    
    var config = {
      address: "localhost",
      electronOptions: {
        webPreferences: {
          webviewTag: true
        }
      },
      port: 8080,
    
          modules: [
        
    	{ disabled: false,
      module: 'MMM-NewPIR',
      position: 'bottom_right',
      configDeepMerge: true,
      config: {
          	screen: {
            delay: 5 * 60 * 1000,
    	displayLastPresence: false,
    	ecoMode: false,
    	displayStyle: "Bar"      
    	},
          pir: {
            gpio: 4
          },
      }
    },
    
    
    {
            module: 'MMM-pages',
            config: {
                    rotationTime: 30 *1000,
    		modules:["MMM-Globe",["compliments"],
    			["MMM-Globe","MMM-DailyPower",],
    			["MMM-Globe","MMM-quote-of-the-day"],
    			["MMM-Globe","calendar",'currentweather'],
    			["MMM-Globe","calendar",'weatherforecast'],
    			["MMM-Globe","MMM-UKNationalRail","MMM-MyCommute",],
    			["MMM-Globe",'MMM-Recipe'],
    			["MMM-Globe","MMM-weatherforecast"]
    		],
                    fixed: ["MMM-GoogleAssistant","MMM-Assistant2Display","MMM-ModuleScheduler","clock", "alerts","MMM-NewPIR","MMM-Screencast"],
                    hiddenPages: {
                        "screenSaver": [ "clock", "MMM-SomeBackgroundImageModule" ],
                        "admin": [ "MMM-Tools"],
                    },
            }
        },
        {
        module: 'MMM-quote-of-the-day',
        position: 'bottom_bar',
        config: {
                 language: "en",
    		updateInterval: "1d"   // See below for configurable options
                }
      },
    {
    		module: "MMM-Screencast",
    		position: 'bottom_right', // This position is for a hidden <div /> and not the screencast window
    		config: {
    			position: 'center',
    			height: 300,
    			width: 500,
    		}
            },
    
          ],
      useHttps: false,
      httpsPrivateKey: '',
      httpsCertificate: '',
      logLevel: [
        'INFO',
        'LOG',
        'WARN',
        'ERROR'
      ]
    }
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== 'undefined') {module.exports = config;}
    

    console log

    
    loader.js:176 Load script: modules/MMM-Screencast//MMM-Screencast.js
    module.js:509 Check MagicMirror version for module 'MMM-Screencast' - Minimum version:  2.1.0 - Current version: 2.14.0
    module.js:517 Module registered: MMM-Screencast
    loader.js:148 Bootstrapping module: MMM-Screencast
    loader.js:153 Scripts loaded for: MMM-Screencast
    loader.js:155 Styles loaded for: MMM-Screencast
    loader.js:157 Translations loaded for: MMM-Screencast
    MMM-Screencast.js:15 Starting module: MMM-Screencast
    MMM-quote-of-the-day.js:135 [MMM-quote-of-the-day] received a module notification: MMM-Screencast:START-DIAL from sender: MMM-Screencast
    module.js:206 MMM-Screencast is resumed.
    module.js:199 MMM-Screencast is suspended.
    4
    module.js:206 MMM-Screencast is resumed.
    

    PM2 Logs

    [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
    /home/pi/.pm2/pm2.log last 15 lines:
    PM2        | 2021-01-31T11:41:49: PM2 log: App [mm:0] online
    PM2        | 2021-01-31T12:05:17: PM2 log: Stopping app:mm id:0
    PM2        | 2021-01-31T12:05:17: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
    PM2        | 2021-01-31T12:05:17: PM2 log: pid=16926 msg=process killed
    PM2        | 2021-01-31T12:05:17: PM2 log: App [mm:0] starting in -fork mode-
    PM2        | 2021-01-31T12:05:17: PM2 log: App [mm:0] online
    PM2        | 2021-01-31T12:05:34: PM2 log: Stopping app:mm id:0
    PM2        | 2021-01-31T12:05:35: PM2 log: pid=25612 msg=failed to kill - retrying in 100ms
    PM2        | 2021-01-31T12:05:35: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
    PM2        | 2021-01-31T12:05:35: PM2 log: pid=25612 msg=process killed
    PM2        | 2021-01-31T12:05:35: PM2 log: App [mm:0] starting in -fork mode-
    PM2        | 2021-01-31T12:05:35: PM2 log: App [mm:0] online
    PM2        | 2021-01-31T12:17:27: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
    PM2        | 2021-01-31T12:17:27: PM2 log: App [mm:0] starting in -fork mode-
    PM2        | 2021-01-31T12:17:27: PM2 log: App [mm:0] online
    
    /home/pi/.pm2/logs/mm-error.log last 15 lines:
    0|mm       |     at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:112:11)
    0|mm       |     at Socket.emit (events.js:210:5)
    0|mm       |     at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:253:20)
    0|mm       |     at Socket.socket.onevent (/home/pi/MagicMirror/js/node_helper.js:105:13)
    0|mm       |     at Socket._onpacket (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:216:22)
    0|mm       |     at /home/pi/MagicMirror/node_modules/socket.io/dist/client.js:205:28
    0|mm       |     at processTicksAndRejections (internal/process/task_queues.js:75:11) {
    0|mm       |   code: 'EADDRINUSE',
    0|mm       |   errno: 'EADDRINUSE',
    0|mm       |   syscall: 'listen',
    0|mm       |   address: '::',
    0|mm       |   port: 8569
    0|mm       | }
    0|mm       | [31.01.2021 12:17.41.300] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    0|mm       | [31.01.2021 12:17.41.301] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    
    /home/pi/.pm2/logs/mm-out.log last 15 lines:
    0|mm       |       upgradeOrConnect: false,
    0|mm       |       parser: null,
    0|mm       |       maxHeadersCount: null,
    0|mm       |       _redirectable: [Circular],
    0|mm       |       [Symbol(kNeedDrain)]: false,
    0|mm       |       [Symbol(isCorked)]: false,
    0|mm       |       [Symbol(kOutHeaders)]: [Object: null prototype]
    0|mm       |     },
    0|mm       |     _currentUrl: 'https://www.poemist.com/api/v1/randompoems'
    0|mm       |   },
    0|mm       |   response: undefined,
    0|mm       |   isAxiosError: true,
    0|mm       |   toJSON: [Function: toJSON]
    0|mm       | }
    0|mm       | [31.01.2021 12:23.45.920] [LOG]   there was most likely an error fetching poems from https://www.poemist.com/api/v1/randompoems, waiting 5 mins before trying again
    
    
    
    
    1 Reply Last reply Reply Quote 1
    • 1 / 1
    1 / 1
    • First post
      1/1
      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