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-AssistantMk2

    Scheduled Pinned Locked Moved Unsolved Requests
    16 Posts 3 Posters 5.8k Views 2 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.
    • ChrisC Offline
      Chris
      last edited by

      Hello,

      You must install the MMM-Youtube module for this to work and add it to the config file in the MMM-AssistantMk2 module:

      recipes: [
             "MMM-with-Hotword.js", "with-MMM-Youtube.js"
           ],
      

      Regards,

      1 Reply Last reply Reply Quote 0
      • L Offline
        ludacriss57
        last edited by

        thank you !

        it works.

        well I have a problem, how do we control it by voice?

        stop youtube it doesn’t work, it’s looking for an application that doesn’t exist.

        1 Reply Last reply Reply Quote 0
        • ChrisC Offline
          Chris
          last edited by

          Hello,

          Consult the module wiki.

          In the prepared recipes tab, it says:

          with-MMM-Youtube.js
          Youtube links detector. If a link with youtube is detected, the video is displayed.
          Youtube playlist detector
          You can also use youtube keyword to force search
          Vocal Control to stop video (modify pattern in your prefered language)
          Mute volune on assistant query
          known bugs : on Fullscreen ui, video is stopped when assistant activate
          

          Regards,

          1 Reply Last reply Reply Quote 0
          • L Offline
            ludacriss57
            last edited by

            I’m sorry but there I am lost.

            I am French, I put in:

            module: “MMM-YouTube”,
            hl: “fr”,

            but i still don’t know what to say to the wizard to stop reading.

            I also put in:

            module: “MMM-AssistantMk2”

            recipes: [“with-MMM-Hotword.js”, “with-MMM-Youtube.js”],

            am I good until then?

            ChrisC 2 Replies Last reply Reply Quote 0
            • L Offline
              ludacriss57
              last edited by

              Where can I find the command list for the FR language?

              1 Reply Last reply Reply Quote 0
              • ChrisC Offline
                Chris @ludacriss57
                last edited by

                @ludacriss57 said in MMM-AssistantMk2:

                I’m sorry but there I am lost.

                I am French, I put in:

                module: “MMM-YouTube”,
                hl: “fr”,

                but i still don’t know what to say to the wizard to stop reading.

                Hello,
                Strangely, I did not need to put it in French for youtube to work.

                To stop it, I just say SmartMirror.

                I also try to say “stop the video” but it doesn’t work.

                Maybe if Sean or Bugsounet goes through there, they can explain the procedure to us.

                @ludacriss57 said in MMM-AssistantMk2:

                module: “MMM-AssistantMk2”

                recipes: [“with-MMM-Hotword.js”, “with-MMM-Youtube.js”],

                am I good until then?

                Yes, that’s what I put in my configuration and it works.

                Regards

                1 Reply Last reply Reply Quote 0
                • L Offline
                  ludacriss57
                  last edited by

                  In fact I feel like my problem is more complicated than that.

                  if I deactivate MMM-Hotword and put MMM-AssistantMk2 back in normal voice mode (without recipe), it is impossible to trigger the assistant with “ok google”.

                  as if he couldn’t hear me on MMM-AssistantMk2 but he heard me on MMM-HOTWORD.

                  and actually at the install I had errors when I configure the microphone.

                  but why does it work with hotword?

                  I can not place orders from youtube by hotword?

                  thank you

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    ludacriss57
                    last edited by sdetweil

                    here is my config file on the interesting part

                    {
                      module: "MMM-AssistantMk2",
                      position: "top_center",
                      config: {
                        ui: "Classic",
                        assistantConfig: {
                        latitude: *****,
                        longitude: *****,
                        },
                    responseConfig: {
                          useScreenOutput: true,
                          useAudioOutput: true,
                          useChime: true,
                          timer: 5000,
                          myMagicWord: false
                        },
                       micConfig: { // put there configuration generated by auto-installer
                         recorder: "arecord",
                         device: "plughw:1",
                       },
                    recipes: [ "with-MMM-Hotword.js", "with-MMM-Youtube.js", "Reboot-Restart-Shutdown.js" ],
                    profiles: {
                          "default": {
                            profileFile: "default.json",
                            lang: "fr-FR",
                    
                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      ludacriss57
                      last edited by

                      module: "MMM-Hotword",
                      position: "bottom_left",
                      config: {
                        useDisplay: false,
                        chimeOnFinish: null,
                        recipes: ["with-AMk2v3-noisy_Jarvis.js"],
                        mic: {
                          recordProgram: "arecord",
                          device: "plughw:1",
                      
                      M 1 Reply Last reply Reply Quote 0
                      • L Offline
                        ludacriss57
                        last edited by sdetweil

                          module: "MMM-YouTube",
                          position: "bottom_center",
                          config: {
                            verbose:true,
                            defaultQuality: "default",
                            disableCC: true,
                            showPlayingOnly: true,
                            defaultLoop: false,
                            defaultShuffle: false,
                            defaultAutoplay: true,
                            onStartPlay: null,
                            playerVars: {
                              controls: 0,
                              hl: "fr",
                              enablejsapi: 1,
                              showinfo: 0,
                              rel: 0,
                              cc_load_policy: 0,
                        
                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          meusprojetoskali @ludacriss57
                          last edited by

                          @ludacriss57 I have the same problem, everything works fine, but does not respond to the STOP VIDEO, PAUSE VIDEO commands …
                          If you can solve it, please tell us what the solution was.

                          1 Reply Last reply Reply Quote 0
                          • L Offline
                            ludacriss57
                            last edited by

                            did you happen triggered the google assistant without mmm-hotword?

                            does it respond to “ok google”?

                            I already have a problem there. it does not respond to the recipe of mmm-assisantmk2.

                            ChrisC 1 Reply Last reply Reply Quote 0
                            • ChrisC Offline
                              Chris @ludacriss57
                              last edited by

                              @ludacriss57
                              Hello,

                              I don’t think MMM-AssistantMK2 can work without MMM-Hotword.

                              See my exchange with Sean on this subject.

                              Regards,

                              1 Reply Last reply Reply Quote 0
                              • ChrisC Offline
                                Chris @ludacriss57
                                last edited by

                                @ludacriss57 said in MMM-AssistantMk2:

                                Where can I find the command list for the FR language?

                                Hello,

                                Sean just gave the answer to your problem here,

                                Regards,

                                1 Reply Last reply Reply Quote 0
                                • L Offline
                                  ludacriss57
                                  last edited by

                                  Thank you for the link

                                  1 Reply Last reply Reply Quote 0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • 1 / 1
                                  • 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