@bugsounet ok, thank you. I needed this for an assignment and thanks to you I got it working.
Best posts made by dbdpcg
-
RE: voice control doesn't activate
Latest posts made by dbdpcg
-
RE: voice control doesn't activate
@bugsounet ok, thank you. I needed this for an assignment and thanks to you I got it working.
-
RE: voice control doesn't activate
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
-
RE: voice control doesn't activate
Yeah same I used my IP address with 8081 at the end and it said “page not found”
-
RE: voice control doesn't activate
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.
-
RE: voice control doesn't activate
I get this when I run MagicMirror
[09.06.2022 23:29.48.132] [LOG] Starting MagicMirror: v2.19.0
[09.06.2022 23:29.48.150] [LOG] Loading config …
[09.06.2022 23:29.48.188] [LOG] Loading module helpers …
[09.06.2022 23:29.48.205] [LOG] No helper found for module: alert.
[09.06.2022 23:29.48.284] [LOG] Initializing new module helper …
[09.06.2022 23:29.48.288] [LOG] Module helper loaded: updatenotification
[09.06.2022 23:29.48.308] [LOG] No helper found for module: clock.
[09.06.2022 23:29.49.262] [LOG] Initializing new module helper …
[09.06.2022 23:29.49.266] [LOG] Module helper loaded: calendar
[09.06.2022 23:29.49.275] [LOG] No helper found for module: compliments.
[09.06.2022 23:29.49.279] [LOG] No helper found for module: weather.
[09.06.2022 23:29.49.374] [LOG] Initializing new module helper …
[09.06.2022 23:29.49.376] [LOG] Module helper loaded: newsfeed
[09.06.2022 23:29.51.823] [LOG] Initializing new module helper …
[09.06.2022 23:29.51.826] [LOG] Module helper loaded: MMM-GmailFeed
[09.06.2022 23:29.51.859] [LOG] Initializing new module helper …
[09.06.2022 23:29.51.860] [LOG] Module helper loaded: EXT-Detector
[09.06.2022 23:29.54.668] [LOG] Initializing new module helper …
[09.06.2022 23:29.54.670] [LOG] Module helper loaded: MMM-GoogleAssistant
[09.06.2022 23:29.54.683] [LOG] Initializing new module helper …
[09.06.2022 23:29.54.693] [LOG] Module helper loaded: EXT-Browser
[09.06.2022 23:29.54.696] [LOG] All module helpers loaded.
[09.06.2022 23:29.55.441] [LOG] Starting server on port 8080 …
[09.06.2022 23:29.55.790] [LOG] Server started …
[09.06.2022 23:29.55.793] [LOG] Connecting socket for: updatenotification
[09.06.2022 23:29.55.813] [LOG] Starting module helper: updatenotification
[09.06.2022 23:29.55.814] [LOG] Connecting socket for: calendar
[09.06.2022 23:29.55.816] [LOG] Starting node helper for: calendar
[09.06.2022 23:29.55.817] [LOG] Connecting socket for: newsfeed
[09.06.2022 23:29.55.819] [LOG] Starting node helper for: newsfeed
[09.06.2022 23:29.55.821] [LOG] Connecting socket for: MMM-GmailFeed
[09.06.2022 23:29.55.823] [LOG] MMM-GmailFeed helper started…
[09.06.2022 23:29.55.825] [LOG] Connecting socket for: EXT-Detector
[09.06.2022 23:29.55.837] [LOG] [DETECTOR] EXT-Detector Version: 1.0.1 rev: 220315
[09.06.2022 23:29.55.841] [LOG] Connecting socket for: MMM-GoogleAssistant
[09.06.2022 23:29.55.844] [LOG] [GA] Read config.js and check ConfigDeepMerge…
[09.06.2022 23:29.55.893] [LOG] [GA] Perfect ConfigDeepMerge activated!
[09.06.2022 23:29.55.895] [LOG] Connecting socket for: EXT-Browser
[09.06.2022 23:29.55.896] [LOG] Starting module helper: EXT-Browser
[09.06.2022 23:29.55.897] [LOG] Sockets connected & modules started …
[09.06.2022 23:30.08.825] [LOG] Launching application.
[1315:0609/233014.331929:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
[1364:0609/233014.915893:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[09.06.2022 23:30.22.048] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/dobaharvand%40gmail.com/public/basic.ics - Interval: 2000
[09.06.2022 23:30.23.230] [LOG] Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
[09.06.2022 23:30.24.427] [INFO] Newsfeed-Fetcher: Broadcasting 33 items.
[09.06.2022 23:30.24.612] [INFO] Checking git for module: MMM-GmailFeed
[09.06.2022 23:30.24.884] [LOG] [GA] MMM-GoogleAssistant Version: 4.0.4 rev: 220409
[09.06.2022 23:30.24.956] [LOG] [GA] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
[09.06.2022 23:30.24.960] [LOG] [GA] Google Assistant is initialized.
[09.06.2022 23:30.24.995] [LOG] [LINKS] EXT-Browser Version: 1.0.0 rev: 220228
[09.06.2022 23:30.28.180] [LOG] [DETECTOR] All needed @bugsounet library loaded !
[09.06.2022 23:30.28.183] [LOG] [DETECTOR] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
[09.06.2022 23:30.28.366] [LOG] [DETECTOR] Porcupine is initialized with 2 Models: ok google,hey google
[09.06.2022 23:30.28.418] [LOG] [DETECTOR] Snowboy is initialized with 1 Models: jarvis
[09.06.2022 23:30.29.212] [INFO] Checking git for module: EXT-Detector
[09.06.2022 23:30.30.463] [INFO] Calendar-Fetcher: Broadcasting 2 events.
[09.06.2022 23:30.30.736] [INFO] Checking git for module: MMM-GoogleAssistant
[09.06.2022 23:30.33.176] [INFO] Checking git for module: EXT-Browser
[09.06.2022 23:30.34.506] [INFO] Checking git for module: default
[09.06.2022 23:30.35.260] [INFO] Calendar-Fetcher: Broadcasting 2 events.
[09.06.2022 23:30.38.796] [INFO] Calendar-Fetcher: Broadcasting 2 events.
[09.06.2022 23:30.42.324] [INFO] Calendar-Fetcher: Broadcasting 2 events.
[09.06.2022 23:30.45.654] [INFO] Calendar-Fetcher: Broadcasting 2 events.
[09.06.2022 23:30.48.866] [INFO] Calendar-Fetcher: Broadcasting 2 events.
[09.06.2022 23:30.52.038] [INFO] Calendar-Fetcher: Broadcasting 2 events.
[09.06.2022 23:30.55.319] [INFO] Calendar-Fetcher: Broadcasting 2 events.
[09.06.2022 23:30.58.466] [INFO] Calendar-Fetcher: Broadcasting 2 events. -
voice control doesn't activate
Hi there I have installed google Assistant and EXT-Detecter but I cannot seems to activate voice control. Also, I have checked my microphone and speakers and they work fine. I’m not sure what I am doing wrong and any help would be great.
-
RE: Google assistant token problem
@bugsounet Also, I was wondering if we are supposed to get a token file in the MMM-GoogleAssistant directory?
-
RE: Google assistant token problem
Hi again I checked the OS and node version and it’s the same as yours.
-
Google assistant token problem
Hi there, I have installed google assistant on my raspberry pi 3A and went through the configuration process by I ran into a problem when I tried to run google assistant. I ran “npm run token” and this error came up :
I have been looking everywhere to find out what’s wrong but can’t seem to find anything. any help would be greatly appreciated.