MMM-Screencast
MMM-Screencast copied to clipboard
devices shows up on casting options but won't play
my phone tries to connect to the mirror but does not actually load anything
Have you resolved this? I am having the same issue.
Unfortunately not,and no one seems to know what is wrong
can also confirm its happening to me as well
I have run across a number of forums mentioning a similar fix for other platforms using electron. Ex https://github.com/UnchartedBull/OctoDash/issues/2467 I am not familiar enough to try to test this for our situation though. --disable-seccomp-filter-sandbox I can cough up full logs and configs if needed and I'm more than willing to help test.
My error being
[03.04.2022 11:47.37.304] [LOG] screencast stderr: ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0403
[03.04.2022 11:47.40.186] [LOG] screencast stderr: [15437:0403/114740.185139:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
[03.04.2022 11:47.42.390] [LOG] screencast stderr: /home/pi/MagicMirror/modules/MMM-Screencast/node_modules/electron/dist/electron exited with signal SIGTRAP
my phone tries to connect to the mirror but does not actually load anything
Having Same Issue
And Here is my config file
/* MagicMirror² Config Sample *
-
By Michael Teeuw https://michaelteeuw.nl
-
MIT Licensed.
-
For more information on how you can configure this file
-
see https://docs.magicmirror.builders/configuration/introduction.html
-
and https://docs.magicmirror.builders/modules/configuration.html */ let 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 or empty, is "localhost" port: 8080, basePath: "/", // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy // you must set the sub path here. basePath must end with a / 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: "en", locale: "en-US", logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging timeFormat: 12, 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-pages', config: { modules: [["calendar","clock","weather","currentweather","weatherforecast","MMM-Screencast" ], [ "MMM-NowPlayingOnSpotify","MMM-Jast"]], fixed: [ "clock", "weather", "MMM-page-indicator" ], } }, { module: 'MMM-page-indicator', position: 'bottom_bar', config: { pages: 2, } }, { module: 'MMM-Screencast', position: 'bottom_right', // This position is for a hidden
and not the screencast window config: { position: 'bottom_right', height: 300, width: 500, castName: 'Magic Mirror' }},
{ module: "MMM-NowPlayingOnSpotify", position: "bottom_left",
config: { clientID: "9e7f6a29f91047409a3c7305cfff2d82", clientSecret: "a07e3196d01a4207918275def92a0898", accessToken: "BQDMozbYoE_9eLAz2nhdSs9sksgR7YPN7UOnBMMGOe-R0nOHOO1K381JYRm8i9_bvkufBg43ykfeqyHlGoRcq9X6xNx7_x0BM5HnG_qpCJOHnDZvjb0b3SCi_FON7Drzy1PRESXxk_rpAfrHrcyfshXS3rp6JVDSo1QBEi2Gt51SWg", refreshToken: "AQAd1sutePX8ZjxdBScJyYYHh1OMvN1-nU3L9s99Wvk9srCKonS7vZJBbpRcN2m8MN7HU3iuTEN3ZAOPG5UdHnjUVMAUefrn-2YqpqmJpPSQWUJXlq4CF60dPteozP_84wQ" } }, { 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: { apiKey: '' } }, { module: "MMM-kalliope", position: "upper_third", config: { max: "5", title: "Mycroft", keep_seconds: "0" } }, { module: "MMM-EyeCandy", position: "top_center", config: { maxWidth: "90%", // Sizes the images. Retains aspect ratio. style: '36', // Style number or use ownImagePath to override style ownImagePath: '', // ex: 'modules/MMM-EyeCandy/pix/YOUR_PICTURE_NAME.jpg', or internet url to image } }, { module: 'voicecontrol', position: 'bottom_left', config: { models: [ { keyword: "playMusic", // keyword description: "Say 'Play Music' to start playing", file: "playMusic.pmdl", // trained model file name message: "PLAY_MUSIC" // notification message that's broadcast in the MagicMirror app }, { keyword: "stopMusic", description: "Say 'Stop Music' to stop playing", file: "stopMusic.pmdl", message: "STOP_MUSIC" }, ] } }, { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "https://www.officeholidays.com/ics-clean/india" } ] } }, { module: "compliments", position: "lower_third" }, { module: "weather", position: "top_right", config: { weatherProvider: "openweathermap", type: "current", location: "", locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "" } }, { module: "weather", position: "top_right", header: "Weather Forecast", config: { weatherProvider: "openweathermap", type: "forecast", location: "", locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "" } }, { module: "MMM-Jast", position: "bottom_right", config: { maxWidth: "100%", updateIntervalInSeconds: 300, fadeSpeedInSeconds: 3.5, scroll: "vertical", // One of ["none", "vertical", "horizontal"] useGrouping: false, currencyStyle: "code", // One of ["code", "symbol", "name"] lastUpdateFormat: "HH:mm", showColors: true, showCurrency: true, showChangePercent: true, showChangeValue: false, showChangeValueCurrency: false, showLastUpdate: false, showPortfolioValue: false, showPortfolioGrowthPercent: false, showPortfolioGrowth: false, numberDecimalsValues: 2, numberDecimalsPercentages: 1, virtualHorizontalMultiplier: 2, stocks: [ { name: "NIFTY 50", symbol: "^NSEI",}, { name: "BANKNIFTY", symbol: "^NSEBANK" }, { name: "RELIANCE IND", symbol: "RELIANCE.NS" }, { name: "TCS", symbol: "TCS.NS"}
]
}
}, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "https://rss.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;}