Solved [No Audio] GoogleAssistant
-
Hello
Depuis quelque temps, je n’ai plus de retour vocal de OK GOOGLE
A vrai dire depuis je n’avais pas fait attention.
J’ai pensé à un bug soit du module MMM-GoogleAssistant, j’ai donc lancé une mise à jour, et pas de changement…
Fais une mise à jour du système raspi, et pas de changement…
De ce fait j’ai donc fait une réinstalle complète du raspi, et là toujours le même souci.
Raspi connecté en HDMI à l’écran
Micro et Enceinte relié en USB directement au raspiJe sèche sur le souci.
Mon Matos :
Raspberry 4 ( 8Go Ram ) avec Alim Officielle
Carte Mémoire microSDHC SanDisk Extreme PRO 32 Go jusqu’à 100 Mo/s, Classe 10, U3, V30, A1
https://www.amazon.fr/gp/product/B06XYHN68L/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1Ecran PC Benq
Micro USB : https://www.amazon.fr/gp/product/B01LCIGY8U/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Enceinte USB :
https://www.amazon.fr/gp/product/B08T5LS22J/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1Quelque Info du system:
pi@Mirror:~ $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 0c76:160a JMTek, LLC. Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub pi@Mirror:~ $
pi@Mirror:~ $ hostnamectl Static hostname: Mirror Icon name: computer Machine ID: 24261a67d8f84d19acdeb9b35d9602ff Boot ID: 85c3aab0ae2c4ca69a4d112f462ffb4e Operating System: Raspbian GNU/Linux 10 (buster) Kernel: Linux 5.10.63-v7l+ Architecture: arm pi@Mirror:~ $
No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster pi@Mirror:~ $
pi@Mirror:~ $ uname -r 5.10.63-v7l+ pi@Mirror:~ $
pi@Mirror:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster pi@Mirror:~ $ ^C pi@Mirror:~ $ node -v v14.18.1 pi@Mirror:~ $ ^C pi@Mirror:~ $ npm -v 6.14.15 pi@Mirror:~ $
Mon config.js
/* 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", // 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" 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 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: "fr", locale: "fr-FR", 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: "MMM-Detector", position: "top_center", configDeepMerge: true, config: { debug: false, autoStart: true, useLogos: true, micConfig: { recorder: "auto", device: "default", // only for snowboy: audioGain: 2.0, }, newLogos: { default: "default.png", }, detectors: [ { detector: "Snowboy", Model: "jarvis", Sensitivity: 0.9, Logo: "google", autoRestart: false, onDetected: { notification: "GA_ACTIVATE", }, }, { detector: "Porcupine", Model: "ok google", Sensitivity: null, Logo: "google", autoRestart: false, onDetected: { notification: "GA_ACTIVATE", }, }, { detector: "Porcupine", Model: "hey google", Sensitivity: null, Logo: "google", autoRestart: false, onDetected: { notification: "GA_ACTIVATE", }, }, ], NPMCheck: { useChecker: true, delay: 10 * 60 * 1000, useAlert: true, }, }, }, { module: "MMM-GoogleAssistant", position: "top_center", configDeepMerge: true, config: { debug: false, assistantConfig: { lang: "fr-FR", latitude: xxxx, //add your location coordinates longitude: xxxxx, }, 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, }, links: { useLinks: true, displayDelay: 60 * 1000, scrollActivate: false, scrollStep: 25, scrollInterval: 1000, scrollStart: 5000, }, photos: { usePhotos: true, useGooglePhotosAPI: true, displayType: "Background", displayDelay: 10 * 1000, albums: ["Family"], sort: "randon", hiResolution: true, timeFormat: "DD/MM/YYYY HH:mm", moduleHeight: 300, moduleWidth: 300, }, welcome: { useWelcome: true, welcome: "brief today", }, cast: { useCast: true, port: 8569, }, spotify: { useSpotify: false, visual: {}, player: {}, }, }, recipes: [ "ExtGPhotos.js", "ExtRadio_fr.js", "with-IronMan.js" ], NPMCheck: {}, }, }, { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left", config: { showWeek: true, lat: xxxxx, lon: xxxxx, } }, { module: "calendar", header: "FR Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "https:/xxxxxx" } ] } }, { module: "compliments", position: "lower_third" }, { module: "weather", position: "top_right", config: { weatherProvider: "openweathermap", type: "current", location: "Bxxxxx", locationID: "xxxxx", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "665b0a4007447f8xxxxxx", colored: true } }, { module: "weather", position: "top_right", header: "Prévisions météorologiques", config: { weatherProvider: "openweathermap", type: "forecast", location: "xxxxx", locationID: "3xxxxxx", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "665b0a400xxxxx", maxNumberOfDays: 7, colored: true } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "Le Monde", url: "https://www.lemonde.fr/rss/en_continu.xml" }, { title: "France Info", url: "https://www.francetvinfo.fr/titres.rss" }, { title: "BFM TV", url: "https://www.bfmtv.com/rss/news-24-7/" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
-
Hello,
Pourrais-je avoir le retour de la console depuis le lancement de MagicMirror avec la commande
npm start
?Si vous utilisez pm2, pensez a stopper le process
-
Hello
voila
pi@Mirror:~/MagicMirror $ pm2 stop MagicMirror [PM2] Applying action stopProcessId on app [MagicMirror](ids: [ 0 ]) [PM2] [MagicMirror](0) ✓ ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 37 │ stopped │ 0% │ 0b │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ pi@Mirror:~/MagicMirror $ npm start > magicmirror@2.17.1 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [31.10.2021 18:13.20.277] [LOG] Starting MagicMirror: v2.17.1 [31.10.2021 18:13.20.285] [LOG] Loading config ... [31.10.2021 18:13.20.297] [LOG] Loading module helpers ... [31.10.2021 18:13.20.304] [LOG] Initializing new module helper ... [31.10.2021 18:13.20.306] [LOG] Module helper loaded: MMM-Detector [31.10.2021 18:13.22.419] [LOG] Initializing new module helper ... [31.10.2021 18:13.22.421] [LOG] Module helper loaded: MMM-GoogleAssistant [31.10.2021 18:13.22.423] [LOG] No helper found for module: alert. [31.10.2021 18:13.22.427] [LOG] Initializing new module helper ... [31.10.2021 18:13.22.429] [LOG] Module helper loaded: updatenotification [31.10.2021 18:13.22.430] [LOG] No helper found for module: clock. [31.10.2021 18:13.22.570] [LOG] Initializing new module helper ... [31.10.2021 18:13.22.571] [LOG] Module helper loaded: calendar [31.10.2021 18:13.22.572] [LOG] No helper found for module: compliments. [31.10.2021 18:13.22.573] [LOG] No helper found for module: weather. [31.10.2021 18:13.22.596] [LOG] Initializing new module helper ... [31.10.2021 18:13.22.596] [LOG] Module helper loaded: newsfeed [31.10.2021 18:13.22.597] [LOG] All module helpers loaded. [31.10.2021 18:13.22.673] [LOG] Starting server on port 8080 ... [31.10.2021 18:13.22.685] [LOG] Server started ... [31.10.2021 18:13.22.687] [LOG] Connecting socket for: MMM-Detector [31.10.2021 18:13.22.689] [LOG] [DETECTOR] MMM-Detector Version: 1.1.2 rev: 21 1004-1 [31.10.2021 18:13.22.690] [LOG] Connecting socket for: MMM-GoogleAssistant [31.10.2021 18:13.22.691] [LOG] [GA] Read config.js and check ConfigDeepMerge. .. [31.10.2021 18:13.22.692] [LOG] [GA] Perfect ConfigDeepMerge activated! [31.10.2021 18:13.22.694] [LOG] Connecting socket for: updatenotification [31.10.2021 18:13.22.695] [LOG] Connecting socket for: calendar [31.10.2021 18:13.22.697] [LOG] Starting node helper for: calendar [31.10.2021 18:13.22.698] [LOG] Connecting socket for: newsfeed [31.10.2021 18:13.22.699] [LOG] Starting node helper for: newsfeed [31.10.2021 18:13.22.699] [LOG] Sockets connected & modules started ... [31.10.2021 18:13.22.998] [LOG] Launching application. [31.10.2021 18:13.23.048] [WARN] (electron) Security Warning: A WebContents was just created with both webviewTag and contextIsolation enabled. This combinati on is fundamentally less secure and effectively bypasses the protections of cont extIsolation. We strongly recommend you move away from webviews to OOPIF or Bro wserView in order for your app to be more secure [31.10.2021 18:13.26.851] [LOG] [DETECTOR] All needed @bugsounet library loade d ! [31.10.2021 18:13.26.854] [LOG] [NPM] Initialized v0.9.96 [31.10.2021 18:13.27.038] [LOG] [DETECTOR] Platform: 'raspberry-pi'; attemptin g to use 'arecord' to access microphone ... [31.10.2021 18:13.27.062] [LOG] [DETECTOR] Porcupine is initialized with 2 Mod els: ok google,hey google [31.10.2021 18:13.27.071] [LOG] [DETECTOR] Snowboy is initialized with 1 Model s: jarvis [31.10.2021 18:13.27.286] [LOG] [DETECTOR] Starts listening. 3 Models [31.10.2021 18:13.27.610] [LOG] Create new calendarfetcher for url: https://ca lendar.google.com/calendar/ical/fr.french%23holiday%40group.v.calendar.google.co m/public/basic.ics - Interval: 300000 [31.10.2021 18:13.27.660] [LOG] Create new newsfetcher for url: https://www.le monde.fr/rss/en_continu.xml - Interval: 300000 [31.10.2021 18:13.27.672] [LOG] Create new newsfetcher for url: https://www.fr ancetvinfo.fr/titres.rss - Interval: 300000 [31.10.2021 18:13.27.680] [LOG] Create new newsfetcher for url: https://www.bf mtv.com/rss/news-24-7/ - Interval: 300000 [31.10.2021 18:13.27.698] [LOG] [GA] MMM-GoogleAssistant Version: 3.1.0 rev: 2 11008-1 [31.10.2021 18:13.27.705] [LOG] [GA] YouTube Search Function initilized. [31.10.2021 18:13.27.709] [LOG] [GA] Platform: 'raspberry-pi'; attempting to u se 'arecord' to access microphone ... [31.10.2021 18:13.29.060] [INFO] Checking git for module: default [31.10.2021 18:13.29.126] [INFO] Checking git for module: MMM-Detector [31.10.2021 18:13.29.182] [INFO] Checking git for module: MMM-GoogleAssistant [31.10.2021 18:13.29.244] [LOG] [GA] All needed @bugsounet library loaded ! [31.10.2021 18:13.29.774] [LOG] [GA] Detected: Raspberry Pi 4 [31.10.2021 18:13.29.776] [LOG] [GA:EXT] Extented Display Server Started [31.10.2021 18:13.29.782] [LOG] [CAST] Cast v1.1.3 Initialized... [31.10.2021 18:13.29.805] [LOG] [GA:EXT] Extented Display is initialized. [31.10.2021 18:13.29.817] [LOG] [GA] RECIPE_LOADED: ExtGPhotos.js [31.10.2021 18:13.29.827] [LOG] [GA] RECIPE_LOADED: ExtRadio_fr.js [31.10.2021 18:13.29.833] [LOG] [GA] RECIPE_LOADED: with-IronMan.js [31.10.2021 18:13.29.840] [LOG] [NPM] Initialized v0.9.96 [31.10.2021 18:13.30.294] [LOG] [GA] Google Assistant is initialized. [31.10.2021 18:13.30.678] [LOG] [DETECTOR] Stops listening. [31.10.2021 18:13.32.161] [INFO] Newsfeed-Fetcher: Broadcasting 30 items. [31.10.2021 18:13.32.181] [INFO] Newsfeed-Fetcher: Broadcasting 33 items. [31.10.2021 18:13.33.369] [INFO] Calendar-Fetcher: Broadcasting 10 events. [31.10.2021 18:13.33.565] [INFO] Newsfeed-Fetcher: Broadcasting 60 items. [31.10.2021 18:13.46.233] [LOG] [DETECTOR] Starts listening. 3 Models
-
Have you checked raspi-config
Go into Raspi-config and change audio output.sudo raspi-config
Systems Options
Audio
select your option
-
Hello
No Option
0 USB Audio
Screen
Je viens de lancer une procédure de MAJ RPI-UPDATE
pi@Mirror:~ $ sudo rpi-update *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom *** Performing self-update *** Relaunching after update *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom *** We're running for the first time *** Backing up files (this will take a few minutes) *** Backing up firmware *** Backing up modules 5.10.63-v7l+ ############################################################# WARNING: This update bumps to rpi-5.10.y linux tree See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=288234 'rpi-update' should only be used if there is a specific reason to do so - for example, a request by a Raspberry Pi engineer or if you want to help the testing effort and are comfortable with restoring if there are regressions. DO NOT use 'rpi-update' as part of a regular update process. ############################################################## Would you like to proceed? (y/N) *** Downloading specific firmware revision (this will take a few minutes) % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 173 100 173 0 0 1453 0 --:--:-- --:--:-- --:--:-- 1466 100 121M 100 121M 0 0 7680k 0 0:00:16 0:00:16 --:--:-- 8079k *** Updating firmware *** Updating kernel modules *** depmod 5.10.76-v7+ *** depmod 5.10.76-v7l+ *** depmod 5.10.76-v8+ *** depmod 5.10.76+ *** Updating VideoCore libraries *** Using HardFP libraries *** Updating SDK *** Running ldconfig *** Storing current firmware revision *** Deleting downloaded files *** Syncing changes to disk *** If no errors appeared, your firmware was successfully updated to 992de83e0ea01a9765196349abb386c5c8ea8944 *** A reboot is needed to activate the new firmware pi@Mirror:~ $
-
It could be the USB device is not supported? Has the screen got speakers or a usb you can try.
-
Re,
I just plugged the USB soundbar into my asus, the sound is OK so the bar works.
On the screen I have a jack, I plug in an audio headset, I have an audio return.
Put nothing in USB audio on the raspberry …
However I had no problem, which is also why I bought this sound bar in USB
Je viens de branche la barre son USB sur mon asus , le son OK donc la barre fonctionne.
Sur l’ecran j’ai une prise jack, j’ai brancher un casque audio dessus , j’ai un retour audio.
Met rien en USB audio sur le raspberry…
Pourtant je n’avais pas de souci , c’est d’ailleurs pourquoi j’avais achete cette barre son en USB
-
je pense que ta barre USB n’est pas défini par defaut comme périphérique de lecture
Essaye de te connecter physiquement ou alors par VNC sur le pi
regarde au niveau de l’icone son (clique droit)Apres peut etre qu’il n’y a pas de pilote installé pour ta barre
-
Re,
Je vais refaire une installe du system
je verrais bienJe te tiens au courant
-
-
Hello
@bugsounetBon pas de changement , malgré diverses procédures
Par contre j’ai trouvé d’où proviens le souci
Ma barre son est pas reconnu par les ports USB 2 et 3
Par contre quand je la débranche et rebranche elle est reconnu et le son est ok .
Quand celle ci est reconnu et que je redémarre le Raspberry , la ma barre son est disparu
Je suis obligé de la déconné et de la reconnecté pour qu’elle fonctionne de nouveau…J’ai applique ceci pour voir si cela corrige mon souci
https://f4eed.wordpress.com/2020/03/15/raspberry-pi-au-secours-mon-rasp-perd-mon-clavier-usb/Mais sans resultat…
-
Un problème de firmware / kernel je pense
-
Je pense à la meme chose
Par contre pas de souci avec le micro qui est lui en usb…
je vais voir mon download le firmware / kernel
-
bugsounet