EXT-Detector not working
-
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 -
this config works:
modules: [ { module: "Gateway" }, { module: "clock", position: "top_left" }, { module: "weather", position: "top_right", disabled: true, 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", disabled: true, 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", }, { module: "EXT-Alert" }, { module: "EXT-Spotify", position: "top_left", config: { updateInterval: 1000, idleInterval: 10000, useBottomBar: false, CLIENT_ID : "id", CLIENT_SECRET : "secret" } }, { module: "EXT-Librespot", config: { debug: "false", email: "", password: "", deviceName: "MagicMirror", minVolume: 30, maxVolume: 100 } }, { module: "MMM-GoogleAssistant", configDeepMerge: true, config: { assistantConfig: { lang: "en-US", //latitude: , //add your location coordinates //longitude: }, responseConfig: { useFullscreen: true, }, recipes: [ "../../EXT-Spotify/recipe/EXT-Spotify.js" ], }, }, ]
[24.03.2022 02:11.05.438] [LOG] Loading config ... [24.03.2022 02:11.05.440] [LOG] Loading module helpers ... [24.03.2022 02:11.05.442] [LOG] Initializing new module helper ... [24.03.2022 02:11.05.442] [LOG] Module helper loaded: Gateway [24.03.2022 02:11.05.443] [LOG] No helper found for module: clock. [24.03.2022 02:11.05.444] [LOG] Initializing new module helper ... [24.03.2022 02:11.05.444] [LOG] Module helper loaded: EXT-Detector [24.03.2022 02:11.05.445] [LOG] Initializing new module helper ... [24.03.2022 02:11.05.445] [LOG] Module helper loaded: EXT-Browser [24.03.2022 02:11.05.446] [LOG] Initializing new module helper ... [24.03.2022 02:11.05.446] [LOG] Module helper loaded: EXT-Alert [24.03.2022 02:11.05.590] [LOG] Initializing new module helper ... [24.03.2022 02:11.05.590] [LOG] Module helper loaded: EXT-Spotify [24.03.2022 02:11.05.659] [LOG] Initializing new module helper ... [24.03.2022 02:11.05.659] [LOG] Module helper loaded: EXT-Librespot [24.03.2022 02:11.05.782] [LOG] Initializing new module helper ... [24.03.2022 02:11.05.783] [LOG] Module helper loaded: MMM-GoogleAssistant [24.03.2022 02:11.05.783] [LOG] All module helpers loaded. [24.03.2022 02:11.05.809] [LOG] Starting server on port 8080 ... [24.03.2022 02:11.05.813] [LOG] Server started ... [24.03.2022 02:11.05.813] [LOG] Connecting socket for: Gateway [24.03.2022 02:11.05.814] [LOG] Connecting socket for: EXT-Detector [24.03.2022 02:11.05.814] [LOG] [DETECTOR] EXT-Detector Version: 1.0.1 rev: 220315 [24.03.2022 02:11.05.814] [LOG] Connecting socket for: EXT-Browser [24.03.2022 02:11.05.815] [LOG] Starting module helper: EXT-Browser [24.03.2022 02:11.05.815] [LOG] Connecting socket for: EXT-Alert [24.03.2022 02:11.05.815] [LOG] Starting module helper: EXT-Alert [24.03.2022 02:11.05.815] [LOG] Connecting socket for: EXT-Spotify [24.03.2022 02:11.05.815] [LOG] Connecting socket for: EXT-Librespot [24.03.2022 02:11.05.815] [LOG] Connecting socket for: MMM-GoogleAssistant [24.03.2022 02:11.05.816] [LOG] [GA] Read config.js and check ConfigDeepMerge... [24.03.2022 02:11.05.816] [LOG] [GA] Perfect ConfigDeepMerge activated! [24.03.2022 02:11.05.816] [LOG] Sockets connected & modules started ... [24.03.2022 02:11.06.324] [LOG] Launching application. [24.03.2022 02:11.07.338] [LOG] [DETECTOR] All needed @bugsounet library loaded ! [24.03.2022 02:11.07.338] [LOG] [DETECTOR] Platform: 'linux'; attempting to use 'arecord' to access microphone ... [24.03.2022 02:11.07.339] [LOG] [DETECTOR] Snowboy is initialized with 1 Models: jarvis [24.03.2022 02:11.07.347] [LOG] [GATEWAY] Gateway Version: 1.0.2 rev: 220323 [24.03.2022 02:11.07.348] [LOG] [LINKS] EXT-Browser Version: 1.0.0 rev: 220228 [24.03.2022 02:11.07.348] [LOG] [ALERT] EXT-Alert Version: 1.0.0 rev: 220301 [24.03.2022 02:11.07.348] [LOG] [SPOTIFY] EXT-Spotify Version: 1.0.0 rev: 220312 [24.03.2022 02:11.07.352] [LOG] [LIBRESPOT] EXT-Librespot Version: 1.0.0 rev: 220311 [24.03.2022 02:11.07.353] [LOG] [LIBRESPOT] Launch Librespot... [24.03.2022 02:11.07.353] [LOG] [GA] MMM-GoogleAssistant Version: 4.0.2 rev: 220322 [24.03.2022 02:11.07.354] [LOG] [GA] Platform: 'linux'; attempting to use 'arecord' to access microphone ... [24.03.2022 02:11.07.355] [LOG] [GA] RECIPE_LOADED: ../../EXT-Spotify/recipe/EXT-Spotify.js [24.03.2022 02:11.07.356] [LOG] [GA] Google Assistant is initialized. [24.03.2022 02:11.07.393] [LOG] [LIBRESPOT] Connected! [24.03.2022 02:11.07.402] [LOG] [LIBRESPOT] Librespot already launched [24.03.2022 02:11.07.785] [LOG] [DETECTOR] Starts listening. 1 Models
-
ok everything is working now tnx
-
Perfect so
-