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 (v3)

    Scheduled Pinned Locked Moved System
    135 Posts 27 Posters 84.8k Views 25 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
      last edited by

      MMM-AssistantMk2 (v3)

      Preview Video

      Screenshot

      What is updated

      • Fully rebuild from scratch.
      • More stable.
      • Installer is served. (For Raspbian or any Debian-based Linux)
      • Annoying audio output dependencies are deprecated. Simply using standard HTML5 audio output.
      • plugin and responseHook are added.
      • screen output is more controllable.
      • customizable UI.
      • pre-built recipes are served.
      • Easier custom action managing.

      Last Tested

      • MagicMirror : 2.10.0
      • RPI 3B+ / raspbian 10 /nodeJS v10.17.0 / npm 6.13.2
      • MacOS Catalina 10.15.2 / MacBookPro 2017 15" / nodeJS v11.12.0 / npm v6.9.0
      • debian 10 / nodeJS v10.18.0 / npm v6.13.4

      Credits

      • Author :
        • eouia (@Sean)
        • bugsounet(@Bugsounet)
      • License : MIT
        • By terms of Google Assistant SDK, You are not allowed to use or provide this module for commercial purpose.

      [card:eouia/MMM-AssistantMk2]

      D M A B 4 Replies Last reply Reply Quote 4
      • D Offline
        dvbit @Guest
        last edited by

        @Sean Just installed.
        Everything seemed to go fine with the new installer (great!).
        However after installing I have no screen feedback.
        I have activated debug and everything seems fine though (no major error message).
        Too late to test voice in home cannot say if the assistnt itself works.
        What could it be due to?

        I have ported/copied from previous install the profile and credentials file.

        [23:40:28.380] [LOG]    [HOTWORD] begins.
        [23:40:28.381] [LOG]    [HOTWORD] Detector starts listening.
        [23:40:28.408] [LOG]    [NEWS] Initialized.
        [23:40:28.417] [LOG]    Transportation fetcher for station with id 'xxx' created.
        [23:40:28.592] [LOG]    [AMK2] MMM-AssistantMk2 Version: 3.0.0
        [23:40:28.594] [LOG]    [AMK2] RECIPE_LOADED: with-MMM-Hotword.js
        [23:40:28.595] [LOG]    [AMK2] NO_ACTION_TO_MANAGE
        [23:40:28.610] [LOG]    [AMK2] AssistantMk2 v3 is initialized.
        [23:40:28.627] [LOG]    [AMK2] tmp directory is now cleaned.
        [23:40:28.639] [LOG]    [RCREPO] Repository scanning...
        [23:40:29.501] [LOG]    [RCREPO] modules.json is updated.
        [23:40:29.611] [LOG]    [NEWS] Articles are aggregated :  20
        ^C[23:42:12.626] [LOG]    [SIGINT] Received. Shutting down server...
        
        ? 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @dvbit
          last edited by

          @dvbit
          Show me your configs. And MMM-Hotword should be updated also.(git pull enough)

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

            Hello,

            First of all, thank you both for this wonderful work.

            I have a question that may seem silly, but is it mandatory to install MMM-Hotword with this module in order to trigger the wizard?

            Regards,

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

              @Chris
              If you want to use MMM-Hotword as a trigger to activate this module, MMM-Hotword would be needed.
              However, you can use another module as an activator that can detect your trigger and can emit some notification(customizable or not).
              For example, You can use MMM-Clap instead of MMM-Hotword. In this case, you can activate this MMM-AssistantMk2 with a finger-snap instead of speaking hotword.

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

                Thank you for your reply,
                I thought that to trigger it, we could simply say “ok google” if we did not want to customize the keyword (Jarvis, Smartmirror …) using MMM-hotword.
                Regards,

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

                  @Chris
                  Unfortunately Ok Google(or any other hotword trigger detection) is not included in Google Assistant SDK itself by Google. That is why MMM-Hotword be needed.

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

                    @Chris
                    Or you can make a version of ALWAYS LISTENING & ALWAYS REACTING FOR ANY VOICE, but I can bet nobody wants it. That is why trigger be needed.

                    ChrisC J 2 Replies Last reply Reply Quote 0
                    • ChrisC Offline
                      Chris @Guest
                      last edited by

                      I usually use Gassistpi which is not implemented in MagicMirror.

                      This reacted to Ok Google. That is why I thought it worked similarly.

                      Thank you for this additional information,

                      I will take the test this weekend

                      Regards,

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

                        @Chris
                        GassistPi might use Assistant SDK Library (Python) - Which has been deprecated by Google, so it could not be supported anymore. It had embedded hotword detector in the Library, but not included in SDK itself directly. Anyway, that is deprecated so we cannot use it anymore.

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

                          @Sean sorry was a DUMB mistake from my side.
                          works FLAWLESSLY and it’s incredible the progress made.
                          Thanks !!

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            dvbit
                            last edited by

                            About Hotword: have you tried Porcupine? seems to be very good

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

                              hi, what is Porcupine ?

                              @bugsounet

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

                                @Bugsounet
                                He said this; https://github.com/Picovoice/porcupine
                                Once I looked inside that. Maybe someday I could try it. Not guarantee. :D

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  dvbit
                                  last edited by

                                  Video

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    dvbit
                                    last edited by

                                    @Bugsounet I enabled magicwords.
                                    Since I am Italian I looked under your iftt accounts for Italian but I could not find.
                                    I understand it is WIP.
                                    If you need help with the language (I don’t think but anyway I ask) please get in touch.

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

                                      At this moment, only French and English is enabled. I will update scripts for other supported language very soon !

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

                                        Humm… I will try this week end ;)

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

                                          @dvbit I have updated myMagicWord and post all supported language script
                                          see wiki myMagicWord

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

                                            @Sean Thanks for your fantastic Assistant! I tried to install it with your new installer, but I failed to set up the correct speaker. It did not find my 3.5mm Jack speaker. How can I use the Jack output instead of usb?

                                            ? 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
                                            • 7
                                            • 1 / 7
                                            • 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