• Register
    • Login
    • Search

    Solved Google Assistant not responding to keywords

    Issues
    2
    5
    33
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      thefuryfox last edited by

      A month ago, the Google Assistant in the smart mirror worked for me, but when I recently decided to check again and make sure everything was working, it simply stopped recognizing the microphone (but maybe the reason is different, I’m not sure). I installed all the necessary modules (MMM-Google Assistant, EXT-Detector, Gateway), turned off all the default modules (except clock) and remote-control (because it is the only third-party module) to check - it did not help. The microphone itself is working and the words are very legible for Google Assistant. Since the module stopped working, I added an API key for Porcupine models (ok google, hey google), but that didn’t work either. Later I just reinstalled everything, installed everything from your wiki guide, installed the right version of NPM and NODE, installed Raspbian 32-bit bullseye (11 debian) - didn’t work either. Here are the logs:

      magicmirror@2.23.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      [04.06.2023 13:32.34.002] [LOG] Starting MagicMirror: v2.23.0
      [04.06.2023 13:32.34.010] [LOG] Loading config …
      [04.06.2023 13:32.34.014] [DEBUG] config template file not exists, no envsubst
      [04.06.2023 13:32.34.021] [LOG] Loading module helpers …
      [04.06.2023 13:32.34.023] [LOG] No helper found for module: alert.
      [04.06.2023 13:32.34.041] [LOG] Initializing new module helper …
      [04.06.2023 13:32.34.042] [LOG] Module helper loaded: updatenotification
      [04.06.2023 13:32.34.043] [LOG] No helper found for module: clock.
      [04.06.2023 13:32.34.313] [LOG] Initializing new module helper …
      [04.06.2023 13:32.34.314] [LOG] Module helper loaded: calendar
      [04.06.2023 13:32.34.316] [LOG] No helper found for module: compliments.
      [04.06.2023 13:32.34.317] [LOG] No helper found for module: weather.
      [04.06.2023 13:32.34.339] [LOG] Initializing new module helper …
      [04.06.2023 13:32.34.340] [LOG] Module helper loaded: newsfeed
      [04.06.2023 13:32.34.456] [LOG] Initializing new module helper …
      [04.06.2023 13:32.34.457] [LOG] Module helper loaded: MMM-Remote-Control
      [04.06.2023 13:32.34.462] [LOG] Initializing new module helper …
      [04.06.2023 13:32.34.462] [LOG] Module helper loaded: MMM-GoogleAssistant
      [04.06.2023 13:32.34.468] [LOG] Initializing new module helper …
      [04.06.2023 13:32.34.469] [LOG] Module helper loaded: Gateway
      [04.06.2023 13:32.34.481] [LOG] Initializing new module helper …
      [04.06.2023 13:32.34.483] [LOG] Module helper loaded: EXT-Detector
      [04.06.2023 13:32.34.484] [LOG] All module helpers loaded.
      [04.06.2023 13:32.34.516] [LOG] Starting server on port 8080 …
      [04.06.2023 13:32.34.558] [LOG] Server started …
      [04.06.2023 13:32.34.559] [LOG] Connecting socket for: updatenotification
      [04.06.2023 13:32.34.560] [LOG] Starting module helper: updatenotification
      [04.06.2023 13:32.34.560] [LOG] Connecting socket for: calendar
      [04.06.2023 13:32.34.561] [LOG] Starting node helper for: calendar
      [04.06.2023 13:32.34.562] [LOG] Connecting socket for: newsfeed
      [04.06.2023 13:32.34.562] [LOG] Starting node helper for: newsfeed
      [04.06.2023 13:32.34.563] [LOG] Connecting socket for: MMM-Remote-Control
      [04.06.2023 13:32.34.563] [LOG] Starting node helper for: MMM-Remote-Control
      [04.06.2023 13:32.34.571] [LOG] Connecting socket for: MMM-GoogleAssistant
      [04.06.2023 13:32.34.572] [LOG] Connecting socket for: Gateway
      [04.06.2023 13:32.34.573] [LOG] Connecting socket for: EXT-Detector
      [04.06.2023 13:32.34.575] [LOG] Sockets connected & modules started …
      [04.06.2023 13:32.34.842] [LOG] Launching application.
      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: невозможно открыть разделяемый объектный файл: Отказано в доступе (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: невозможно открыть разделяемый объектный файл: Отказано в доступе (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
      failed to load swrast driver
      [04.06.2023 13:32.38.775] [LOG] Create new calendarfetcher for url: http://www.calend.ru/ical/ical-russtate.ics?v=yy2023&b=1 - Interval: 300000
      [04.06.2023 13:32.38.797] [LOG] Create new newsfetcher for url: https://lenta.ru/rss/news - Interval: 300000
      [04.06.2023 13:32.38.833] [LOG] [GA] MMM-GoogleAssistant Version: 5.1.5 rev: 230509
      [04.06.2023 13:32.40.572] [LOG] [GA] [LIB] All libraries loaded!
      [04.06.2023 13:32.40.577] [LOG] [GATEWAY] Gateway Version: 3.3.4 rev: 230520
      [04.06.2023 13:32.40.584] [INFO] Checking git for module: MMM-Remote-Control
      [04.06.2023 13:32.40.636] [LOG] [GA] [CONFIG_MERGE] Read config.js and check ConfigDeepMerge…
      [04.06.2023 13:32.40.639] [LOG] [GA] [CONFIG_MERGE] Perfect ConfigDeepMerge activated!
      [04.06.2023 13:32.40.640] [LOG] [GA] [SECURE] Check digital footprint…
      [04.06.2023 13:32.40.676] [LOG] [GA] [DATA] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
      [04.06.2023 13:32.40.682] [LOG] [GA] [DATA] Google Assistant is initialized.
      [04.06.2023 13:32.47.413] [LOG] [GATEWAY] [LIB] All libraries loaded!
      [04.06.2023 13:32.47.415] [LOG] [GATEWAY] Detected: MMM-GoogleAssistant
      [04.06.2023 13:32.47.426] [ERROR] [GATEWAY] Error: You can’t use ‘0.0.0.0’ in MagicMirror address config
      [04.06.2023 13:32.47.441] [LOG] [GA] [SECURE] Happy use !
      [04.06.2023 13:32.47.442] [INFO] Checking git for module: MMM-GoogleAssistant
      [04.06.2023 13:32.47.482] [INFO] Checking git for module: Gateway
      [04.06.2023 13:32.47.542] [INFO] Checking git for module: EXT-Detector
      [04.06.2023 13:32.47.585] [INFO] Checking git for module: MagicMirror
      [04.06.2023 13:32.47.995] [INFO] Newsfeed-Fetcher: Broadcasting 200 items.
      [04.06.2023 13:32.49.860] [INFO] Calendar-Fetcher: Broadcasting 408 events.
      [04.06.2023 13:33.15.871] [LOG] Shutting down server…
      [04.06.2023 13:33.15.872] [LOG] Stopping module helper: updatenotification
      [04.06.2023 13:33.15.872] [LOG] Stopping module helper: calendar
      [04.06.2023 13:33.15.872] [LOG] Stopping module helper: newsfeed
      [04.06.2023 13:33.15.873] [LOG] Stopping module helper: MMM-GoogleAssistant
      [04.06.2023 13:33.15.873] [LOG] Stopping module helper: Gateway
      [04.06.2023 13:33.15.873] [LOG] Stopping module helper: EXT-Detector
      [04.06.2023 13:33.15.874] [LOG] Node_helpers stopped …

      Here is the config:
      {
      module: “MMM-GoogleAssistant”,
      configDeepMerge: true,
      config: {
      assistantConfig: {
      latitude: 00.0000, # I wrote the right coordinates in the real config.js
      longitude: 00.0000,
      },
      }
      },
      {
      module: ‘Gateway’,
      config: {
      debug: false,
      username: “pi”,
      password: “1234”,
      usePM2: false,
      PM2Id: 0,
      CLIENT_ID: null
      }
      },
      {
      module: “EXT-Detector”,
      position: “top_left”,
      config: {
      debug: false,
      useIcon: false,
      touchOnly: false,
      porcupineAccessKey: “mycodehere”, # i wrote the right key in the real config.js
      porcupineCustomModel: null,
      detectors: [
      {
      detector: “Snowboy”,
      Model: “jarvis”,
      Sensitivity: null
      },
      {
      detector: “Porcupine”,
      Model: “ok google”,
      Sensitivity: null
      },
      {
      detector: “Porcupine”,
      Model: “hey google”,
      Sensitivity: null
      }
      ]
      }
      },
      ]
      };

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        yes… it’s cool but do you read your log really before posting !?
        there is no error, sure ???

        My place in France Top committers of Github:
        committers.top badge

        1 Reply Last reply Reply Quote 0
        • bugsounet
          bugsounet Main Coder last edited by bugsounet

          [04.06.2023 13:32.47.426] [ERROR] [GATEWAY] Error: You can’t use ‘0.0.0.0’ in MagicMirror address config

          Gateway v3.3.4 Release notes

          wiki says this too

          My place in France Top committers of Github:
          committers.top badge

          1 Reply Last reply Reply Quote 0
          • T
            thefuryfox last edited by

            My God, that was the problem! Yes, sorry, I was inattentive, but it’s just that I did not update the code and ran it for the first time, then the Google assistant worked. But then when I updated the modules, everything stopped working. In addition, he was just starting to create Magic Mirror. Thanks again 🙂

            1 Reply Last reply Reply Quote 0
            • bugsounet
              bugsounet Main Coder last edited by

              all changes of MMM-GoogleAssistant and EXTs (plugins) are available there

              Solved: New Release sended to Public
              UnSolved: under developement

              My place in France Top committers of Github:
              committers.top badge

              1 Reply Last reply Reply Quote 0
              • undefined  T thefuryfox 
              • First post
                Last post
              Powered by NodeBB | @bugsounet ©2023