sorry to barge in but you mentioned your MIC is functional did you try this to see if you have sound output https://developers.google.com/assistant/sdk/guides/service/python/embed/audio ?.. just throwing this out there…as well not sure if this could be an issue but /home/pi/.asoundrc is deleted when loading to PIdesktop…do you have your MIC info in there? again disregard if done already…good day
Posts made by M1st3r-E
-
RE: issue with npm
-
RE: EXT-Detector not working
towards this “See wiki, and position is not needed” do you mean position for GGAss? cause my mention was for spotify as an example…
-
RE: EXT-Detector not working
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
}, -
RE: EXT-Detector not working
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…
-
RE: EXT-Detector not working
i tried many “lower” “bottom” lower_third" nothing works…only the top positions…i did rotate my screen 90deg so its vertical (portrait view)
-
RE: EXT-Detector not working
@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;} -
-
RE: EXT-Detector not working
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 -
RE: EXT-Detector not working
idont know what you mean you can translate to french if you prefer!
-
RE: EXT-Detector not working
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 -
RE: EXT-Detector not working
magicmirror@2.18.0 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[23.03.2022 17:38.06.176] [LOG] Starting MagicMirror: v2.18.0
[23.03.2022 17:38.06.188] [LOG] Loading config …
[23.03.2022 17:38.06.200] [LOG] Loading module helpers …
[23.03.2022 17:38.06.213] [LOG] Initializing new module helper …
[23.03.2022 17:38.06.217] [LOG] Module helper loaded: Gateway
[23.03.2022 17:38.06.223] [LOG] No helper found for module: clock.
[23.03.2022 17:38.06.228] [LOG] No helper found for module: weather.
[23.03.2022 17:38.06.241] [LOG] Initializing new module helper …
[23.03.2022 17:38.06.243] [LOG] Module helper loaded: EXT-Detector
[23.03.2022 17:38.06.249] [LOG] Initializing new module helper …
[23.03.2022 17:38.06.251] [LOG] Module helper loaded: EXT-Browser
[23.03.2022 17:38.06.255] [LOG] Initializing new module helper …
[23.03.2022 17:38.06.257] [LOG] Module helper loaded: EXT-Alert
[23.03.2022 17:38.07.245] [LOG] Initializing new module helper …
[23.03.2022 17:38.07.248] [LOG] Module helper loaded: EXT-Spotify
[23.03.2022 17:38.07.693] [LOG] Initializing new module helper …
[23.03.2022 17:38.07.695] [LOG] Module helper loaded: EXT-Librespot
[23.03.2022 17:38.08.472] [LOG] Initializing new module helper …
[23.03.2022 17:38.08.473] [LOG] Module helper loaded: MMM-GoogleAssistant
[23.03.2022 17:38.08.474] [LOG] All module helpers loaded.
[23.03.2022 17:38.08.664] [LOG] Starting server on port 8080 …
[23.03.2022 17:38.08.686] [LOG] Server started …
[23.03.2022 17:38.08.689] [LOG] Connecting socket for: Gateway
[23.03.2022 17:38.08.691] [LOG] Connecting socket for: EXT-Detector
[23.03.2022 17:38.08.694] [LOG] [DETECTOR] EXT-Detector Version: 1.0.1 rev: 220315
[23.03.2022 17:38.08.696] [LOG] Connecting socket for: EXT-Browser
[23.03.2022 17:38.08.698] [LOG] Starting module helper: EXT-Browser
[23.03.2022 17:38.08.699] [LOG] Connecting socket for: EXT-Alert
[23.03.2022 17:38.08.701] [LOG] Starting module helper: EXT-Alert
[23.03.2022 17:38.08.702] [LOG] Connecting socket for: EXT-Spotify
[23.03.2022 17:38.08.704] [LOG] Connecting socket for: EXT-Librespot
[23.03.2022 17:38.08.706] [LOG] Connecting socket for: MMM-GoogleAssistant
[23.03.2022 17:38.08.710] [LOG] [GA] Read config.js and check ConfigDeepMerge…
[23.03.2022 17:38.08.714] [LOG] [GA] Perfect ConfigDeepMerge activated!
[23.03.2022 17:38.08.716] [LOG] Sockets connected & modules started …
[23.03.2022 17:38.09.369] [LOG] Launching application.
[1636:0323/173810.792734:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
[1675:0323/173811.111462:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
[23.03.2022 17:38.15.935] [LOG] [DETECTOR] All needed @bugsounet library loaded !
[23.03.2022 17:38.15.939] [LOG] [DETECTOR] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
[23.03.2022 17:38.15.946] [LOG] [DETECTOR] Snowboy is initialized with 1 Models: jarvis
[23.03.2022 17:38.25.571] [LOG] Shutting down server…
[23.03.2022 17:38.25.573] [LOG] Stopping module helper: Gateway
[23.03.2022 17:38.25.574] [LOG] Stopping module helper: EXT-Detector
[23.03.2022 17:38.25.575] [LOG] Stopping module helper: EXT-Browser
[23.03.2022 17:38.25.576] [LOG] Stopping module helper: EXT-Alert
[23.03.2022 17:38.25.576] [LOG] Stopping module helper: EXT-Spotify
[23.03.2022 17:38.25.578] [LOG] [LIBRESPOT] Try to close Librespot!
[23.03.2022 17:38.25.580] [ERROR] Whoops! There was an uncaught exception…
[23.03.2022 17:38.25.589] [ERROR] TypeError: Cannot read properties of null (reading ‘stop’)
at Class.stop (/home/pi/MagicMirror/modules/EXT-Librespot/node_helper.js:17:14)
at App.stop (/home/pi/MagicMirror/js/app.js:254:16)
at App.<anonymous> (/home/pi/MagicMirror/js/electron.js:139:7)
at App.emit (node:events:394:28)
at appMethod (node:electron/js2c/browser_init:69:1830)
at Object.execute (node:electron/js2c/browser_init:69:5623)
at MenuItem.click (node:electron/js2c/browser_init:73:1862)
at Object.a._executeCommand (node:electron/js2c/browser_init:81:2453)
[23.03.2022 17:38.25.591] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[23.03.2022 17:38.25.594] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues -
RE: EXT-Detector not working
@bugsounet i’ve read the extended pluginss and…well most of your wiki now…lol…but after i installed Librespot, spotify and alert the detector icon is faded and no more voice commands possible…i dont have any errors on startup, i’ve rebuilt detector, gateway is installed (since it worked prior) so i cant findout why this is happening! you have an idea? tnx