• 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.5k 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 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
                • S Offline
                  siddhartha
                  last edited by Aug 13, 2019, 9:47 AM

                  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
                  • O Offline
                    otto
                    last edited by Aug 26, 2019, 10:41 AM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      otto @makepluscode
                      last edited by Aug 26, 2019, 11:37 AM

                      @makepluscode
                      https://pastebin.com/cBFMG7ak

                      i got this… what sholde i do?

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