• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-GoogleAssistant : Jarvis don't listen my calls !

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 953 Views 2 Watching
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 Offline
    Tom_LabHIdouille
    last edited by Feb 24, 2021, 1:08 PM

    Hi everyone,

    I’m novice on Magic Mirror, but i’m definitively in love with this project. I have some issues trying to install MMM-GoogleAssistant on my mirror.

    All of the installation run well, until I launch the MM application. I try to call Jarvis, but I don’t receive any answer.

    When I check my devices, audio and microphone are running well.

    Here is a copy of my config :

    {
      module: "MMM-GoogleAssistant",
      //position: "fullscreen_above",
      position: "middle_center",
      config: {
        debug: false,
        assistantConfig: {
          lang: "fr-FR",
          projectId: "", // Required to use gaction.
          modelId: "", // (OPTIONAL for gaction)
          instanceId: "", // (OPTIONAL for gaction)
          latitude: 51.508530,
          longitude: -0.076132,
        },
        responseConfig: {
          useScreenOutput: true,
          screenOutputCSS: "screen_output.css",
          screenOutputTimer: 5000,
          screenRotate: true,
          activateDelay: 250,
          useAudioOutput: true,
          useChime: true,
          newChime: false,
          useNative: false,
          playProgram: "mpg321"
        },
        micConfig: { // put there configuration generated by auto-installer
          recorder: "arecord",
          device: "plughw:2",
    	//device: "hw:<2>,<0>",
        },
        snowboy: {
          useSnowboy: true,
          usePMDL: false,
          audioGain: 2.0,
          Frontend: true,
          Model: "Alexa",
          Sensitivity: 1
        },
        A2DServer: {
          useA2D: false,
          stopCommand: "stop",
          useYouTube: false,
          youtubeCommand: "youtube",
          displayResponse: true
        },
        recipes: [ "with-MMM-TelegramBot.js" ],
        NPMCheck: {
          useChecker: true,
          delay: 10 * 60 * 1000,
          useAlert: true
        }
      }
    },
    

    And then the results of my aplay and a record commands :

    **** Liste des Périphériques Matériels PLAYBACK ****
    carte 0: b1 [bcm2835 HDMI 1], périphérique 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
      Sous-périphériques: 4/4
      Sous-périphérique #0: subdevice #0
      Sous-périphérique #1: subdevice #1
      Sous-périphérique #2: subdevice #2
      Sous-périphérique #3: subdevice #3
    carte 1: Headphones [bcm2835 Headphones], périphérique 0: bcm2835 Headphones [bcm2835 Headphones]
      Sous-périphériques: 4/4
      Sous-périphérique #0: subdevice #0
      Sous-périphérique #1: subdevice #1
      Sous-périphérique #2: subdevice #2
      Sous-périphérique #3: subdevice #3
    
    
    **** Liste des Périphériques Matériels CAPTURE ****
    carte 2: AK5371 [AK5371], périphérique 0: USB Audio [USB Audio]
      Sous-périphériques: 1/1
      Sous-périphérique #0: subdevice #0
    
    

    Do you see anything that could be the cause the cause of my problem? I’m not sure of the mic name in the micConfig …

    Thanks a lot !

    Tom

    C 1 Reply Last reply Feb 26, 2021, 1:10 AM Reply Quote 0
    • C Offline
      crazylegs @Tom_LabHIdouille
      last edited by Feb 26, 2021, 1:10 AM

      @tom_labhidouille In your micConfig block you have:

      device: “plughw:2”,

      I think you could try this instead:

      device: “plughw:2,0”,

      T 1 Reply Last reply Feb 26, 2021, 7:56 AM Reply Quote 0
      • T Offline
        Tom_LabHIdouille @crazylegs
        last edited by Tom_LabHIdouille Feb 26, 2021, 7:57 AM Feb 26, 2021, 7:56 AM

        @crazylegs Hello crazylegs, thanks for your help, i try this way !

        Up : It doesn’t work anymore.

        When I launch a mic test in the console, the microphone works perfectly.

        How can I know if the module is working ? I mean, if nothing happens when I say the magic word, it might be beacause the module is not working, instead of the microphone ?

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy