MagicMirror² v2.8.0 is available! For more information about this release, check out this topic.

MMM-Assistantmk2 and MMM-Hotword not picking up



  • @ejay-ibm thanks for the quick reply.

    you have notifications in your config, what is it for? can you please explain? thanks.


  • Project Sponsor Module Developer

    @bachoo786
    The notification allows to the hotword module to receive instruction from the assistant module by notification to pause or resume itself in the right time.
    When assistant 'talk it pause the hotword detection
    ASSISTANT_ACTIVATED: “HOTWORD_PAUSE”,
    When the assistant is done it restart the hotword detection .
    ASSISTANT_DEACTIVATED: “HOTWORD_RESUME”,

    Ejay



  • The hotword module should be called outside the assistant module
    Add the brackets correctly and change and change device to plughw : 1;



  • @AdnanAhmed97 what do you mean?



  • @sdetweil @ejay-ibm well i got a new mic and i tried it out, still no detection for MMM-Hotword. It works for GoogleAssistantMk2 when i click the button on the screen, but no hotword detection. I worried that it may be because of snowboy failing to install properly the first time for some reason, so i went into the module in the console and did npm install and got this:

    pi@raspberrypi:~/MagicMirror/modules/MMM-Hotword $ npm install
    npm WARN deprecated hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version.
    npm WARN deprecated boom@2.10.1: This version is no longer maintained. Please upgrade to the latest version.
    npm WARN deprecated cryptiles@2.0.5: This version is no longer maintained. Please upgrade to the latest version.
    npm ERR! path /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy
    npm ERR! code EISGIT
    npm ERR! git /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy: Appears to be a git repo or submodule.
    npm ERR! git     /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy
    npm ERR! git Refusing to remove it. Update manually,
    npm ERR! git or move it out of the way first.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2019-03-18T22_16_00_319Z-debug.log
    
    

    any idea how i can fix this?



  • @jmartin1009 this is possible it’s saying this because it’s already there, but i wasn’t sure i figured i’d give it another go. Let me know if there’s anything i should change or try, but i know this mic does work, as it shows up in

    arecord -l
    

    and it comes up and i can select it in alsamixer and everything, just can’t get hotword to hear me.


  • Module Developer

    @jmartin1009
    rm -rf /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/.git

    Then try again