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 System
    421 Posts 61 Posters 632.3k Views 57 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 @citizendevpi
      last edited by

      @citizendevpi @reddyman
      I’ll check it as soon as possible.

      W 1 Reply Last reply Reply Quote 0
      • W Offline
        wearable9083 @Guest
        last edited by wearable9083

        @sean
        Thank you always for your complete modules.
        I have some questions about YouTube. The YouTube video screen is always full. Is there a way to reduce the size of a pop-up window?
        And one more thing: can’t I stop or give another command while watching the video?

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

          @wearable9083
          For Resizing Video Player; add this into your css/custom.css and adjust the values;

          #ASSISTANT_YOUTUBE {
            position:fixed;
            top:20px;
            left:20px;
            width:400px;
            height:300px;
          }
          

          And you can stop playing video by hotword waking with option pauseOnYoutube:false.

          W 1 Reply Last reply Reply Quote 1
          • W Offline
            wearable9083 @Guest
            last edited by

            @sean
            Thank you very much for your kind answer.
            But, ;(
            Detects hotword during video playback and stops video, but then fails to perform any of the following commands…

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

              @wearable9083 If you failed, just try again. I think it might be caused by some lack of resource performance but that might not be the fatal problem. Or, Did you mean AssistantMk2 not working after youtube playing?

              W 1 Reply Last reply Reply Quote 1
              • W Offline
                wearable9083 @Guest
                last edited by

                @sean
                After assistant-mk2 has detected hotword, no voice command has been recognized. (during video playback)
                .
                .
                [Voice commands are well recognized when the video is played through without stop.]

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

                  @wearable9083
                  Only after closing video, you can order to assistant.
                  If command be allowed during video playing, Assistant will be activated by sounds of video. So during playing, Assistant is disabled.

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    wearable9083 @Guest
                    last edited by

                    @sean
                    Thank you so much. ♥♥
                    I’ll make the most of the information you’ve given me. Thank you. :)
                    Have a nice day!

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      costascontis
                      last edited by costascontis

                      @Sean at last got MMM-AssistantMk2 up and running with MMM-Hotword.I have only one little problem,when i ask something i lose the first word of the answer.It is like hdmi sound channel is down and needs 1 sec to wake so i cant hear the first word of the answer.I add to /boot/config.txt the line “force_hdmi_open=1” but didnt help.At my standalone raspberry google assistant installation i had the same problem and this line solved it,but not here…

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

                        @costascontis
                        Sorry, I have no idea about it. Maybe my module would close HDMI when it doesn’t be needed. (Standalone version could open HDMI continuously by force, because there is no need to close for other’s occupation)

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          costascontis @Guest
                          last edited by costascontis

                          @sean it is very annoying not to listen the first word or missing the half of it,do you have an idea to keep hdmi on all the time?
                          edit: if i use the .asoundrc file of my other gassistant i have no delay but the voice is choppy.

                          pcm.dsnooper {
                              type dsnoop
                              ipc_key 816357492
                              ipc_key_add_uid 0
                              ipc_perm 0666
                              slave {
                                  pcm "hw:1,0"
                                  channels 1
                              }
                          }
                          
                          pcm.!default {
                                  type asym
                                  playback.pcm {
                                          type plug
                                          slave.pcm "hw:0,1"
                                  }
                                  capture.pcm {
                                          type plug
                                          slave.pcm "dsnooper"
                                  }
                          }
                          

                          if i use the default .asoundrc the voice is clear but with a start delay

                          pcm.!default {
                          	type hw
                          	card 0
                          }
                          
                          ctl.!default {
                          	type hw
                          	card 0
                          }
                          

                          with the first .asoundrc delayless file all other sounds at the Rpi are playback just fine ,only the MMM-AssistantMk2 voice is grainy and choppy… : (

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

                            @costascontis
                            But in that case, Other modules cannot use speaker-out. I rather recommend to use other speaker instead HDMI.

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              costascontis
                              last edited by

                              yes i understand,i just think that is a MMM-AssistantMk2 's problem because when i trigger MMM-Hotword it makes a ding sound to show that its listening and that sound i can always hear it so hdmi is awake ,then i make a request to MMM-AssistantMk2 and when it answers i cant hear the first word or the first letters of it anyway…

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

                                Hello

                                how can MMM-AssistantMk2 start a webradio stream ? i tell the Assistant to play radio 1live. Respone is “OK” but nothing will come up.
                                I say "show me a picture from a Dog . Respone “OK” but nothing comes up.

                                BTW : Great Module !

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

                                  @lowis
                                  Those features are allowed to REAL GOOGLE HOME devices at this moment. I hope somedays it could be allowed to Assistant SDK.

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

                                    But a something like your youtube search and playing Should be possible for a webradio

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

                                      @lowis Youtube features are added by myself with Youtube API.

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

                                        @Sean Yes i know. Great work ! Maybe it could expand with a webradio directory like shoutcast.com

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          Jmh474
                                          last edited by Jmh474

                                          I’m guessing that this question has been asked quite a few times so I’m sorry for the repeat.

                                          I’ve got my mirror up and running using latest resabian, MagicMirror2, modules MMM-AssistantMk2 and MMM-HOTWORD.
                                          Adding more modules soon just taking a step at a time as I’m a total beginner.

                                          Seems to be running OK apart from the Google Assistant, its running so slow when asking questions and waiting for replies, and I don’t get voice response back just like a humming sound (I’m guessing this is when Google is answering), I know sound and mic are working as I can her myself talk when testing the mic.

                                          Also what is the best setup for mic and speakers in using a USB sound card
                                          Mic is just standard 3.5mm jack type
                                          Speakers are running through a separate amp after the sound card.

                                          One more this is there a way to add an Led for when the Google Assistant is listening??

                                          Sorry for the long post I’m just so close

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

                                            @jmh474
                                            For slow speed, I have no idea about it. Maybe it is related with your network status. Usually others have no problem about speed.
                                            I think, it is not about speed. You just couldn’t get the response with some reason.
                                            Test like this;

                                            • Stop the pm2 (If you are using)
                                            • Execute MM with npm start dev on MagicMirror directory.
                                            • See what happens on terminal shell.
                                              There could be errors or some useful messages to examine.
                                            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
                                            • 2
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 21
                                            • 22
                                            • 11 / 22
                                            • 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