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.1k 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.
    • T Offline
      teitlebot @Guest
      last edited by

      @sean What are you using for a mic?

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

        @teitlebot
        I’m using logitech usb cam currently. Before that, Ps3eye, cheap chinese usb mic were tested.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MarkV @Guest
          last edited by

          @sean @teitlebot
          i’m using a cheap chinese usb mic :grinning_face_with_smiling_eyes:

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

            just to update and help. I reinstalled everything without the AIY Google HAT and just using a usb mic and the issue of the audio choppiness went away. Still working on other issues like no kiosk mode and learning this complicated google home interface stuff but its really cool.

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

              @markv have a look at this if your mic isnt working
              https://github.com/eouia/MMM-AssistantMk2/issues/16

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

                @jomwells @Module-Developers
                Did anyone figure out how to add led or sound, like a beep to show when google is listening and speaking. I dont think I’m good enough with linux to do this without a tutorial. Is it something that needs to be implemented in the module or can i learn how to do it from a simple aiy kit?

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

                  @teitlebot
                  https://github.com/eouia/MMM-AssistantMk2#outgoing-notifications-as-assistant-response
                  Basic notifications will be emitted by its status.
                  And you can modify module for catching the status to do your specific job.
                  See https://github.com/eouia/MMM-AssistantMk2/blob/93d7eca6a3995987554d8deb4f4cd76b44e3f096/MMM-AssistantMk2.js#L264
                  In .socketNotificationReceived(), you can catch each Assistant status.

                  Anyway, I’m considering to add simple ding-dong waves for convenience in next patch.

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

                    @sean I had to leave the assistant action part of the code out because it was causing errors in my config file.

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

                      Hi, I just tried installing MMM-AssistantMk2 by following the instruction. After saving the config.js (use default configuration) nothing shows up and all I can see is a black screen but a movable mouse pointer. I can’t even quit the mirror. I have no idea what do to now, do I have to start over from the very beginning? :loudly_crying_face:
                      0_1537584347267_屏幕快照 2018-09-21 下午9.43.00.png

                      T ? 2 Replies Last reply Reply Quote 0
                      • T Offline
                        teitlebot @cola0927
                        last edited by

                        @cola0927 many of us had this issue and thats why we run it in servomode

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

                          @Module-Developers Why do you set this up as a smart TV. Why cant it be set up as a google assistant with video like the new displays they sell now?

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

                            @teitlebot oh, ok, thanks. It’s my first mirror, no relative experience before. I’ll be more careful next time.

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

                              Dying to use this module, but im stuck on node auth_and_test.js i keep getting the GLIBBCXX_3.4.21 not found error. tried the solutions found on the module page and a few others spots. but to no avail. any suggestions?

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

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

                                Hi, I just tried installing MMM-AssistantMk2 by following the instruction. After saving the config.js (use default configuration) nothing shows up and all I can see is a black screen but a movable mouse pointer. I can’t even quit the mirror. I have no idea what do to now, do I have to start over from the very beginning? :loudly_crying_face:
                                0_1537584347267_屏幕快照 2018-09-21 下午9.43.00.png

                                Show me your error logs. there could be many reasons about that symptom.

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

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

                                  @Module-Developers Why do you set this up as a smart TV. Why cant it be set up as a google assistant with video like the new displays they sell now?

                                  Is there a google assistant with video at the setup moment? Wasn’t it on my development. If it exists, go ahead sure.

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

                                    dude try a: pm2 stop mm while ssh and then check your config. you are never stranded lol

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

                                      @mirror-master said in MMM-AssistantMk2 & MMM-GAction:

                                      Dying to use this module, but im stuck on node auth_and_test.js i keep getting the GLIBBCXX_3.4.21 not found error. tried the solutions found on the module page and a few others spots. but to no avail. any suggestions?

                                      GLIBCXX problem shows your RPI doesn’t be running on Raspbian Stretch or proper dev-modules are not installed. My suggestion is… to use Stretch

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

                                        upgrading now in hopes. thanks my friend. i have several pi’s with diff versions . when i was paranoid and less exp’d i was cloning my pie config, but forgot that one was jessie , one is stretch and another is whatever the hell i installed. Im pretty sure this is the older OS. Thanks again

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

                                          @sean Keyboard input or mouse clicking had no effect, maybe because I missed the “rebuild binaries” step.

                                          So I started over again today and this time the microphone icon appeared after MMM-AssistantMk2 was installed, but couldn’t detect the voice, even after installed MMM-Hotword and MMM-NotificationTrigger.

                                          Here is my config.js, basically used default values.

                                          {
                                                                  module: "MMM-AssistantMk2",
                                                                  position: "lower_third",
                                                                  config: {
                                                                  }
                                                          },
                                                          {
                                                                  module: "MMM-Hotword",
                                                                  config: {
                                                                  }
                                                          }, 
                                                          {
                                                                  module: "MMM-NotificationTrigger",
                                                                  config: {
                                                                    triggers:[
                                                                      {
                                                                       trigger: "ASSISTANT_ACTION",
                                                                       triggerSenderFilter: (sender) => {
                                                                         console.log(sender)
                                                                         if (sender.name == 'MMM-AssistantMk2') {
                                                                           return true
                                                                         } else {
                                                                           return false
                                                                         }
                                                                        },
                                                                       triggerPayloadFilter: (payload) => {
                                                                         console.log(payload)
                                                                         return true
                                                                       },
                                                                       fires: [
                                                                         {
                                                                           fire:"SHOW_ALERT",
                                                                           payload: (payload) => {
                                                                             return {
                                                                               type: "notification",
                                                                               title: payload.type,
                                                                               message: payload.command
                                                                             }
                                                                           },
                                                                         },
                                                                       ],
                                                                     },
                                                                   ]
                                                                 }
                                          
                                                          },
                                          

                                          Could you please let me know which part(s) I should modify? Thank you!

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

                                            @cola0927
                                            Your MMM-NotificationTrigger configuration is wrong.

                                            {
                                                  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"
                                                          }
                                                        ]
                                                      },
                                                    ]
                                                  }
                                            },
                                            

                                            Try this.

                                            C 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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 21
                                            • 22
                                            • 4 / 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