MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

MMM-Hotword


  • Module Developer

    MMM-Hotword

    A hotword speech detector to make a voice commander or an awakener for other module.
    snowboy is embedded with pure javascript without python in this module thus fully integrated into MagicMirror.

    Screenshot

    This module works in the background, so there is no screenshot.

    Usage

    • This module is listening to your speech all the time and is able to catch predefined-voice hotwords(.umdl or `.pmdl) spoken. Then, it can emit some notifications for your other modules.

    Download

    Tested

    • RPI 3 & ATB tested (serveronly & kiosk mode also)
    • MagicMirror 2.4.1
    • node.js 8.9.x & 10.x
    • (Due to ES6) In RPI zero, won’t work.


  • Excellent! I can finally get my mirror to respond to a particular swear word. It’s a literary reference. Honest.



  • @bhepler said in MMM-Hotword:

    Excellent! I can finally get my mirror to respond to a particular swear word. It’s a literary reference. Honest.

    HAHAHAHA Nice…



  • Great job @Sean!!



  • @Sean Will you are again the man to ask about my last predicament!!
    It is regarding MMM-Hotword … i have AlexaPi installed independently of Magic Mirror on the same Rpi and i want to install MMM-Voice as well but they are conflicting over microphone resources how can i use them both with either 1 ore 2 USB mics ( i have 2 mics if it’s easier) but don’t know how to configure them to be used by the 2 programs - 1 each. Will MMM-Hotword be able to achieve that i want to do use Alexa and Voice module on the same mirror.
    Again please point me to the right direction.
    Denis


  • Module Developer

    @richland007
    First, I haven’t been using AlexaPi and MMM-Voice.
    With short glance, It seems different mic could be assigned to AlexaPi and MMM-Voice separately.
    (See the AlexaPi and MMM-Voice Configuration.)
    But I don’t know whether it would work or not.
    And I’m not sure MMM-Hotword would do that. Because AlexaPi is out of MM. So, It is not controllable by MM. You should use another mic or even another RPI.
    I think, The better way of voice controlling with Alexa is to use Alexa Skill, - like MirrorMirrorOnTheWall



  • @Sean
    ah great thought I already seen I alexa module that receives the messages. I guess thats a lot better (and easier) solution than running two voice recognitions. he also has a quite good docu on how to set up the whole alexa skill stuff 👍



  • Oh dang i did not see the MirrorMirrorOnTheWall module…let me see how difficult is to implement that and i will bother you again LOL 🙂
    thank you guys @Sean



  • is there anyway to integrate hotword with xscreensaver so i can blank the screen at 10 minutes and it pops back on whenever i say the hotword to the mirror ?


  • Module Developer

    @themc
    I think possible.
    With MMM-notficationTrigger, you can override HOTWORD_DETECTED notification to any notification for any other modules.
    So, If you have some module which can awake screen (I don’t know whether really that kind of module exists), it is possible.
    If it doesn’t exist, hmmm. you might be able to fork this repository and modify it for that purpose.