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.

    The latest Install Guide (MM w/ Google Assistant)

    Scheduled Pinned Locked Moved Troubleshooting
    63 Posts 25 Posters 67.8k Views 28 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 @Ayos53
      last edited by A Former User

      @Ayos53
      read this
      https://github.com/eouia/MMM-AssistantMk2/tree/master#some-more-troubleshooting

      first part of “some more troubleshooting”

      1 Reply Last reply Reply Quote 0
      • A Offline
        Ayos53 @sdetweil
        last edited by

        @sdetweil
        Its ok now i follow this post :
        https://github.com/eouia/MMM-AssistantMk2/issues/231

        Now the mirror start without error.
        I have a new problem : the assistant not respond when i say “jarvis”
        but if i click on the logo, it’s ok.
        Problem with Hotword ?

        1 Reply Last reply Reply Quote 0
        • J Offline
          jims
          last edited by

          Hello ! I have a problem with this topic haha I install all in my magic mirror, but I don’t have a icon google assistant on my screen…
          Everythings is ok until step 7. I test with the command “node auth_and_test.js” and it’s okay. I don’t understand why I don’t have icon google on my screen…
          Can you help me please? how can I check ?
          Sorry for my english, I’m french :P

          			module: "MMM-Hotword",
          			config: {
          				record: {
          					recordProgram : "arecord",  
          					device        : "plughw:1"
          				},
          				autostart:true,
          				onDetected: {
          					notification: (payload) => {
          					return "ASSISTANT_ACTIVATE"
          					},
          					payload: (payload) => {
          						return {
          						  profile: payload.hotword
          						}
          					}
          				},
          			},
          		},
          		{
          			module: "MMM-AssistantMk2",
          			position: "bottom_bar",
          			config: {
          				deviceLocation: {
          					coordinates: { // set the latitude and longitude of the device to get localized information like weather or time. (ref. mygeoposition.com)
          					latitude: 45.5662672, // -90.0 - +90.0
          					longitude: 5.9203636, // -180.0 - +180.0
          					},
          				},
          				record: {
          					recordProgram : "arecord",  
          					device        : "plughw:1",
          				},
          				notifications: {
          					ASSISTANT_ACTIVATED: "HOTWORD_PAUSE",
          					ASSISTANT_DEACTIVATED: "HOTWORD_RESUME",
          				},
          				useWelcomeMessage: "brief today",
          				profiles: {
          					"default" : {
          						lang: "en-US"
          					}
          				},
          			}
          		},
          
          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @jims
            last edited by A Former User

            @jims
            You are using V2 configuration. It was updated recently to V3. Read the docs of MMM-Hotword and MMM-AssistantMk2.

            J K 2 Replies Last reply Reply Quote 0
            • J Offline
              jims @Guest
              last edited by

              @Sean said in The latest Install Guide (MM w/ Google Assistant):

              MMM-Hotword

              Ok thanks for your reply. So I have to install Hotword and AssistantMk2 in V3. I have to remove the older before ?
              Thanks!

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

                @jims
                For AMK2, backup your credentials.json and profiles. Then, remove old one, reinstall freshly. (Don’t worry, It becomes easier with new installer)
                For Hotword, I think git pull would be enough, but if you want, reinstall freshly.

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jims @Guest
                  last edited by

                  @Sean Thanks! I test and I will tell you if everithings it’s okay!

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

                    Hi Huys, I am trying to follow this guide however I have trouble finding some of the folders after the install.

                    In Step 5: The path ~/MagicMirror/modules/MMM-Hotword/node_modules/snowboy does not exist. I found Snowboy in ~/MagicMirror/modules/MMM-Hotword/snowboy instead.

                    In Step 5 after installing the assistant, I cannot find the folder scripts in ~/MagicMirror/modules/MMM-AssistantMk2 to make them executable.

                    Does anyone have an idea why that could be? I am running the latest Rasbian Buster distribution.

                    Best Regards
                    MilkShake

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

                      @MilkShake
                      MM and modules are changed often. So In some cases; following original instruction would be another way.

                      For MMM-Hotword and MMM-AssistantMk2, It was updated recently… (almost 1~2 months ago). Go to each repository, Read the docs, and follow the instruction to install.

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

                        @Sean Ok, Thank you dude. I will put more effort into it :)

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jims
                          last edited by

                          @Sean Hi Sean. At the moment, i have time to test google assistant haha So, I update Hotword and Assistant Mk2 in V3. But, it doesn’t work… I don’t have the icon google assistant on my screen…
                          Can you help me please ?

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

                            @jims
                            Change your configuration. probably you are using old ones for both modules.

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              jims @Guest
                              last edited by

                              @Sean
                              I use this, but I don’t know if it’s okay

                              			{
                              			module: "MMM-Hotword",
                              			config: {
                              				record: {
                              					recordProgram : "arecord",  
                              					device        : "plughw:1"
                              				},
                              				autostart:true,
                              				onDetected: {
                              					notification: (payload) => {
                              					return "ASSISTANT_ACTIVATE"
                              					},
                              					payload: (payload) => {
                              						return {
                              						  profile: payload.hotword
                              						}
                              					}
                              				},
                              			},
                              		},
                              			{
                              			  module: "MMM-AssistantMk2",
                              			  position: "fullscreen_above",
                              			  config: {
                              				ui: "Fullscreen",
                              				assistantConfig: {
                              				  latitude: 45.56667,
                              				  longitude: 5.93333,
                              				},
                              				micConfig: { // put there configuration generated by auto-installer
                              				  recorder: "arecord",
                              				  device: "plughw:1",
                              				},
                              				recipes: [ "with-MMM-Hotword.js" ],
                              				profiles: {
                              				  "default": {
                              					profileFile: "default.json",
                              					lang: "en-US"
                              				  }
                              				},
                              				addons: false,
                              			  }
                              			},
                              
                              ? 1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User @jims
                                last edited by

                                @jims
                                I said both modules. :) Reconfigure Hotword also. Follow the instructions of wiki. (There might be for V3 configuration sample somewhere)

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

                                  @Sean sorry
                                  ok thanks. But I use this url :
                                  https://github.com/eouia/MMM-AssistantMk2/blob/7406bac00cfed1d1b9783ab2b11b7c54fc515cc9/documents/config_sample.md

                                  and now, google assistant it’s ok when i said “smartmirror”
                                  BUT , a google accunt window open to put the google projet and the google window give me a connexion key.
                                  But, I already do this step before, with node auth_and_test.js and I don’t understand…

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    jims @Guest
                                    last edited by

                                    @Sean everythings it s ok! it s work! just renew the credentiel and the key :)

                                    1 Reply Last reply Reply Quote 0
                                    • H Offline
                                      HaveFunToLearn
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        dish67
                                        last edited by

                                        I went to test auth_and_test.js
                                        pi@MagicMirror:~/MagicMirror/modules/MMM-AssistantMk2 $ node auth_and_test.js
                                        Opening OAuth URL. Return here with your code.
                                        Paste your code:

                                        How // where can I get my code
                                        I close my google page and re-open my google page and can not see
                                        to Accept the client verification process etc…

                                        do you have solution

                                        thank you

                                        1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          karthik.nandam @Guest
                                          last edited by

                                          @Sean

                                          I’ve a same problem post installing the Assistant MK2 i dont see audio bar.

                                          I’m tring to locate the docusments to install Hotword and MK2 but couldn’t, is it possible for you to share the link to find the documents please

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

                                            @makepluscode said in The latest Install Guide (MM w/ Google Assistant):

                                            mv token.json ./profiles/default.json

                                            Nice post, im having a few issues finding directories like this. Do I create it if I cant find it?
                                            mv token.json ./profiles/default.json

                                            S 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
                                            • 2 / 4
                                            • 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