Unsolved Setup Google asistant but its not firing
-
Hi,
I need some addional informations:
- What’s MagicMirror version used ?
- What’s OS version used ?
Another helping depends of this 2 responses
-
MM version is: “version”: “2.25.0”,
and my OS is: Bullseye (Not sure how to check the exact one) -
hi, any update on this? @bugsounet
-
Can I have the content of log of
npm start
on MagicMirror folder, for see what happen ?
(don’t forget to stop pm2 if you use it) -
pi@raspberrypi:~/MagicMirror $ npm start
magicmirror@2.25.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[23.10.2023 00:07.27.638] [LOG] Starting MagicMirror: v2.25.0
[23.10.2023 00:07.27.651] [LOG] Loading config …
[23.10.2023 00:07.27.655] [DEBUG] config template file not exists, no envsubst
[23.10.2023 00:07.27.663] [LOG] Loading module helpers …
[23.10.2023 00:07.27.666] [LOG] No helper found for module: alert.
[23.10.2023 00:07.27.710] [LOG] Initializing new module helper …
[23.10.2023 00:07.27.712] [LOG] Module helper loaded: updatenotification
[23.10.2023 00:07.27.718] [LOG] No helper found for module: clock.
[23.10.2023 00:07.28.097] [LOG] Initializing new module helper …
[23.10.2023 00:07.28.098] [LOG] Module helper loaded: calendar
[23.10.2023 00:07.28.101] [LOG] No helper found for module: weather.
[23.10.2023 00:07.28.115] [LOG] Initializing new module helper …
[23.10.2023 00:07.28.116] [LOG] Module helper loaded: MMM-GoogleAssistant
[23.10.2023 00:07.28.139] [LOG] Initializing new module helper …
[23.10.2023 00:07.28.142] [LOG] Module helper loaded: Gateway
[23.10.2023 00:07.28.156] [LOG] Initializing new module helper …
[23.10.2023 00:07.28.157] [LOG] Module helper loaded: EXT-Detector
[23.10.2023 00:07.28.173] [LOG] Initializing new module helper …
[23.10.2023 00:07.28.174] [LOG] Module helper loaded: EXT-Background
[23.10.2023 00:07.28.179] [LOG] Initializing new module helper …
[23.10.2023 00:07.28.180] [LOG] Module helper loaded: MMM-PIR-Sensor-Lite
[23.10.2023 00:07.28.180] [LOG] All module helpers loaded.
[23.10.2023 00:07.28.197] [LOG] Starting server on port 8080 …
[23.10.2023 00:07.28.770] [LOG] Server started …
[23.10.2023 00:07.28.771] [LOG] Connecting socket for: updatenotification
[23.10.2023 00:07.28.773] [LOG] Starting module helper: updatenotification
[23.10.2023 00:07.28.774] [LOG] Connecting socket for: calendar
[23.10.2023 00:07.28.775] [LOG] Starting node helper for: calendar
[23.10.2023 00:07.28.776] [LOG] Connecting socket for: MMM-GoogleAssistant
[23.10.2023 00:07.28.777] [LOG] Connecting socket for: Gateway
[23.10.2023 00:07.28.779] [LOG] Connecting socket for: EXT-Detector
[23.10.2023 00:07.28.780] [LOG] Connecting socket for: EXT-Background
[23.10.2023 00:07.28.785] [LOG] Starting module helper: EXT-Background
[23.10.2023 00:07.28.786] [LOG] Connecting socket for: MMM-PIR-Sensor-Lite
[23.10.2023 00:07.28.788] [LOG] Sockets connected & modules started …
[23.10.2023 00:07.28.939] [LOG] Launching application.
[1322:1023/000729.565733:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
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
[23.10.2023 00:07.34.989] [LOG] Create new calendarfetcher for url: https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics - Interval: 3600000
[23.10.2023 00:07.35.279] [LOG] [GA] MMM-GoogleAssistant Version: 5.4.2 rev: 231006
[23.10.2023 00:07.39.341] [LOG] [GA] [LIB] All libraries loaded!
[23.10.2023 00:07.39.342] [LOG] [GA] [CONFIG_MERGE] Read config.js and check ConfigDeepMerge…
[23.10.2023 00:07.39.343] [LOG] [GA] [CONFIG_MERGE] Perfect ConfigDeepMerge activated!
[23.10.2023 00:07.39.344] [LOG] [GA] [SECURE] Check digital footprint…
[23.10.2023 00:07.39.412] [LOG] [GA] [DATA] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
[23.10.2023 00:07.39.428] [LOG] [GA] [DATA] Google Assistant is initialized.
[23.10.2023 00:07.39.569] [LOG] [GATEWAY] Gateway Version: 3.6.2 rev: 231005
[23.10.2023 00:07.39.583] [INFO] Checking git for module: MMM-GoogleAssistant
[23.10.2023 00:07.39.788] [LOG] [GA] [SECURE] Happy use !
[23.10.2023 00:07.46.339] [LOG] [GATEWAY] [LIB] All libraries loaded!
[23.10.2023 00:07.46.343] [LOG] [GATEWAY] MagicMirror address: localhost
[23.10.2023 00:07.46.345] [LOG] [GATEWAY] [TRANSLATION] [HOME] Use: default.home
[23.10.2023 00:07.46.349] [LOG] [GATEWAY] Detected: MMM-GoogleAssistant
[23.10.2023 00:07.46.384] [INFO] Checking git for module: Gateway
[23.10.2023 00:07.46.440] [LOG] [GATEWAY] [PM2] checking PM2 using…
[23.10.2023 00:07.46.480] [INFO] Checking git for module: EXT-Detector
[23.10.2023 00:07.46.598] [INFO] Checking git for module: EXT-Background
[23.10.2023 00:07.46.696] [INFO] Checking git for module: MMM-PIR-Sensor-Lite
[23.10.2023 00:07.46.774] [INFO] Checking git for module: MagicMirror
[23.10.2023 00:07.47.505] [INFO] Calendar-Fetcher: Broadcasting 3 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
[23.10.2023 00:07.50.553] [ERROR] Whoops! There was an uncaught exception…
[23.10.2023 00:07.50.555] [ERROR] SyntaxError: Unexpected token ‘P’, “[PM2] Spawn”… is not valid JSON
at JSON.parse (<anonymous>)
at /home/pi/MagicMirror/modules/Gateway/components/GWTools.js:21:1715
at ChildProcess.exithandler (node:child_process:422:7)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:322:12)
[23.10.2023 00:07.50.562] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[23.10.2023 00:07.50.562] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues -
hi, any update on this @bugsounet ?
-
It’s ready on dev.
Just wait next release -
thanks for the reply, what exactly was the issue? was is the GA module?
-
It’s not related to GA
That you can see:
[23.10.2023 00:07.50.555] [ERROR] SyntaxError: Unexpected token ‘P’, “[PM2] Spawn”… is not valid JSON
at JSON.parse (<anonymous>)
at /home/pi/MagicMirror/modules/Gateway/components/GWTools.js:21:1715It’s Gateway failed on start just because I ask an JSON response from
PM2
and I receive aWarn
or aNotice
.
It’s really not logical… -
must be ok with v3.7.0 of
Gateway