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

Issue with Google assistant

Scheduled Pinned Locked Moved Solved Troubleshooting
2 Posts 1 Posters 609 Views 1 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.
  • T Offline
    tontonchow
    last edited by tontonchow Feb 8, 2020, 3:35 PM Feb 8, 2020, 3:33 PM

    Hi

    I’m trying to add google assistant to magicmirror on my pi3B but i’ve got some issue

    MagicMirror 2.10.1
    MMM-AssistantMK2 3…1.0-3
    MMM-Hotword 2.1.0

    Everyting seems to be ok but, when i say “smart mirror” it open google assistant mk 2, but assistant don’t hear my voice…

    after timeout, smartmirror don’t going back to “start listening”

    [16:28:01.266] [LOG]    [AMK2] MMM-AssistantMk2 Version: 3.1.0-3
    [16:28:01.311] [LOG]    [AMK2] AssistantMk2 is initialized.
    [16:28:01.396] [LOG]    [HOTWORD] begins.
    [16:28:01.401] [LOG]    [HOTWORD] Detector starts listening.
    [16:28:32.646] [LOG]    [HOTWORD] Detected: smart_mirror
    [16:28:32.649] [LOG]    [HOTWORD] stops.
    [16:28:32.657] [LOG]    [HOTWORD] Final Result: { detected: true, hotword: 'smart_mirror', file: null }
    [2379:0208/162859.202485:ERROR:CONSOLE(22)] "Empty response arrived for script 'chrome-devtools://devtools/remote/serve_file/@164c37e3f2351fgdfgdfgfdfgdgfdgdfdgf00/accessibility/accessibility_module.js'", source: chrome-devtools://devtools/bundled/shell.js (22)
    [2379:0208/162859.202857:ERROR:CONSOLE(106)] "Uncaught (in promise) Error: Could not instantiate: Accessibility.AccessibilitySidebarView", source: chrome-devtools://devtools/bundled/shell.js (106)
    

    Here is my config.js module part

    				{
    						module: "MMM-Hotword",
    						position: "top_right",
    						config: {
    							chimeOnFinish: null,
    							mic: {
    								recordProgram: "arecord",
    								device: "plughw:1"
    							},
    							models: [
    								{
    									hotwords    : "smart_mirror",
    									file        : "smart_mirror.umdl",
    									sensitivity : "0.5",
    								},
    							],
    							commands: {
    								"smart_mirror": {
    									notificationExec: {
    										notification: "ASSISTANT_ACTIVATE",
    										payload: (detected, afterRecord) => {
    											return {profile:"default"}
    										}
    									},
    									restart:false,
    									afterRecordLimit:0
    								}
    							}
    						}
    					},
    					{
    						module: "MMM-AssistantMk2",
    						position: "top_right",
    						config: {
    							deviceLocation: {
    								coordinates: {
    									latitude: xxxxxxxxxxxxxxxx, // -90.0 - +90.0
    									longitude: xxxxxxxxxxxxxxx, // -180.0 - +180.0
    								},
    							},
    							record: {
    								recordProgram : "arecord",  
    								device        : "plughw:1",
    							},
    							notifications: {
    								ASSISTANT_ACTIVATED: "HOTWORD_PAUSE",
    								ASSISTANT_DEACTIVATED: "HOTWORD_RESUME",
    							},
    							useWelcomeMessage: "",
    							profiles: {
    								"default" : {
    									lang: "fr-FR"
    								}
    							},
    						}
    					},				
    
    

    Could you please help me to find my mistake ?

    1 Reply Last reply Reply Quote 0
    • T Offline
      tontonchow
      last edited by Feb 8, 2020, 5:35 PM

      forget it, just see that mk2 config file change
      Now my last issue is to set google in french :D

      1 Reply Last reply Reply Quote -1
      • 1 / 1
      1 / 1
      • First post
        1/2
        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