Solved voice control doesn't activate
-
Hi, can you read this
and you will see in RED:
-
I experience the same issue, my microphone and pir sensor are operational, but the modules cannot detect them. I’m reinstalling raspian OS to see if it works from a fresh start
-
Any log with Gateway installed ?
-
When I installed Gateway and added the code to my config file as recommended I got an error and the magic mirror screen didn’t display any of the previous modules.
-
@bugsounet I installed gateway via the code you wrote on github, however I was unsuccessfull in downloading the app
-
Yeah same I used my IP address with 8081 at the end and it said “page not found”
-
For both: Any logs ?
I don’t have any clairvoyance yet …
-
also, this is the response I get with gateway installed and added to the config.js
[10.06.2022 02:02.14.118] [LOG] Starting MagicMirror: v2.19.0
[10.06.2022 02:02.14.134] [LOG] Loading config …
[10.06.2022 02:02.14.159] [LOG] Loading module helpers …
[10.06.2022 02:02.14.166] [LOG] No helper found for module: alert.
[10.06.2022 02:02.14.214] [LOG] Initializing new module helper …
[10.06.2022 02:02.14.218] [LOG] Module helper loaded: updatenotification
[10.06.2022 02:02.14.231] [LOG] No helper found for module: clock.
[10.06.2022 02:02.14.811] [LOG] Initializing new module helper …
[10.06.2022 02:02.14.816] [LOG] Module helper loaded: calendar
[10.06.2022 02:02.14.823] [LOG] No helper found for module: compliments.
[10.06.2022 02:02.14.827] [LOG] No helper found for module: weather.
[10.06.2022 02:02.14.905] [LOG] Initializing new module helper …
[10.06.2022 02:02.14.906] [LOG] Module helper loaded: newsfeed
[10.06.2022 02:02.16.339] [LOG] Initializing new module helper …
[10.06.2022 02:02.16.341] [LOG] Module helper loaded: MMM-GmailFeed
[10.06.2022 02:02.16.384] [LOG] Initializing new module helper …
[10.06.2022 02:02.16.387] [LOG] Module helper loaded: EXT-Detector
[10.06.2022 02:02.17.831] [LOG] Initializing new module helper …
[10.06.2022 02:02.17.833] [LOG] Module helper loaded: MMM-GoogleAssistant
[10.06.2022 02:02.17.917] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘passport’
Require stack:- /home/pi/MagicMirror/modules/Gateway/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
[10.06.2022 02:02.17.920] [LOG] Loading module helpers …
[10.06.2022 02:02.17.922] [LOG] No helper found for module: alert.
[10.06.2022 02:02.17.924] [LOG] Initializing new module helper …
[10.06.2022 02:02.17.925] [LOG] Module helper loaded: updatenotification
[10.06.2022 02:02.17.928] [LOG] No helper found for module: clock.
[10.06.2022 02:02.17.930] [LOG] Initializing new module helper …
[10.06.2022 02:02.17.932] [LOG] Module helper loaded: calendar
[10.06.2022 02:02.17.934] [LOG] No helper found for module: compliments.
[10.06.2022 02:02.17.936] [LOG] No helper found for module: weather.
[10.06.2022 02:02.17.938] [LOG] Initializing new module helper …
[10.06.2022 02:02.17.939] [LOG] Module helper loaded: newsfeed
[10.06.2022 02:02.17.940] [LOG] Initializing new module helper …
[10.06.2022 02:02.17.975] [LOG] Module helper loaded: MMM-GmailFeed
[10.06.2022 02:02.17.977] [LOG] Initializing new module helper …
[10.06.2022 02:02.17.981] [LOG] Module helper loaded: EXT-Detector
[10.06.2022 02:02.17.983] [LOG] Initializing new module helper …
[10.06.2022 02:02.17.985] [LOG] Module helper loaded: MMM-GoogleAssistant
[10.06.2022 02:02.17.992] [ERROR] App threw an error during load
[10.06.2022 02:02.17.999] [ERROR] Error: Cannot find module ‘passport’
Require stack:- /home/pi/MagicMirror/modules/Gateway/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:785:27)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/home/pi/MagicMirror/modules/Gateway/node_helper.js:9:16)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1169:10)
[10.06.2022 02:02.18.002] [ERROR] Whoops! There was an uncaught exception…
[10.06.2022 02:02.18.015] [ERROR] Error: Cannot find module ‘passport’
Require stack: - /home/pi/MagicMirror/modules/Gateway/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:785:27)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/home/pi/MagicMirror/modules/Gateway/node_helper.js:9:16)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1169:10) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/pi/MagicMirror/modules/Gateway/node_helper.js’,
‘/home/pi/MagicMirror/js/app.js’,
‘/home/pi/MagicMirror/js/electron.js’,
‘/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js’,
undefined
]
}
[10.06.2022 02:02.18.020] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[10.06.2022 02:02.18.021] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[10.06.2022 02:02.20.520] [LOG] Launching application.
[1411:0610/020225.651609:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
[1441:0610/020226.256118:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[10.06.2022 02:02.50.821] [LOG] Shutting down server…
[10.06.2022 02:02.50.871] [LOG] Stopping module helper: updatenotification
[10.06.2022 02:02.50.872] [LOG] Stopping module helper: calendar
[10.06.2022 02:02.50.874] [LOG] Stopping module helper: newsfeed
[10.06.2022 02:02.50.877] [LOG] Stopping module helper: MMM-GmailFeed
[10.06.2022 02:02.50.880] [LOG] Stopping module helper: EXT-Detector
[10.06.2022 02:02.50.882] [LOG] Stopping module helper: MMM-GoogleAssistant
[10.06.2022 02:02.50.885] [LOG] Stopping module helper: updatenotification
[10.06.2022 02:02.50.888] [LOG] Stopping module helper: calendar
[10.06.2022 02:02.50.890] [LOG] Stopping module helper: newsfeed
[10.06.2022 02:02.50.892] [LOG] Stopping module helper: MMM-GmailFeed
[10.06.2022 02:02.50.894] [LOG] Stopping module helper: EXT-Detector
[10.06.2022 02:02.50.897] [LOG] Stopping module helper: MMM-GoogleAssistant
[10.06.2022 02:02.50.915] [ERROR] Whoops! There was an uncaught exception…
[10.06.2022 02:02.50.935] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
at App.<anonymous> (/home/pi/MagicMirror/js/electron.js:145:7)
at App.emit (node:events:390: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 EventEmitter.a._executeCommand (node:electron/js2c/browser_init:81:2453)
[10.06.2022 02:02.50.940] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[10.06.2022 02:02.50.943] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
-
thanks
Can you try:
npm run rebuild
insideGateway
directory ?
can you past the result of this command ? -
I’ll follow the whole installaties guide This evening, will update here if it works. I’ll only install the magic mirror software before initializing the installation guide to het sure there is no junk software.
-
@jorisbogaerts : try this before
@bugsounet said in voice control doesn't activate:
thanks
Can you try:
npm run rebuild
insideGateway
directory ?
can you past the result of this command ? -
Note: Logs says all … So I know what doing
-
Omg, thank you so much. it’s actually working.
-
@dbdpcg : next time for updating use :
npm run update
inGateway
directory (i think you usegit pull
only) or just installEXT-UpdateNotification
for update automaticaly -
@bugsounet ok, thank you. I needed this for an assignment and thanks to you I got it working.
-
-
no luck, installed all the software over again, but I get the same errors prior the reset
-
-
-
so I get the notification that detectors are not correctly connected, but when my pir sensor detects movement, the count down to disable the screen resets itself, that’s good. My microphone is still not working. I’m using a usb microphone and I’ve followed the following steps to let it be recognized by the system: https://pimylifeup.com/raspberrypi-microphone/
Thank you so much Bugsounet for the great module. I decided to not use the youtube module, because the module would stay on the screen after I disconnected the phone from streaming -
that you can see in logs … Detector can’t activate it BECAUSE you use an x64 os !
and wiki says :so try with with 32 bits version with this link
and don’t install your link for microphone … 99% of case, Linux micro phone is plug and play
your link use OLD protocol. new protocol you don’t have to use it