Unsolved Google Assistant Not working
-
Hi,
I have followed the installation guide for Google Assistant. I have already using MagicMirror with some other modules. I am trying to add the Google Assistant module here. I have done the credential setup, configuration, extended plugins (Gateway/Detector/Alerts) and captured the token. I have tested my mic and speacker with ‘arecord’ and ‘aplay’ and USB mic with speaker working fine with my Raspberry Pi 400.
I have started the magicmirror using pm2 and able to see the google assistant icon. But after that, I am unable to see it working as it is not getting the voice control.I have started the Magic Mirror in dev mode, ‘npm run start:dev’ and can see the below errors and not sure if it is related issue to this. Please help advice. thanks
12.03.2023 18:52.57.061] [LOG] Connecting socket for: Gateway [12.03.2023 18:52.57.062] [LOG] Connecting socket for: EXT-Detector [12.03.2023 18:52.57.064] [LOG] [DETECTOR] EXT-Detector Version: 1.0.2 rev: 230218 [12.03.2023 18:52.57.065] [LOG] Connecting socket for: EXT-Alert [12.03.2023 18:52.57.066] [LOG] Starting module helper: EXT-Alert [12.03.2023 18:52.57.066] [LOG] Connecting socket for: MMM-GoogleAssistant [12.03.2023 18:52.57.068] [LOG] [GA] Read config.js and check ConfigDeepMerge... [12.03.2023 18:52.57.069] [LOG] [GA] Perfect ConfigDeepMerge activated! [12.03.2023 18:52.57.069] [LOG] Connecting socket for: MMM-Remote-Control [12.03.2023 18:52.57.070] [LOG] Starting node helper for: MMM-Remote-Control [12.03.2023 18:52.57.075] [LOG] Sockets connected & modules started ... [12.03.2023 18:52.57.318] [LOG] Launching application. MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information [12.03.2023 18:52.58.710] [ERROR] ERROR! Could not find main module js file for MMM-pages-screencast MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri) failed to load driver: kms_swrast MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri) failed to load swrast driver [12.03.2023 18:52.58.910] [ERROR] ERROR! Could not find main module js file for OLD_MMM-GoogleAssistant [12.03.2023 18:53.03.544] [LOG] Create new calendarfetcher for url: http://www.officeholidays.com/ics/singapore - Interval: 300000 [12.03.2023 18:53.03.675] [LOG] [GATEWAY] Gateway Version: 2.2.5 rev: 230120 [12.03.2023 18:53.03.683] [LOG] [ALERT] EXT-Alert Version: 1.0.0 rev: 220301 [12.03.2023 18:53.03.687] [LOG] [GA] MMM-GoogleAssistant Version: 4.2.4 rev: 230303 [12.03.2023 18:53.03.691] [LOG] [GA] Platform: 'raspberry-pi'; attempting to use 'arecord' to access microphone ... [12.03.2023 18:53.03.693] [LOG] [GA] Google Assistant is initialized. [12.03.2023 18:53.04.460] [LOG] [DETECTOR] All needed @bugsounet library loaded ! [12.03.2023 18:53.04.462] [LOG] [DETECTOR] Platform: 'raspberry-pi'; attempting to use 'arecord' to access microphone ... [12.03.2023 18:53.04.483] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Error: Porcupine failed to initialize at pvStatusToException (/home/niyas/MagicMirror/modules/EXT-Detector/node_modules/@picovoice/porcupine-node/errors.js:40:13) at new Porcupine (/home/niyas/MagicMirror/modules/EXT-Detector/node_modules/@picovoice/porcupine-node/index.js:116:7) at PORCUPINE.init (/home/niyas/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/porcupine/index.js:112:22) at Class.initialize (/home/niyas/MagicMirror/modules/EXT-Detector/node_helper.js:1:2313) at process.processTicksAndRejections (node:internal/process/task_queues:96:5) (Use `electron --trace-warnings ...` to show where the warning was created) [12.03.2023 18:53.04.484] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) [12.03.2023 18:53.05.673] [LOG] [DETECTOR] Starts listening. 0 Models [12.03.2023 18:53.05.684] [LOG] [GATEWAY] Start app... [12.03.2023 18:53.06.762] [LOG] [HyperWatch] Logger is enabled [12.03.2023 18:53.06.764] [LOG] [GATEWAY] Start listening on http://192.168.18.101:8085 [12.03.2023 18:53.06.789] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Error: Porcupine failed to initialize at pvStatusToException (/home/niyas/MagicMirror/modules/EXT-Detector/node_modules/@picovoice/porcupine-node/errors.js:40:13) at new Porcupine (/home/niyas/MagicMirror/modules/EXT-Detector/node_modules/@picovoice/porcupine-node/index.js:116:7) at PORCUPINE.init (/home/niyas/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/porcupine/index.js:112:22) at PORCUPINE.start (/home/niyas/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/porcupine/index.js:117:37) at Class.activate (/home/niyas/MagicMirror/modules/EXT-Detector/node_helper.js:1:3214) at Class.socketNotificationReceived (/home/niyas/MagicMirror/modules/EXT-Detector/node_helper.js:1:900) at Socket.<anonymous> (/home/niyas/MagicMirror/js/node_helper.js:108:11) at Socket.emit (node:events:513:28) at Socket.emitUntyped (/home/niyas/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22) at /home/niyas/MagicMirror/node_modules/socket.io/dist/socket.js:614:39 [12.03.2023 18:53.06.792] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) [12.03.2023 18:53.07.423] [INFO] Calendar-Fetcher: Broadcasting 14 events. [12.03.2023 18:54.31.119] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12.03.2023 18:54.31.120] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4) [12.03.2023 18:54.50.332] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12.03.2023 18:54.50.332] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6) [12.03.2023 18:55.10.321] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12.03.2023 18:55.10.321] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 8) [12.03.2023 18:55.30.321] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12.03.2023 18:55.30.322] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 10) [12.03.2023 18:55.50.463] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12.03.2023 18:55.50.464] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 12) [12.03.2023 18:56.10.312] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12.03.2023 18:56.10.313] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 14) [12.03.2023 18:56.30.313] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12.03.2023 18:56.30.314] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 16) [12.03.2023 18:56.50.305] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12.03.2023 18:56.50.305] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 18) [12.03.2023 18:57.11.122] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12.03.2023 18:57.11.123] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 20) [12.03.2023 18:57.30.315] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12.03.2023 18:57.30.315] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 22) [12.03.2023 18:57.50.305] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12.03.2023 18:57.50.306] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 24) [12.03.2023 18:58.07.576] [INFO] Calendar-Fetcher: Broadcasting 14 events. [12.03.2023 18:58.10.329] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [12.03.2023 18:58.10.329] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 26) [12.03.2023 18:58.30.317] [ERROR] (node:10729) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400 at settle (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:1859:12) at Unzip.handleStreamEnd (/home/niyas/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2723:11) at Unzip.emit (node:events:525:35)
-
related to this
wait GA suite v5 (for compatibility with EXT-Detector and pi 400) release and retry
-
Hi,
Thanks for the quick response. Is it after the new release, we need to just execute the update command for both Gateway, GA and Plugin - EXT-Detector?