EXT-Detector not working
-
yes… nothing is initialized, humm and js console ? (npm start dev)
-
npm start dev
magicmirror@2.18.0 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js “dev”[23.03.2022 17:47.17.245] [LOG] Starting MagicMirror: v2.18.0
[23.03.2022 17:47.17.258] [LOG] Loading config …
[23.03.2022 17:47.17.270] [LOG] Loading module helpers …
[23.03.2022 17:47.17.281] [LOG] Initializing new module helper …
[23.03.2022 17:47.17.285] [LOG] Module helper loaded: Gateway
[23.03.2022 17:47.17.289] [LOG] No helper found for module: clock.
[23.03.2022 17:47.17.292] [LOG] No helper found for module: weather.
[23.03.2022 17:47.17.301] [LOG] Initializing new module helper …
[23.03.2022 17:47.17.303] [LOG] Module helper loaded: EXT-Detector
[23.03.2022 17:47.17.309] [LOG] Initializing new module helper …
[23.03.2022 17:47.17.311] [LOG] Module helper loaded: EXT-Browser
[23.03.2022 17:47.17.315] [LOG] Initializing new module helper …
[23.03.2022 17:47.17.317] [LOG] Module helper loaded: EXT-Alert
[23.03.2022 17:47.18.281] [LOG] Initializing new module helper …
[23.03.2022 17:47.18.283] [LOG] Module helper loaded: EXT-Spotify
[23.03.2022 17:47.18.724] [LOG] Initializing new module helper …
[23.03.2022 17:47.18.726] [LOG] Module helper loaded: EXT-Librespot
[23.03.2022 17:47.19.507] [LOG] Initializing new module helper …
[23.03.2022 17:47.19.508] [LOG] Module helper loaded: MMM-GoogleAssistant
[23.03.2022 17:47.19.510] [LOG] All module helpers loaded.
[23.03.2022 17:47.19.690] [LOG] Starting server on port 8080 …
[23.03.2022 17:47.19.711] [LOG] Server started …
[23.03.2022 17:47.19.713] [LOG] Connecting socket for: Gateway
[23.03.2022 17:47.19.716] [LOG] Connecting socket for: EXT-Detector
[23.03.2022 17:47.19.719] [LOG] [DETECTOR] EXT-Detector Version: 1.0.1 rev: 220315
[23.03.2022 17:47.19.720] [LOG] Connecting socket for: EXT-Browser
[23.03.2022 17:47.19.722] [LOG] Starting module helper: EXT-Browser
[23.03.2022 17:47.19.723] [LOG] Connecting socket for: EXT-Alert
[23.03.2022 17:47.19.725] [LOG] Starting module helper: EXT-Alert
[23.03.2022 17:47.19.726] [LOG] Connecting socket for: EXT-Spotify
[23.03.2022 17:47.19.728] [LOG] Connecting socket for: EXT-Librespot
[23.03.2022 17:47.19.730] [LOG] Connecting socket for: MMM-GoogleAssistant
[23.03.2022 17:47.19.732] [LOG] [GA] Read config.js and check ConfigDeepMerge…
[23.03.2022 17:47.19.734] [LOG] [GA] Perfect ConfigDeepMerge activated!
[23.03.2022 17:47.19.735] [LOG] Sockets connected & modules started …
[23.03.2022 17:47.20.208] [LOG] Launching application.
[1893:0323/174721.572220:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
[1948:0323/174721.859647:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
[1859:0323/174722.039319:ERROR:CONSOLE(160)] “Electron sandbox_bundle.js script failed to run”, source: node:electron/js2c/sandbox_bundle (160)
[1859:0323/174722.040613:ERROR:CONSOLE(160)] “TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))”, source: node:electron/js2c/sandbox_bundle (160)
[23.03.2022 17:47.27.219] [LOG] [DETECTOR] All needed @bugsounet library loaded !
[23.03.2022 17:47.27.225] [LOG] [DETECTOR] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
[23.03.2022 17:47.27.234] [LOG] [DETECTOR] Snowboy is initialized with 1 Models: jarvis
^C/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT -
not this … on new windows open past the “console tab”
-
idont know what you mean you can translate to french if you prefer!
-
this:
-
cant send it over its too large
-
there is some red lines ?
-
yellow: electron security warning (Insecure content security policy)…
red: refused to apply style from http://localhost:8080/css/custom.c_localhost/:lss because its MIME type is not supported stylesheet MIME type…
red: error on loading stylesheet: css/custom.css
red: uncaught error cannot read properties of undefined main.js:36 appendChild…
red: refused to apply style from http://localhost:8080/css/custom.c_localhost/:lss because its MIME type is not supported stylesheet MIME type…
in a nutshell -
red: uncaught error cannot read properties of undefined main.js:36 appendChild… <-- crash with this
can you try
npm run update
on each EXT plugins, Gateway, MMM-GoogleAssistant ?
naturally on needed directory of EXT/module -
if after retry … the result is the same, give me your config
(don’t forget to delete your real credentials) -
@bugsounet BTW positions other that “top” do not work…
/* Magic Mirror 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/getting-started/configuration.html#general
-
and https://docs.magicmirror.builders/modules/configuration.html
*/
var config = {
address: “localhost”,
electronOptions: {
webPreferences: {
webviewTag: true
}
},
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: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addressesuseHttps: 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: 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: "Gateway" }, { module: "clock", position: "top_left" }, { 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: "EXT-Detector", position: "top_left", configDeepMerge: true, config: { debug: false, touchOnly: false, detectors: [ { detector: "Snowboy", Model: "jarvis", Sensitivity: 0.7 } ] } }, { module: "EXT-Browser", config: { debug: false, displayDelay: 60 * 1000, scrollActivate: false, scrollStep: 25, scrollInterval: 1000, scrollStart: 5000 } }, { module: "EXT-Alert", config: { debug: false, ignore: [] } }, { module: "EXT-Spotify", position: "lower_left", config: { updateInterval: 1000, idleInterval: 10000, useBottomBar: false, CLIENT_ID: "", CLIENT_SECRET: "" } }, { module: "EXT-Librespot", config: { debug: "false", email: "", password: "", deviceName: "MagicMirror", minVolume: 30, maxVolume: 100 } }, { module: "MMM-GoogleAssistant", position: "top_left", configDeepMerge: true, config: { debug: false, assistantConfig: { lang: "en-US", latitude: , //add your location coordinates longitude: }, responseConfig: { useFullscreen: true, useResponseOutput: true, responseOutputCSS: "response_output.css", screenOutputTimer: 5000, activateDelay: 250, useAudioOutput: true, useChime: true, confirmationChime: true, useInformations: true }, micConfig: {}, Extented: { useEXT: true, stopCommand: "stop", youtube: { useYoutube: true, youtubeCommand: "youtube", displayResponse: true, useVLC: true, minVolume: 30, maxVolume: 100 }, }, }, recipes: [ "../../EXT-Spotify/recipe/EXT-Spotify.js" ], NPMCheck: {} }, ]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== “undefined”) {module.exports = config;} -
-
position: “lower_left”??
I think, this position don’t exist.
That why MagicMirror crash -
i tried many “lower” “bottom” lower_third" nothing works…only the top positions…i did rotate my screen 90deg so its vertical (portrait view)
-
Possible values are top_bar, top_left, top_center, top_right, upper_third, middle_center, lower_third, bottom_left, bottom_center, bottom_right, bottom_bar, fullscreen_above, and fullscreen_below
It’s on the manual of MM. If you have a mismake value… You crash MM.
-
And your Google Assistant config is really bad… It’s GA v3 config… That’s to correct it in accord with v4 config
-
in regards to positions like i said ive tried many and it always stays at “top” value…if i try “bottom_left” or “middle_center” it displays on the MM center “undifined” and thats it…
-
are you saying this is not needed anymore ?
micConfig: {},
Extented: {
useEXT: true,
stopCommand: “stop”,
youtube: {
useYoutube: true,
youtubeCommand: “youtube”,
displayResponse: true,
useVLC: true,
minVolume: 30,
maxVolume: 100
}, -
See wiki, and position is not needed
-
towards this “See wiki, and position is not needed” do you mean position for GGAss? cause my mention was for spotify as an example…
-
your main problem is: you try to set an mismake value in position for spotify
AND you try to do an V3 configuration of GoogleAssistant for a V4 module