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.9k 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 A Former User

      hi, google-assistant module is not installed.

      try this:

      cd ~/MagicMirror/modules/MMM-AssistantMk2
      npm install
      

      and execute electron rebuild :)

      1 Reply Last reply Reply Quote 0
      • N Offline
        nakedrabbit
        last edited by

        Yes, that seems obvious, but I did, in fact, follow the installation instructions, so I’m not sure why I have this error message either… left over from an aborted earlier attempt?

        In addition I took out Hotword and used your fine snowboy addon. Exactly the same effect, so I must have something wrong with my general setup… still testing…

        Thanks for your patience!

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

          @nakedrabbit : oupss, i have not seen your post :(
          maybe your problem is now solved…

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

            MMM-AssisantMk2 v3.1.1-1

            3.1.1-1 (05/03/2020)

            • BUG: correct audio cutting response for mpg321 (test)
            • ADD: add cvlc audio out support (vlc using)

            3.1.1-0 (02/03/2020)

            • ADD: add new function for addons-recipe (socketExec, onSocketExec)
            • BUG: continous conversation bug - infinite loop on no user response
            • BUG: double chimed on TRANSCRIPTION_FAILS retry
            • ADD: ability to set no chime on activate assistant
            • ADD: touching the keyword “try to say” activates the assistant for the suggested search (Fullscreen and Classic2 ui)
            • ADD: ASSISTANT_WEB server for activate with keyword
            • MOTIFY : search KEYWORD/ TRYTOSAY translation script to improve performance
            • BUG: correct screen parser log

            Assistant2Display v1.0.0

            addons of AMk2 to display result links and photos of assistant search

            credits:

            • @Sean
            • @bugsounet

            Addons repository updated

            see addon repository for more information ;)

            Good assistant to you !

            @bugsounet, @Sean

            SergeS 1 Reply Last reply Reply Quote 0
            • SergeS Offline
              Serge @Guest
              last edited by

              @Bugsounet said in MMM-AssistantMk2 (v3):

              MMM-AssisantMk2 v3.1.1-1

              Excellent updates!
              @Bugsounet could you please explain in a few words the functionality of these two features:

              • ADD: ASSISTANT_WEB server for activate with keyword
              • MOTIFY : search KEYWORD/ TRYTOSAY translation script to improve performance

              I have looked briefly on module’s wiki and did not found what do they mean.

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

                @Serge said in MMM-AssistantMk2 (v3):

                ASSISTANT_WEB server

                internal server to activate assistant with http://127.0.0.1:8080/activatebytext/?query='your request'
                it’s used in Fullscreen ui for touch help response screen word to active assistant with it

                KEYWORD/ TRYTOSAY

                script to search and store
                try to say... translation
                keyword is help word if found

                it’s used in Classic 2 ui

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

                  MMM-AssisantMk2 v3.1.1-2

                  3.1.1-2 (06/03/2020)

                  • ADD/MODIFY: ui: "Fullscreen"
                    • position: "fullscreen_above" is now ui like Google Home
                  • MODIFY: user interface priority order Assistant2Display -> AMk2
                  • ADD: move native sound to class
                  SergeS A 2 Replies Last reply Reply Quote 0
                  • SergeS Offline
                    Serge @Guest
                    last edited by

                    @Bugsounet got it. thanx for quick reply. will test shortly

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      athavanraja @Guest
                      last edited by

                      @Bugsounet Hi I am on version 3.0.2 and trying to update to latest version.
                      Running npm run update at ~/MagicMirror/modules/MMM-AssistantMk2 gives the following error message

                      pi@raspberrypi:~/MagicMirror/modules/MMM-AssistantMk2 $ npm run update
                      npm ERR! missing script: update

                      npm ERR! A complete log of this run can be found in:
                      npm ERR! /home/pi/.npm/_logs/2020-03-15T18_41_39_806Z-debug.log

                      Any help is highly appreciated.

                      Thanks.

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

                        hi, write update script since v3.1.X ;)

                        so, retry with this:

                        cd ~/MagicMirror/modules/MMM-AssistantMk2
                        git pull
                        npm run update
                        

                        it should work ;)
                        notes :

                        • install all new needed dependencies
                        • skip GCC check
                        • Electron rebuild step is not needed
                        • Audio check is not needed too

                        If you have some problems for updating, or if don’t work, i will help you ;)

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          athavanraja @Guest
                          last edited by

                          @Bugsounet Thank you very much. Updated to 3.1.1-2 All working fine.

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            amsuvarna27
                            last edited by

                            Can anyone share me image file of Magic mirror back up with Voice recognition and face recognition

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

                              MMM-AssistantMk2 v3.2.1

                              NEW UPDATES

                              3.2.1 (16/04/2020)

                              • FIX: Send A2D response only on no hooked response
                              • FIX: repository change owner
                              • ADD: preprared recipe with-radio_fr.js recipe for A2D Radio (FR Only)
                              • ADD: npm run rebuild -> REFRESH installation on MagicMirror version change

                              3.2.0 (09/04/2020)

                              • ADD: Chinese_simplified translate (thx to @wlmqpsc)
                              • ADD: ability to play personnal sound on recipes soundExec command (see wiki)
                              • FIX: no fade in animation on first use in Fullscreen ui
                              • DEL: full addon code and cleanning
                              • ADD: add control if A2D used

                              3.1.2 (17/03/2020)

                              • FIX: No sound response issue when custom action is used.
                              • FIX: correct youtube search link.
                              • ADD: Add A2D stop command (beta)
                              1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User
                                last edited by

                                we are now in v3.2.2 because i detect a problem in installation (package conflict and solved)

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

                                  using the latest module + MMM-Hotword and everything works exept controling MMM-Spotify by voice.I use the prepared recipe for it ,MMM-Spotify is showing whatever is playing allright but no voice command is working. My config:

                                  {
                                                         module: "MMM-AssistantMk2",
                                                         position: "top_left",
                                                         config: {
                                                                  ui: "Classic",
                                                                  assistantConfig: {
                                  						  projectId: "kitchen-tv-d4c48", // Required to use gaction.
                                                                                    modelId: "kitchen-tv", // (OPTIONAL for gaction)
                                                                                    instanceId: "kitchen-tv", // (OPTIONAL for gaction)
                                                                                    latitude: 37.975342,
                                                                                    longitude: 23.736151,
                                                                                   },
                                                                              micConfig: {
                                                                              recorder: "arecord",
                                  			                    device: "plughw:1"
                                                                             },
                                                                            recipes: [ "with-MMM-Hotword.js", "Reboot-Restart-Shutdown.js", "with-MMM-Spotify.js" ],
                                                                            profiles: {
                                  					   "default": {
                                                                                         profileFile: "default.json",
                                                                                         lang: "en-US"
                                                                                        }
                                  					  },
                                                                              useA2D: false,
                                                                 }
                                                  },
                                  		{
                                                          module: "MMM-Hotword",
                                                          position: "bottom_left",
                                                          config: {
                                                          useDisplay: false,
                                                          chimeOnFinish: null,
                                                          recipes: ["with-AMk2v3_Jarvis.js"],
                                                          mic: {
                                  			recordProgram: "arecord",
                                                          device: "plughw:1",
                                                               },
                                                                  },
                                                  },
                                  {
                                  			module: "MMM-Spotify",
                                                          position: "top_right",
                                  			config: {
                                  				 style: "mini", // "default" or "mini" available
                                                                   control: "hidden", //"default", "hidden" available
                                                                   updateInterval: 1000,
                                                                   onStart: null, // disable onStart feature with `null`
                                                                   allowDevices: [], //If you want to limit devices to display info, use this.
                                                                   // allowDevices: ["RASPOTIFY", "My iPhoneX", "My Home speaker"],
                                                                  }
                                                  },
                                  ? A 2 Replies Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User @costascontis
                                    last edited by

                                    @costascontis : MMM-Spotify and recipes have an issue @eouia will solve it soon.
                                    I can’t inspect it, because I have no premium account

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

                                      @Bugsounet said in MMM-AssistantMk2 (v3):

                                      @costascontis : MMM-Spotify and recipes have an issue @eouia will solve it soon.
                                      I can’t inspect it, because I have no premium account

                                      oh!!! need to have premium account on spotify to work?i dont…

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

                                        @costascontis

                                        You should be a premium member of Spotify

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

                                          @Sean said in MMM-AssistantMk2 (v3):

                                          @costascontis

                                          You should be a premium member of Spotify

                                          so as a free member on Spotify i can use MMM-Spotify to see what is playing but i can not control it by voice?

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

                                            @costascontis said in MMM-AssistantMk2 (v3):

                                            so as a free member on Spotify i can use MMM-Spotify to see what is playing but i can not control it by voice?

                                            Hmmm. I didn’t test. but there is a possibility not to use any feature (Because some API’s are tied together, so I’m not sure)

                                            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
                                            • 7
                                            • 3 / 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