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.
    • ? 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
                  • ? Offline
                    A Former User @Egnos
                    last edited by A Former User

                    @egnos

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

                    No, you SHOULD NOT do that modification. Those values are used for system communication between modules. Those are not related with user language or user experience. If you are not developer, you don’t need to touch them.

                    What is the difference between gAction and transcriptionHook?

                    gAction is small application or conversation set on Assistant. It is harder to create, but give natural experience to user.
                    transcriptionHook is just little trick to catch some pattern from your vocal query when you order to Assistant. If some pattern be found when you say something, my module will execute defined command instead original response of Assistant. It’s easier to handle (comparing with gAction)

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

                    MMM-AssistantMk2. Read the instruction on github repository. (CONFIGURATION and USAGE documents)

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

                      Sorry guys i need your help again!
                      I had to reinstall raspbian due to a module that did not work.
                      Before formatting the SD, I backed up the MagicMirror folder.
                      Question: can I copy the folders with the old modules (Mmm-assistantmk2, MMM-Pages, etc…) in the new MagicMirror installation?

                      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

                        @egnos
                        Some modules could be copied. But some modules couldn’t. They needs new installation for dependencies.

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