Read the statement by Michael Teeuw here.
MMM-Screencast don`t work
-
@sdetweil you beat me to it… :-)
-
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", } } ] };
-
I quickly tried that module and it does work, what if you specify different port than 8080 in screencast config.
If that makes no difference, what happens if you change ip address on which Magicmirror listens on at top of your config.address: “0.0.0.0”, //Address to listen on - Change this to ip of your MagicMirror.
-
Not work change Port,
but diferent pm2 log after changeaddress: “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)
-
@Stevent i notice in your config for pages you have screencast twice , one in second page and one in fixed
-
@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
-
@stevent Im sure its your Alexa module, cut it off your config save the config file, try it after. If it works I have this same problem Alexa module conflicts with cast but its not the port i tried custom port on cast module.
-
@stevent said in MMM-Screencast don`t work:
{ 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, castName: 'SpiegelRasp', }},
Pleas tray this to copy past in your config file
i’ts working one mine