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 630.8k 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 @cola0927
      last edited by A Former User

      @cola0927
      Or most of those cases are caused by your mic setup. Check your configuration whether record.device has a proper name. (If your mic is default device, leave that field as null but when your mic has another name like plughw:1, set that field with it.

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

        @sean After I changed the device name in both MMM-AssistantMk2 and MMM-Hotword, the module worked partially. I had to hit microphone icon to let its start listen to me, but that was a one-time response.
        0_1538019668172_屏幕快照 2018-09-26 下午10.21.38.png
        Do you have any idea what the problem is? Thank you so much.

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

          @cola0927
          Show me your configuration related with MMM-NotificationTrigger. I think MMM-NotificationTrigger cannot relay the connection between Hotword and Assistant.

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

            @sean I used the one that you told me previously in config.js with a default MMM-NotificationTrigger.js

            {
                                    module: "MMM-NotificationTrigger",
                                    config: {
                                      triggers:[
                                        {
                                          trigger: "HOTWORD_DETECTED",
                                          fires: [
                                            {
                                              fire:"HOTWORD_PAUSE",
            
                                            },
                                            {
                                              fire:"ASSISTANT_ACTIVATE",
            		                  delay: 200,
                                              payload: function(payload) {
                                                return {
                                                  "profile": payload.hotword
                                                }
                                              }
                                            },
                                          ]
                                        },
                                        {
                                          trigger: "ASSISTANT_DEACTIVATED",
                                          fires: [
                                            {
                                              fire:"HOTWORD_RESUME"
                                            }
                                          ]
                                       },
                                     ]
                                   }
            
                            },
            
            1 Reply Last reply Reply Quote 0
            • T Offline
              teitlebot
              last edited by

              @cola0927 what word are you using for wakeup? Try snowboy.

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                cola0927 @teitlebot
                last edited by

                @teitlebot Yes, I tried. It showed that hotword had deteted my voice but then stopped listening instead of waking up assistant. I agree with @Sean that the problem is notification trigger is not working properly. Unfortunately I have no idea how to correct it.

                ? 1 Reply Last reply Reply Quote 0
                • SubLim3S Offline
                  SubLim3
                  last edited by

                  So I have been working on my mirror for a few weeks now and so far the MMM-AssistantMk2 module is the only thing I cant seem to get working. As mentioned in a number of previous post, when I apply the default module setup in the config.js and restart, I get an all black screen and nothing is responsive. I can SSH into the config.js and comment out the 5 lines for that module, reboot and all is good again. I have removed and rebuild the module with no errors and no new results.

                  Has anyone found the cause behind this and how to resolve? I do have Hotword and NotificationTrigger modules running with no problem. Let me know if I need to drop an image file or some log files for further help. I’m truly stumped here. Any help would be greatly appreciated. Thanks in advanced.

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    teitlebot @SubLim3
                    last edited by

                    @sublim3 I dont know if there is a fix for this but thats why many of us are running in serveronly mode

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

                      @cola0927 @SubLim3
                      Well, sorry for the inconvenience. Your configuration looks no problem. The easy way to fix could be to test some suspicious points and log it, but it might need some experiences.

                      Do you have Telegram? I can help you with it in real-time. my Telegram ID is “@eouia”. Give me a chat anytime.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mirror.master @Guest
                        last edited by

                        @sean Yes sir! Thank you! Updated everything to stretch and got my mkassistant to run! my next dilemma was linking hotword and notrigger but i gave up, make just make a physical button to click the mic, now on to those tutorials lol wherever they may be.

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          teitlebot
                          last edited by

                          @Sean Any suggestions of integration facial recognition to the magic mirror?

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

                            @teitlebot said in MMM-AssistantMk2 & MMM-GAction:

                            @Sean Any suggestions of integration facial recognition to the magic mirror?

                            I made this module to work with other modules by NotificationTrigger. So Another Facial recognition module could activate AssistantMK2 if there is a proper notification broadcasting. There is no need to implement that function in AssistantMk2 itself.

                            T 1 Reply Last reply Reply Quote 0
                            • T Offline
                              teitlebot @Guest
                              last edited by

                              @sean Thank You. Some more learning on my part. I plan on installing
                              https://github.com/paviro/MMM-Facial-Recognition and will report back here.

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                teitlebot
                                last edited by

                                For those interested, I upgraded from a tiny usb mic to a playstation eye and had much improvement on voice recognition.

                                C 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  mirror.master
                                  last edited by

                                  Hey guys any idea why my Google assistant won’t go back to sleep after use? It’s honestly recent, and weird. I can use it as normal, but the Mic stays blue after the fact and doesn’t turn off.

                                  1 Reply Last reply Reply Quote 0
                                  • V Offline
                                    vijayrraut @Guest
                                    last edited by

                                    Hello @sean , I am also looking for a “ding” sound on hotword detection, but no luck. Did you get a chance to add this feature to assistantmk2. It would be of great help when talking to the mirror from far distance.

                                    ? 2 Replies Last reply Reply Quote 0
                                    • ? Offline
                                      A Former User @vijayrraut
                                      last edited by

                                      @vijayrraut
                                      I’ll consider it.

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

                                        @vijayrraut
                                        Ver 1.1.0 is ready. (not yet merged into master branch)
                                        You can use ding sound on 1.1.0. It will be my pleasure if you test this for me.
                                        https://github.com/eouia/MMM-AssistantMk2/tree/1.1.0

                                        T V 2 Replies Last reply Reply Quote 0
                                        • T Offline
                                          teitlebot @Guest
                                          last edited by

                                          @sean I’ll give it a try. How do I install something that isnt in the master branch?

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

                                            @teitlebot

                                            sudo apt-get install mpg321
                                            cd ~/MagicMirror/modules/MMM-AssistantMk2
                                            git pull
                                            git checkout 1.1.0
                                            npm install --save wav
                                            
                                            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
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 21
                                            • 22
                                            • 12 / 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