• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 54.0k 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.
  • N Offline
    numb3rs
    last edited by Jan 2, 2019, 2:45 AM

    Wow this is a great tutorial, and video. I am going to add this to my mirror. Can I ask where you got your USB mic and speaker combo from?

    I especially liked how you showed the troubleshooting, and corrections in your video. So many people edit out the hurdles. Kudos to you my friend! A++

    1 Reply Last reply Reply Quote 0
    • L Offline
      leej00
      last edited by Jan 3, 2019, 9:53 PM

      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 Jan 9, 2019, 11:30 PM Reply Quote 0
      • B Offline
        bachoo786 @leej00
        last edited by lavolp3 Mar 10, 2020, 1:54 PM Jan 9, 2019, 11:30 PM

        @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 Jan 13, 2019, 3:53 AM Jan 13, 2019, 3:36 AM

          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 Jan 13, 2019, 5:39 AM Jan 13, 2019, 3:58 AM

            @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 Jan 13, 2019, 4:42 AM Jan 13, 2019, 4:16 AM

              @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 Jan 16, 2019, 9:40 PM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • F Offline
                  Fabian @makepluscode
                  last edited by Mar 9, 2019, 3:48 PM

                  @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 Mar 21, 2019, 9:12 PM Reply Quote 0
                  • S Offline
                    Sahil @Fabian
                    last edited by Mar 21, 2019, 9:12 PM

                    @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 Apr 5, 2019, 11:12 PM

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