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.

    Start or not...?

    Scheduled Pinned Locked Moved General Discussion
    44 Posts 4 Posters 32.9k Views 4 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.
    • E Offline
      Egnos
      last edited by

      Hello everyone and happy new year!
      I returned the “Sonoff 4ch pro r2” because it was not for me!

      During the Christmas holidays I started the installation of the Magic Mirror with all its modules.
      These days I’m trying to install the module MMM-Assistantmk2 but I did not understand how to activate the assistant with my voice.
      In the configuration of MMM-Assistantmk2 module I did not find a way to insert a watchword to wake up the Assistant.

      Can you help me?
      Do you need to install modules like “MMM-Hotword” and “MMM-NotificationTrigger”?

      Thanks guys.

      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @Egnos
        last edited by

        @egnos
        MMM-Hotword is needed if you want to activate it with voice hotword.

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          Egnos @Guest
          last edited by

          @sean said in Start or not...?:

          @egnos
          MMM-Hotword is needed if you want to activate it with voice hotword.

          Thanks Sean!
          So if I only install the module “MMM-assistantmk2” how can I use it?
          So if I only install the module “MMM-assistantmk2” I can not do anything … correct?

          My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @Egnos
            last edited by A Former User

            @egnos
            You can activate it with touching or clicking icon (If you have a touchable/clickable input method like touchscreen or mouse).
            Or You might have another input method like H/W button, or anything else. You can activate with other module which can emit notification. (Yes, Even default calendar module can activate this)
            I wanted to make this universal.

            1 Reply Last reply Reply Quote 0
            • E Offline
              Egnos
              last edited by Egnos

              How can I activate it with the H / W keys?
              Only for test…

              @sean said in Start or not...?:

              You can activate with other module which can emit notification. (Yes, Even default calendar module can activate this)

              This function be done directly with “MMM-assistantmk2” or should I always install “MMM-Hotword”?

              My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

              ? 1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @Egnos
                last edited by

                @egnos function itself is included. But activating that function with hotword needs MMM-Hotword.

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Egnos
                  last edited by

                  @sean said in Start or not...?:

                  @egnos function itself is included. But activating that function with hotword needs MMM-Hotword.

                  Ok, so I have to install MMM-Hotword.
                  Thanks

                  My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Egnos
                    last edited by Egnos

                    @sean I have some question on MMM-assistantmk2, MMM-Hotword and MMM-pages (or another module that creates multiple pages recommended by you…).

                    • MMM-assistantmk2: this module also speak Italian?

                    • MMM-Hotword: can I also use hot words in Italian?
                      Or can I use only the English hot words shown in the configuration file?

                    customizable notification trigger
                        notifications: {
                          PAUSE: "HOTWORD_PAUSE",
                          RESUME: "HOTWORD_RESUME",
                          LISTENING : "HOTWORD_LISTENING",
                          SLEEPING : "HOTWORD_SLEEPING",
                          ERROR : "HOTWORD_ERROR",
                    
                    • MMM-pages (we accept advice…:winking_face: ): It is possible, through MMM-assistantmk2 or MMM-Hotword, to change page maybe saying: “Magic Mirror surveillance page or Magic Mirror multimedia page …”?
                      If yes, how?

                    Thanks.

                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                    ? 1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @Egnos
                      last edited by A Former User

                      @egnos

                      MMM-assistantmk2: this module also speak Italian?

                      If you set your profile to it-IT, it would.

                      MMM-Hotword: can I also use hot words in Italian?
                      Or can I use only the English hot words shown in the configuration file?

                      MMM-Hotword(snowboy) can’t understand the language itself. It just will match the pattern of your voice with defined models. So, that is not configurable. However you can create your custom private hotword model(.pmdl) and use it. See the Snowboy website. (http://kitt.ai)

                      MMM-pages (we accept advice…😉 ): It is possible, through MMM-assistantmk2 or MMM-Hotword, to change page maybe saying: “Magic Mirror surveillance page or Magic Mirror multimedia page …”?

                      First; You have to make gAction or transcriptionHook . Here is a sample for transcriptionHook

                      transcriptionHook: {
                        "MY_HOOK_FOR_PAGE_2": {
                          pattern: "change to page 2", 
                          command: "PAGE_2",
                        },
                      },
                      

                      Then, you need to make a command to change page like this;

                      command: {
                        "PAGE_2" : {
                          notificationExec: {
                            notification: "PAGE_CHANGED",
                            payload: 2,
                          },
                        },
                      },
                      

                      This is just sample, not tested. Read the instruction documents in repository.

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        Egnos @Guest
                        last edited by

                        @sean said in Start or not...?:

                        MMM-Hotword(snowboy) can’t understand the language itself. It just will match the pattern of your voice with defined models. So, that is not configurable. However you can create your custom private hotword model(.pmdl) and use it. See the Snowboy website. (http://kitt.ai)

                        Ok, so I can substitute the words in English with those in Italian, changing in this way:

                        customizable notification trigger
                            notifications: {
                              PAUSE: "HOTWORD_PAUSA",
                              RESUME: "HOTWORD_RIPRENDI",
                              LISTENING : "HOTWORD_ASCOLTA",
                              SLEEPING : "HOTWORD_DORMI",
                              ERROR : "HOTWORD_ERRORE",
                        

                        @sean said in Start or not...?:

                        First; You have to make gAction or transcriptionHook . Here is a sample for transcriptionHook

                        What is the difference between gAction and transcriptionHook?

                        The code you wrote should be put under the module MMM-assistantmk2, MMM-Hotword or MMM-pages?

                        Is the MMM-pages module suitable for my needs or another module is better?

                        Thanks and sorry for the 1000 questions!!!

                        My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                        ? 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 3 / 5
                        • 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