• 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-Hotword

Scheduled Pinned Locked Moved System
60 Posts 20 Posters 20.0k Views 17 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.
  • ? Offline
    A Former User @Cr4z33
    last edited by Nov 8, 2018, 2:12 PM

    @cr4z33
    Go to snowboy and signup (https://snowboy.kitt.ai).
    It’s better to do in your target device (Raspberry Pi)
    After login, you can see create Hotword button. click then follow instruction.
    After that, you can get your personal model (.pmdl)
    put that file into MMM-Hotword/resources then modify configuration.
    By example, you recorded and get abracadabra.pmdl,
    your configuration will be

     snowboy: [
      {
        hotwords: "abracadabra", 
        file: "resources/models/abracadabra.pmdl",
        sensitivity: '0.5',
      },
      ...
    

    Then you can catch abracadabra by your voice.

    C 1 Reply Last reply Nov 8, 2018, 2:16 PM Reply Quote 1
    • C Offline
      Cr4z33 @Guest
      last edited by Nov 8, 2018, 2:16 PM

      @sean
      Hmm that’s exactly what I did so either I am setting the wrong hotwords: word or there’s something more needed to edit?

      In my case I have recorded the hotwords ‘OK Google’ and ‘Ehi Google’ and apart from the proper file name and path I set hotwords: "okgoogle", and hotwords: "ehigoogle",.

      Also… can I use spaces into the quotes?

      ? 1 Reply Last reply Nov 8, 2018, 2:21 PM Reply Quote 0
      • ? Offline
        A Former User @Cr4z33
        last edited by A Former User Nov 8, 2018, 2:22 PM Nov 8, 2018, 2:21 PM

        @cr4z33
        See hotwords:okgoogle.
        okgoogle is a symbol for your voice. If MMM-Hotword detect your okgoogle.pmdl(is file name right?), It will return okgoogle as detection.
        Then, if you want ot use that symbol as AssistantMk2 profile name to activate, modify configuration of MMM-AssistantMk2 like this.

        defaultProfile: "okgoogle",
        profiles: {
           "okgoogle" : {
                profileFile: "default.json",
                lang: "en-US",
        ...
        

        So, received “okgoogle” symbol will be used as profile name “okgoogle” with profile File “default.json”.

        C 1 Reply Last reply Nov 8, 2018, 2:23 PM Reply Quote 0
        • C Offline
          Cr4z33 @Guest
          last edited by Nov 8, 2018, 2:23 PM

          @sean
          A-ha that’s the file name then?
          That was my mistake because I named them ok_google.pmdl and ehi_google.pmdl!

          Thanks.

          1 Reply Last reply Reply Quote 0
          • C Offline
            Cr4z33
            last edited by Cr4z33 Nov 8, 2018, 4:36 PM Nov 8, 2018, 4:35 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • M Offline
              Manfred
              last edited by Manfred Nov 15, 2018, 10:35 PM Nov 15, 2018, 10:34 PM

              Hi,
              Can’t figure out why hotword detection stops on the 2nd run.
              First detection is ok and GA responds as expected. I am a bit lost - any help is much appreciated

              MagicMirror: 2.5.0
              NodeJS: 9.11.2
              npm: 6.4.1
              MMM-AssistantMk2: 2.1.0

              I am using the full detailled config from MMM-AssistantMk2

              ? 1 Reply Last reply Nov 15, 2018, 10:37 PM Reply Quote 0
              • ? Offline
                A Former User @Manfred
                last edited by Nov 15, 2018, 10:37 PM

                @manfred
                You might missed this in your MMM-AssistantMk2 configuration

                notifications: {
                ASSISTANT_ACTIVATED: “HOTWORD_PAUSE”,
                ASSISTANT_DEACTIVATED: “HOTWORD_RESUME”,
                },

                Or MMM-Hotword is not updated yet.

                M 1 Reply Last reply Nov 15, 2018, 10:43 PM Reply Quote 0
                • M Offline
                  Manfred @Guest
                  last edited by Nov 15, 2018, 10:43 PM

                  @sean Thank you very much!! That did the trick!

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    s.monti.74
                    last edited by Jan 13, 2019, 3:11 PM

                    Hi , I can’t really use this module. I Have also done a minimal config.js with only this module but the mirror starts black (totally) and I have to reboot the RaspPi (I can’t close the Mirror)
                    What can I check ?
                    I have done correctly the installation of the module
                    Please help me
                    thanks from Italy
                    0_1547392273498_4b43a938-0146-4e06-b17c-0f1bae2c4abe-image.png

                    ? 1 Reply Last reply Jan 13, 2019, 5:40 PM Reply Quote 0
                    • ? Offline
                      A Former User @s.monti.74
                      last edited by Jan 13, 2019, 5:40 PM

                      @s-monti-74
                      I need an error log to examine. I doubt you missed electron-rebuild step on installation.

                      S 1 Reply Last reply Jan 13, 2019, 7:16 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 3 / 6
                      • First post
                        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