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.7k 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.
    • D Offline
      dvbit @ToastedToasty
      last edited by

      @toastedtoasty I think you might have forgot to configure your mail in the oauth tab in google Dev console.
      This happened to me.

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

        @dvbit You can add

        console.log("hook", k)
        

        in line 100 of node_helper.js to check whether hookstring be caught or not.

        D 1 Reply Last reply Reply Quote 2
        • D Offline
          dvbit @Guest
          last edited by

          @sean Thanks… guess what? assistant setup in my mother tongue did not catch english hook :-D

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

            @sean @JRCelis Im having the same issue with the buzz and im also using the HAT. Did you fix the issue? Is there a way to just not use the HAT I have a usb mic but Im new at the whole raspberry thing.
            Looks like a great module but im having small hickups along the way.

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

              I’ve installed MMM-AssistantMk2 with MMM-Hotword and MMM-NotificationTrigger.
              Everything works fine except for the return audio.
              It stutters and i’m getting the idea that it isn’t procest quick eneough.

              Am i the only one with this problem and if not does somebody have the solution?

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

                @markv @teitlebot
                There could be many reasons for that case.
                Maybe too many modules or too many front-end refreshing or animating, too many background process or anything else, even including internet speed.
                I cannot point specific reason at this moment.
                Anyway in my device, I use BT speaker and I have no problem about that. Sorry.

                M T 2 Replies Last reply Reply Quote 0
                • M Offline
                  MarkV @Guest
                  last edited by

                  @sean
                  Thanks for the reply.
                  I was scared of something like that. After a clean raspbian image i just installed MagicMirror and after that MMM-AssistantMK2, MMM-Hotword and MMM-TriggerNotification (with all the nmp rebuild errors). I’ve uninstalled the compleet LibreOffice and game packets wich come by default with raspbian.

                  I allready made a .asoundrc file like you can find around the internet.
                  aplay && arecord work fine without glitches.

                  Result .asoundrc

                  pcm.!default {
                    type asym
                    capture.pcm "mic"
                    playback.pcm "speaker"
                  }
                  ctl.!default {
                          type hw
                          card 0
                  }
                  pcm.mic {
                    type plug
                    slave {
                      pcm "hw:1,0"
                    }
                  }
                  pcm.speaker {
                    type plug
                    slave {
                      pcm "hw:0,0"
                      rate 18000
                    }
                  }
                  

                  Results aplay -l && arecord -l

                  pi@MagicMirror2:~ $ aplay -l
                  **** List of PLAYBACK Hardware Devices ****
                  card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
                    Subdevices: 7/7
                    Subdevice #0: subdevice #0
                    Subdevice #1: subdevice #1
                    Subdevice #2: subdevice #2
                    Subdevice #3: subdevice #3
                    Subdevice #4: subdevice #4
                    Subdevice #5: subdevice #5
                    Subdevice #6: subdevice #6
                  card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
                    Subdevices: 1/1
                    Subdevice #0: subdevice #0
                  pi@MagicMirror2:~ $ arecord -l
                  **** List of CAPTURE Hardware Devices ****
                  card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
                    Subdevices: 1/1
                    Subdevice #0: subdevice #0
                  

                  Result lsmod

                  pi@MagicMirror2:~/MagicMirror $ lsmod
                  Module                  Size  Used by
                  fuse                  106496  3
                  cfg80211              573440  0
                  rfkill                 28672  2 cfg80211
                  joydev                 20480  0
                  ads7846                20480  0
                  hwmon                  16384  1 ads7846
                  snd_bcm2835            32768  1
                  spi_bcm2835            16384  0
                  i2c_bcm2835            16384  0
                  fixed                  16384  0
                  uio_pdrv_genirq        16384  0
                  uio                    20480  1 uio_pdrv_genirq
                  evdev                  24576  8
                  snd_usb_audio         172032  0
                  snd_hwdep              16384  1 snd_usb_audio
                  snd_usbmidi_lib        32768  1 snd_usb_audio
                  snd_rawmidi            32768  1 snd_usbmidi_lib
                  snd_seq_device         16384  1 snd_rawmidi
                  snd_pcm                98304  2 snd_usb_audio,snd_bcm2835
                  snd_timer              32768  1 snd_pcm
                  snd                    69632  10 snd_hwdep,snd_usb_audio,snd_timer,snd_rawmidi,snd_usbmidi_lib,snd_seq_device,snd_bcm2835,snd_pcm
                  i2c_dev                16384  0
                  ip_tables              24576  0
                  x_tables               32768  1 ip_tables
                  ipv6                  434176  22
                  

                  What would you suggest doing now? I’m a little stuck now, due to my lack of knowledge of Linux.

                  1 Reply Last reply Reply Quote 0
                  • 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

                                            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
                                            • 21
                                            • 22
                                            • 1 / 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