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 61.6k 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.
    • L Offline
      leej00
      last edited by

      Thank you for the elaborate instructions, everything for me went well until I’ve noticed that the default modules (calendar, complements, news feed) seem to disappear after some time. Did you run into similar issues?

      B N 2 Replies Last reply Reply Quote 0
      • B Offline
        bachoo786 @leej00
        last edited by lavolp3

        @leej00 hello mate

        how did you configure the last part i.e.

        STEP7. EDIT GOOGLE ASSISTANT MODULE CONFIG
        Open the Magic Mirror configuration file with TextEditor and modify it with the contents of github
        

        there is soo much information on github that needs to be added on to the config.js, which part of it did you add to your config.js? can you please share it?

        I get the google icon on my mm but when I say “Ok Google” nothing happens"

        Thanks.

        1 Reply Last reply Reply Quote 1
        • N Offline
          numb3rs
          last edited by numb3rs

          A few things you can do:

          Add your location inside the config.js under the module call. You can find this info inside the CONFIGURATION.md
          i.e.
          // — ESSENTIALS / modifying for your environment might be needed.

          Use: https://www.mapdevelopers.com/geocode_tool.php

          deviceLocation: {
            coordinates: { // set the latitude and longitude of the device to get localized information like weather or time. (ref. mygeoposition.com)
              latitude: 00.0, // -90.0 - +90.0
              longitude: -00.00, // -180.0 - +180.0
            },
          },
          

          With MMM-Hotword, using USB mic (plughw:1) you need to use the following:

          //Hotword Module
          {
              module: "MMM-Hotword",
              config: {
                record: {
                  recordProgram : "arecord",  
                  device        : "plughw:1",
                },
                autostart:true,
                onDetected: {
                  notification: function (payload) {
                    return "ASSISTANT_ACTIVATE"
                  },
                  payload: function (payload){
                    return {
                      profile: payload.hotword
                    }
                  }
                },
              },
            },
          {
          		module: "MMM-AssistantMk2",
          		position: "bottom_bar",
          		config: {
          		record: {
                  recordProgram : "arecord",  
                  device        : "plughw:1",
                },
          
                notifications: {
                  ASSISTANT_ACTIVATED: "HOTWORD_PAUSE",
                  ASSISTANT_DEACTIVATED: "HOTWORD_RESUME",
                },
          deviceLocation: {
                coordinates: { // set the latitude and longitude of the device to get localized information like weather or time. (ref. mygeoposition.com)
                  latitude: 00.00, // -90.0 - +90.0
                  longitude: -00.00, // -180.0 - +180.0
                },
              },
                          
          }
          },
           
          

          It works. Thank You! I am using the PS Eye as suggested in other forms. My audio out is still set to HDMI because im staging on my TV.

          LPT: Add the following to the MK2 module config so the screens dont toggle so fast:

          screenDuration: 5000, //this is milliseconds
          
          1 Reply Last reply Reply Quote 0
          • N Offline
            numb3rs @leej00
            last edited by numb3rs

            @leej00
            Testing this now to see if I get the same results.

            @makepluscode
            Can confirm all modules disappear besides the default weather module.

            I have a YouTube playlist playing, and I can still hear the module playing through the speakers, but visually it is no longer there.

            If I give it a keyword voice command it is listening for it will draw the modules again.

            Another observation is every time I give it a voice command it starts my playlist from the top.

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

              @bachoo786 say “smart mirror” or “snowboy”

              You can also read more on the .umdl and how to obtain a custom .umdl here:
              snowboy.kitt.ai

              More particularly:
              http://docs.kitt.ai/snowboy/#api-v1-train

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

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • F Offline
                  Fabian @makepluscode
                  last edited by

                  @makepluscode
                  Hello first of all thanks for the great tutorial!
                  Unfortunately I’m stuck with the last step (installation of the microphone)
                  When I enter the command “vi ~/.asoundrc” I get the following message:
                  0_1552146497267_IMG_1216(2).JPG

                  I ask for help
                  Greeting Fabian

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    Sahil @Fabian
                    last edited by

                    @Fabian
                    Type sudo nano. asoundrc in command prompt
                    Then paste your code there.
                    To save that code press ctrl+X, then Y and then enter.
                    You are good to go

                    1 Reply Last reply Reply Quote -1
                    • D Offline
                      dxfan227
                      last edited by

                      So In Your Opinion is MMM Hotword and MMM-assistankmk2 the best combo for google assistant?

                      I see a few other modules like MMM-GoogleAssistant out there too

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        siddhartha
                        last edited by

                        pcm.!default {
                        type asym
                        capture.pcm “mic”
                        playback.pcm “speaker”
                        }
                        pcm.mic {
                        type plug
                        slave {
                        pcm “hw:1,0”
                        }
                        }
                        pcm.speaker {
                        type plug
                        slave {
                        pcm “hw:0,1”
                        }
                        }

                        This is my asoundrc conf but i want to change conf like this

                        defaults.pcm.!card
                        defaults.ctl.!card

                        screencast and google assistant both want diffrent asoundrc so any suggetions ??

                        Thank you.

                        i am noob at this so sorry in advance for dumb question…

                        Thank you for your reply 🙂

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