• 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-Assistantmk2 and MMM-Hotword not picking up

Scheduled Pinned Locked Moved Unsolved Troubleshooting
54 Posts 9 Posters 26.8k Views 9 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.
  • J Offline
    jmartin1009 @ejay-ibm
    last edited by Mar 4, 2019, 11:31 PM

    @ejay-ibm also is there anyway to change the gain or whatever? I went to alsamixer and went to the capture section and the bar doesn’t move or anything when I speak into my mic. Not sure if anything is supposed to happen but it says both L and R capture are the 100, not sure what that means.

    S 1 Reply Last reply Mar 5, 2019, 1:35 PM Reply Quote 0
    • J Offline
      jmartin1009
      last edited by Mar 4, 2019, 11:33 PM

      @ejay-ibm I also changed it so the sauce wasn’t there and I made it so it said plughw:1 in all of them, but still nothing

      1 Reply Last reply Reply Quote 0
      • E Offline
        ejay-ibm Project Sponsor Module Developer
        last edited by Mar 5, 2019, 9:52 AM

        This is my MMM-Hotword config.js part :

        {
              module: "MMM-Hotword",
              config: {
                snowboy: [
                  /*	{
        						"hotwords": "smartmirror",
        						"file": "resources/models/smart_mirror.umdl",
        						"sensitivity": "0.5"
        					},
        
        */
                  {
                    hotwords: "alexa",
                    file: "resources/models/alexa.umdl",
                    sensitivity: "0.6"
                  },
        
                  {
                    file: "resources/models/jarvis.umdl",
                    sensitivity: "0.6,0.60",
                    hotwords: ["jarvis", "jarvis"]
                  }
                ],
                record: {
                  sampleRate: 16000,
                  threshold: 0.5,
                  thresholdStart: null,
                  thresholdEnd: null,
                  silence: 1,
                  verbose: false,
                  recordProgram: "arecord",
                  device: "plughw:1"
                },
                autostart: true,
                autorestart: true,
                notifications: {
                  PAUSE: "HOTWORD_PAUSE",
                  RESUME: "HOTWORD_RESUME",
                  LISTENING: "HOTWORD_LISTENING",
                  SLEEPING: "HOTWORD_SLEEPING",
                  ERROR: "HOTWORD_ERROR"
                },
                onDetected: {
                  notification: function(payload) {
                    return "ASSISTANT_ACTIVATE";
                  },
                  payload: function(payload) {
                    return {
                      profile: payload.hotword
                    };
                  }
                }
              }
            },
        

        You can give it a try .

        Ejay

        J 1 Reply Last reply Mar 5, 2019, 11:39 PM Reply Quote 0
        • S Offline
          sdetweil @jmartin1009
          last edited by Mar 5, 2019, 1:35 PM

          @jmartin1009 but, that explains no response from the modules!

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Mar 5, 2019, 11:41 PM Reply Quote 0
          • J Offline
            jmartin1009 @ejay-ibm
            last edited by Mar 5, 2019, 11:39 PM

            @ejay-ibm that is for the MM config.js right? Or is that what you have in the MMM-Hotword.js config file?

            1 Reply Last reply Reply Quote 0
            • J Offline
              jmartin1009 @sdetweil
              last edited by Mar 5, 2019, 11:41 PM

              @sdetweil What explains no response from the modules? My mic’s gain in alsamixer? if so how can i fix that? Or should i just get a new mic

              S 1 Reply Last reply Mar 6, 2019, 2:01 AM Reply Quote 0
              • S Offline
                sdetweil @jmartin1009
                last edited by Mar 6, 2019, 2:01 AM

                @jmartin1009 i would get a new mic… clearly this one is having issues… is that the array?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                J 1 Reply Last reply Mar 6, 2019, 3:11 AM Reply Quote 0
                • J Offline
                  jmartin1009 @sdetweil
                  last edited by Mar 6, 2019, 3:11 AM

                  @sdetweil yeah it’s the PS3 eye camera microphone, it has a 4 microphone array that alsamixer hates lol

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    costascontis
                    last edited by Mar 6, 2019, 5:50 AM

                    I use the ps3 eye cam mic and its working fine with hotword…

                    S 1 Reply Last reply Mar 6, 2019, 12:22 PM Reply Quote 0
                    • E Offline
                      ejay-ibm Project Sponsor Module Developer
                      last edited by Mar 6, 2019, 10:57 AM

                      install audacity and give a quick test to your mic.
                      you will know if you mic is dead

                      sudo apt-get install audacity

                      B 1 Reply Last reply Mar 8, 2019, 2:05 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 3 / 6
                      3 / 6
                      • First post
                        22/54
                        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