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

Stevent

@Stevent

0
Reputation
9
Profile views
5
Posts
0
Followers
0
Following
Joined May 14, 2020, 2:55 AM
Last Online Apr 4, 2021, 12:55 PM

Stevent Unfollow Follow

Latest posts made by Stevent

  • RE: MMM-Screencast don`t work

    @JohnBachini said in MMM-Screencast don`t work:

    i notice in your config for pages you have screencast twice , one in second page and one in fixed

    I change it but no change in the log

    posted in Troubleshooting
    S
    Stevent
    Jun 15, 2020, 11:29 PM
  • RE: MMM-Screencast don`t work

    Not work change Port,
    but diferent pm2 log after change

    address: “0.0.0.0”,
    to
    address:“IPfromRASP”,

    0|MagicMir | [2020-06-15 20:28:02.945] [ERROR]  Error [ERR_SERVER_ALREADY_LISTEN]: Listen method has been called more than once without closing.
    0|MagicMir |     at Server.listen (net.js:1312:11)
    0|MagicMir |     at DialServer.start (/home/pi/MagicMirror/modules/MMM-Screencast/DialServer.js:122:17)
    0|MagicMir |     at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Screencast/node_helper.js:13:21)
    0|MagicMir |     at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:113:11)
    0|MagicMir |     at Socket.emit (events.js:200:13)
    0|MagicMir |     at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
    0|MagicMir |     at processTicksAndRejections (internal/process/task_queues.js:82:9)
    
    posted in Troubleshooting
    S
    Stevent
    Jun 15, 2020, 6:29 PM
  • RE: MMM-Screencast don`t work

    Sorry, here is the config, no custom Port in Screencast configurated.

    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 lefthttp://bulk.openweathermap.org/sample/city.list.json.gz out or empty, is "localhost"
    	port: 8080,
    	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"],
    
    	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: "de",
    	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-Remote-Control',  // uncomment the following line to show the URL of the remote control on the mirror
                position: 'bottom_left',  // you can hide this module afterwards from the remote control itself
                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
                    pages: 2,
            },
            {
    			module: "MMM-Remote-Control-Repository",
    		},
            {
                module: 'MMM-AlexaControl',
                position: 'middle_center',
                config: {
                image: false,
                pm2ProcessName: "mm",
                monitorToggle: true,
                vcgencmd: "vcgencmd",
                deviceName: "Spiegel",
    	        pages: 2
                }
            }, 
    	{
            module: 'MMM-pages',
            config: {
                    modules:
                        [[ "MMM-OpenmapWeather","weatherforecast","newsfeed","calendar", "compliments"],
                         [ "MMM-OpenmapWeather","MMM-Screencast"]],
                    fixed: ["clock", "currentweather", "MMM-AlexaControl", "MMM-page-indicator","MMM-Screencast"],
                    }
            },
            {
            module: 'MMM-page-indicator',
            position: 'bottom_bar',
            config: {
                pages: 2
                    }
            },
                 {
    		module: 'MMM-Screencast',
    		position: 'bottom_right', // This position is for a hidden <div /> and not the screencast window
    		config: {
    			position: 'center',
    			// position: "center",
    			height: 300,
    			width: 500,
    			castName: "SpiegelRasp",
    		}
            }
    	
    	]
    
    };
    
    posted in Troubleshooting
    S
    Stevent
    May 26, 2020, 9:57 PM
  • MMM-Screencast don`t work

    Hello,
    sorry for my bad englisch, here is the config, what do I wrong that the Screencast dont work? I work the last two days on this problem, search the hole Internet and the board

    > > magicmirror@2.11.0 start /home/pi/MagicMirror
    > > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    > 
    > [2020-05-26 13:15:58.517] [LOG]    Starting MagicMirror: v2.11.0
    > [2020-05-26 13:15:58.524] [LOG]    Loading config ...
    > [2020-05-26 13:15:58.528] [LOG]    Loading module helpers ...
    > [2020-05-26 13:15:58.566] [LOG]    Initializing new module helper ...
    > [2020-05-26 13:15:58.567] [LOG]    Module helper loaded: updatenotification
    > [2020-05-26 13:15:58.568] [LOG]    No helper found for module: clock.
    > [2020-05-26 13:15:58.913] [LOG]    Initializing new module helper ...
    > [2020-05-26 13:15:58.914] [LOG]    Module helper loaded: calendar
    > [2020-05-26 13:15:58.915] [LOG]    No helper found for module: compliments.
    > [2020-05-26 13:15:58.979] [LOG]    Initializing new module helper ...
    > [2020-05-26 13:15:58.980] [LOG]    Module helper loaded: MMM-Remote-Control
    > [2020-05-26 13:15:58.981] [LOG]    Initializing new module helper ...
    > [2020-05-26 13:15:58.982] [LOG]    Module helper loaded: MMM-Remote-Control-Repository
    > [2020-05-26 13:15:58.982] [LOG]    No helper found for module: MMM-OpenmapWeather.
    > [2020-05-26 13:15:58.983] [LOG]    No helper found for module: weatherforecast.
    > [2020-05-26 13:15:59.297] [LOG]    Initializing new module helper ...
    > [2020-05-26 13:15:59.297] [LOG]    Module helper loaded: MMM-AlexaControl
    > [2020-05-26 13:15:59.319] [LOG]    Initializing new module helper ...
    > [2020-05-26 13:15:59.319] [LOG]    Module helper loaded: newsfeed
    > [2020-05-26 13:15:59.320] [LOG]    No helper found for module: MMM-pages.
    > [2020-05-26 13:15:59.320] [LOG]    No helper found for module: MMM-page-indicator.
    > [2020-05-26 13:15:59.586] [LOG]    Initializing new module helper ...
    > [2020-05-26 13:15:59.587] [LOG]    Module helper loaded: MMM-Screencast
    > [2020-05-26 13:15:59.587] [LOG]    All module helpers loaded.
    > [2020-05-26 13:15:59.710] [LOG]    Starting server on port 8080 ... 
    > [2020-05-26 13:15:59.715] [INFO]   You're using a full whitelist configuration to allow for all IPs
    > [2020-05-26 13:15:59.732] [LOG]    Server started ...
    > [2020-05-26 13:15:59.733] [LOG]    Connecting socket for: updatenotification
    > [2020-05-26 13:15:59.734] [LOG]    Connecting socket for: calendar
    > [2020-05-26 13:15:59.734] [LOG]    Starting node helper for: calendar
    > [2020-05-26 13:15:59.735] [LOG]    Connecting socket for: MMM-Remote-Control
    > [2020-05-26 13:15:59.735] [LOG]    Starting node helper for: MMM-Remote-Control
    > [2020-05-26 13:15:59.741] [LOG]    Connecting socket for: MMM-Remote-Control-Repository
    > [2020-05-26 13:15:59.742] [LOG]    Connecting socket for: MMM-AlexaControl
    > [2020-05-26 13:15:59.742] [LOG]    MMM-AlexaControl helper, started...
    > [2020-05-26 13:15:59.743] [LOG]    Connecting socket for: newsfeed
    > [2020-05-26 13:15:59.743] [LOG]    Starting module: newsfeed
    > [2020-05-26 13:15:59.743] [LOG]    Connecting socket for: MMM-Screencast
    > [2020-05-26 13:15:59.744] [LOG]    Sockets connected & modules started ...
    > [2020-05-26 13:15:59.750] [LOG]    Whoops! There was an uncaught exception...
    > [2020-05-26 13:15:59.758] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    > [2020-05-26 13:15:59.758] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    > [2020-05-26 13:15:59.915] [LOG]    Launching application.
    
    pi@raspberrypi:~ $ cd MagicMirror/config
    pi@raspberrypi:~/MagicMirror/config $ display=:0 npm start >> log.log
    [2020-05-26 13:15:59.751] [ERROR]  Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
        at Server.setupListenHandle [as _listen2] (net.js:1226:14)
        at listenInCluster (net.js:1274:12)
        at doListen (net.js:1413:7)
        at processTicksAndRejections (internal/process/task_queues.js:84:9) {
      code: 'EADDRINUSE',
      errno: 'EADDRINUSE',
      syscall: 'listen',
      address: '0.0.0.0',
      port: 8080
    }
    [2020-05-26 13:16:00.304] [ERROR]  ERROR! Could not find main module js file for MMM-API
    

    Thank you very much

    posted in Troubleshooting
    S
    Stevent
    May 26, 2020, 11:26 AM
  • RE: Hi, there is a new Alexa Module

    Hello, sorry for my bad english, all work perfectly, but i can not change the pages with alexa, the app only find: -restart -refresh -stop -display off
    that work fine, but i can not find page change, please help me, here is my configuration:

                module: 'MMM-AlexaControl',
                position: 'middle_center',
                config: {
                image: false,
                pm2ProcessName: "mm",
                monitorToggle: true,
                vcgencmd: "vcgencmd",
                deviceName: "Spiegel",
    	    pages: '2'
                }
            }, 
    	{
            module: 'MMM-pages',
            config: {
                    modules:
                        [[ "MMM-OpenmapWeather","weatherforecast","newsfeed","calendar", "compliments"],
                         [ "MMM-OpenmapWeather","calendar", "compliments" ]],
                    fixed: ["clock", "currentweather", "MMM-AlexaControl", "MMM-page-indicator"],
                    }
            },
            {
            module: 'MMM-page-indicator',
            position: 'bottom_bar',
            config: {
                pages: 2,
                    }
            },
    
    posted in General Discussion
    S
    Stevent
    May 20, 2020, 3:32 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