Bugsounet Coding

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    MMM-Google Assistant "désolé je n'ai pas compris"

    Issues
    2
    2
    98
    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.
    • C
      charly_dwst last edited by bugsounet

      Re: [Unable to set the default speaker](/topic/345/unable-to-set-the-default-speaker

      Bonjour, j’ai fais la mise à jours de Google assistant et depuis même avec detector impossible de poser une question a google il me dit ne pas comprendre… Il y a t’il une solution ?

      bonne soirée 🙃

      ![0_1625084004714_Capture d’écran 2021-06-30 à 22.05.34.png](Uploading 100%)

      modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: "compliments",
      			position: "lower_third"
      		},
      		{
      			module: "weather",
      			position: "top_right",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "current",
      				location: "Bailleau le Pin",
      				locationID: "3035366", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      				apiKey: "605c7d3ff0b0243011ad1cf93b32f50f"
      			}
      		},
      		{
      			module: "weather",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "forecast",
      				location: "Bailleau le Pin",
      				locationID: "3035366", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      				apiKey: "605c7d3ff0b0243011ad1cf93b32f50f"
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "Le Monde",
      						url: "https://www.lemonde.fr/rss/une.xml"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true,
      				broadcastNewsFeeds: true,
      				broadcastNewsUpdates: true
      			}
      		},
      		{
      		module: 'MMM-Screencast',
      		position: 'bottom_right', // This position is for a hidden <div /> and not the screencast window
      		config: {
      			position: 'bottomRight',
      			height: 300,
      			width: 500,
      		}
              },
      	{
      		module: "MMM-RandomYouTubePlayer", 
      		position: "top_center",	      // This can be any of the regions...
      		config: {
      		    playlistId: "PLl_KM23gznEAZW-INW8ty4QNaHH8JCnNW",     // See Configuration Options below...
      		    height: 480,
      		    width: 720,
      		    }
      		},
      		{
      		  module: "MMM-Spotify",
      		  position: "bottom_left",
      		  config: {
      		    debug: false,
      		  }
      		},
      		{
      		  module: "MMM-GoogleAssistant",
      		  position: "top_left",
      		  configDeepMerge: true,
      		  config: {
      		    debug: true,
      		    assistantConfig: {
      			  lang: "fr-FR",
      			  latitude: 51.508530,
      			  longitude: 1.330496,
      			},
      		    responseConfig: {
      			  useFullscreen: false,
      			  useResponseOutput: true,
      			  responseOutputCSS: "response_output.css",
      			  screenOutputTimer: 5000,
      			  activateDelay: 250,
      			  useAudioOutput: true,
      			  useChime: true,
      			  confirmationChime: true,
      			  useInformations: true
      		    },
      		    micConfig: {
      			 recorder: "arecord",
      			device: "plughw:1",
      			},
      		    Extented: {
      		      useEXT: false,
      		      youtube: {
      			  useYoutube: true,
      			  youtubeCommand: "youtube",
      			  displayResponse: true,
      			  useVLC: false,
      			  minVolume: 30,
      			  maxVolume: 100
      			},
      		      links: {
      			useLinks: true,
      			displayDelay: 60 * 1000,
      			scrollActivate: false,
      			scrollStep: 25,
      			scrollInterval: 1000,
      			scrollStart: 5000
      				},
      		      photos: {},
      		      volume: {},
      		      welcome: {},
      		      screen: {},
      		      touch: {},
      		      pir: {},
      		      governor: {},
      		      internet: {
      		  useInternet: true,
      		  displayPing: false,
      		  delay: 2* 60 * 1000,
      		  scan: "google.fr",
      		  command: "pm2 restart 0",
      		  showAlert: true,
      		  needRestart: false
      		},
      			cast: {
      			useCast: false,
      			port: 8569
      			},
      		      spotify: {
      			useSpotify: true,
      			visual: {
      			  updateInterval: 1000,
      			  idleInterval: 10000,
      			  useBottomBar: false,
      			  CLIENT_ID: "5xxxxxxxxxxxxxxxxxxxdef",
      			  CLIENT_SECRET: "0xxxxxxxxxxxxxxxxxxxxxx2e",
      			},
      			player: {}
      		      },
      		    },
      		    recipes: [],
      		    NPMCheck: {}
      		  }
      		},
      		{
      		  module: "MMM-Detector",
      		  position: "top_left",
      		  configDeepMerge: true,
      		  config: {
      		    debug: false,
      		    autoStart: true,
      		    useLogos: true,
      		    micConfig: {
      		      recorder: "auto",
      		      device: "default",
      		      // only for snowboy:
      		      audioGain: 2.0,
      		      applyFrontend: true // When you use only `snowboy` and `smart_mirror`, `false` is better. But with other models, `true` is better.
      		    },
      		    newLogos: {
      		      default: "default.png"
      		    },
      		    detectors: [
      		      {
      			detector: "Snowboy",
      			Model: "jarvis",
      			Sensitivity: null,
      			Logo: "google",
      			autoRestart: false,
      			onDetected: {
      			  notification: "GA_ACTIVATE"
      			}
      		      },
      		      {
      			detector: "Snowboy",
      			Model: "alexa",
      			Sensitivity: null,
      			Logo: "alexa",
      			autoRestart: false,
      			onDetected: {
      			  notification: "ALEXA_ACTIVATE"
      			}
      		      },
      		      {
      			detector: "Porcupine",
      			Model: "ok google",
      			Sensitivity: null,
      			Logo: "google",
      			autoRestart: false,
      			onDetected: {
      			  notification: "GA_ACTIVATE"
      			}
      		      },
      		      {
      			detector: "Porcupine",
      			Model: "hey google",
      			Sensitivity: null,
      			Logo: "google",
      			autoRestart: false,
      			onDetected: {
      			  notification: "GA_ACTIVATE"
      			}
      		      }
      		    ],
      		    NPMCheck: {
      		      useChecker: true,
      		      delay: 10 * 60 * 1000,
      		      useAlert: true
      		    }
      		  }
      		},
      				{
      			module: "MMM-VoiceAssistant",
      			position: "bottom_right",
      			config: {
      					maxWidht: "100%",
      					header: "Voice Assistant",
      					updateDelay:500
           				}
      		},
      		{
      			  module: "MMM-Assistant2Display",
      			  configDeepMerge: true,
      			  position: "top_left",
      			  config: {
      				debug:false,
      				youtube: {
      				  useYoutube: true,
      				  useVLC: true,
      				  minVolume: 30,
      				  maxVolume: 100
      				},
      				links: {
      				  useLinks: false,
      				  displayDelay: 60 * 1000,
      				  scrollStep: 25,
      				  scrollInterval: 1000,
      				  scrollStart: 5000,
      				  scrollActivate: false,
      				  verbose: false
      				},
      				photos: {
      				  usePhotos: true,
      				  displayDelay: 10 * 1000
      				},
      				volume: {
      				  useVolume: false,
      				  volumePreset: "ALSA",
      				  myScript: null
      				},
      				briefToday: {
      				  useBriefToday: false,
      				  welcome: "brief Today"
      				},
      				screen: {
      				  useScreen: false,
      				  delay: 5 * 60 * 1000,
      				  turnOffDisplay: true,
      				  mode: 1,
      				  ecoMode: true,
      				  displayCounter: true,
      				  displayBar: false,
      				  displayStyle: "Text",
      				  text: "Auto Turn Off Screen:",
      				  detectorSleeping: false,
      				  governorSleeping: false,
      				  displayLastPresence: true,
      				  LastPresenceText: "Last Presence:",
      				  delayed: 0
      				},
      				touch: {
      				  useTouch: false,
      				  mode: 3
      				},
      				pir: {
      				  usePir: false,
      				  gpio: 21,
      				  reverseValue: false
      				},
      				governor: {
      				  useGovernor: false,
      				  sleeping: "powersave",
      				  working: "ondemand"
      				},
      				internet: {
      				  useInternet: true,
      				  displayPing: false,
      				  delay: 2* 60 * 1000,
      				  scan: "google.fr",
      				  command: "pm2 restart 0",
      				  showAlert: true
      				},
      				cast: {
      				  useCast: true,
      				  castName: "MagicMirror_A2D",
      				  port: 8569
      				},
      				spotify: {
      				  useSpotify: true,
      				  useBottomBar: false,
      				  useLibrespot: true,
      				  connectTo: null,
      				  playDelay: 3000,
      				  minVolume: 10,
      				  maxVolume: 100,
      				  updateInterval: 1000,
      				  idleInterval: 10000,
      				  username: "charly.dewost@gmail.com",
      				  password: "xxxxxxxxxxxxxxxxxxxx",
      				  CLIENT_ID: "5e3xxxxxxxxxxxxxxxxxef",
      				  CLIENT_SECRET: "0xxxxxxxxxxxxxxxxxxxx2e",
      				  deviceDisplay: "Listening on",
      				  usePause: true,
      				  typeArtist: "artist",
      				  typePlaylist: "playlist",
      				  typeAlbum: "album",
      				  typeTrack: "track"
      				},
      				NPMCheck: {
      				  useChecker: true,
      				  delay: 10 * 60 * 1000,
      				  useAlert: true
      				}
      			  }
      			},
      			{
      			  module: "MMM-Pronote",
      			  position: "bottom_right",
      			  configDeepMerge: true,
      			  config: {
      			    debug: false,
      			    Accounts: [
      			      {
      				url: "https://0280021w.index-education.net/pronote/",
      				username: "xxxxxxxxxxx",
      				password: "xxxxxx",
      				cas: "none",
      				account: "student",
      				studentNumber: 1, // only for parent account
      			      }
      			    ],
      			  }
      			},
      	]
      };
      

      (Edit: Merci d’utiliser les balise pour le code)

      1 Reply Last reply Reply Quote 0
      • pitchx
        pitchx BetaTester Helpers last edited by

        Essaye de changer ton mic config ==> device: “default”
        http://forum.bugsounet.fr/topic/286/trouble-in-all-fields/5

        Avec GA 3 tu peux nettoyer ta config et enlever A2D

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Powered by NodeBB | @bugsounet ©2022