MagicMirror² is an open source modular smart mirror platform. With a growing list of installable modules, the MagicMirror² allows you to convert your hallway or bathroom mirror into your personal assistant.
I hope someone can help me with this problem. installed magic mirror and added MMM-GoogleAssistant and MMM-Snowboy
google assistant is not responding with the hot word : jarvis
var config = {
address: "localhost", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out or empty, is "localhost"
electronOptions: {
webPreferences: {
webviewTag: true,
},
},
port: 8080,
basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy
// you must set the sub path here. basePath must end with a /
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
useHttps: false, // Support HTTPS or not, default "false" will use HTTP
httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true
httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
language: "en",
locale: "en-US",
logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
timeFormat: 24,
units: "metric",
// serverOnly: true/false/"local" ,
// local for armv6l processors, default
// starts serveronly and then starts chrome browser
// false, default for all NON-armv6l devices
// true, force serveronly mode, because you want to.. no UI on this device
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar",
},
{
module: "clock",
position: "top_left",
},
{
module: "calendar",
header: "Holidays & Events",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check",
url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"
}
],
customEvents: [{ keyword: "Birthday", symbol: "birthday-cake", color: "Gold" }],
},
},
{
module: "compliments",
position: "lower_third",
},
{
module: "weather",
position: "top_right",
config: {
weatherProvider: "openweathermap",
type: "current",
location: "Sample",
locationID: "146473", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: "546dv4f6sd4v6sd54vs6d4666",
},
},
{
module: "weather",
position: "top_right",
header: "Weather Forecast",
config: {
weatherProvider: "openweathermap",
type: "forecast",
location: "Sample",
locationID: "146473", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: "546dv4f6sd4v6sd54vs6d4666",
},
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "New York Times",
url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
},
],
showSourceTitle: false,
showPublishDate: true,
broadcastNewsFeeds: true,
broadcastNewsUpdates: true,
},
},
{
module: "MMM-GoogleAssistant",
position: "top_left",
configDeepMerge: true,
config: {
debug: true,
assistantConfig: {
lang: "en-US"
},
responseConfig: {
useFullscreen: true,
useResponseOutput: true,
responseOutputCSS: "response_output.css",
screenOutputTimer: 5000,
activateDelay: 250,
useAudioOutput: true,
useChime: true,
confirmationChime: true,
useInformations: true,
chimes: {
beep: "beep.mp3",
error: "error.mp3",
continue: "continue.mp3",
confirmation: "confirmation.mp3",
open: "Google_beep_open.mp3",
close: "Google_beep_close.mp3",
warning: "warning.ogg",
},
imgStatus: {},
zoom: {},
},
micConfig: {
recorder: "arecord",
device: "plughw:2"
},
customActionConfig: {
autoMakeAction: false,
autoUpdateAction: false, // in RPI, gaction CLI might have some trouble.(current version should be 2.2.4, but for linux-arm, Google haven't updated) so leave this as false in RPI. I don't know it is solved or not.
actionLocale: "en-US", // At this moment, multi-languages are not supported, sorry. Someday I'll work.
},
snowboy: {
useSnowboy: true,
usePMDL: false,
audioGain: 2.0,
Frontend: true,
Model: "jarvis",
Sensitivity: null
},
A2DServer: {
useA2D: false,
stopCommand: "stop",
useYouTube: true,
youtubeCommand: "youtube",
displayResponse: true
},
Extented: {
useEXT: false,
youtube: {
useYoutube: false,
youtubeCommand: "youtube",
displayResponse: true,
useVLC: false,
minVolume: 30,
maxVolume: 100,
},
links: {
useLinks: false,
displayDelay: 60 * 1000,
scrollActivate: false,
scrollStep: 25,
scrollInterval: 1000,
scrollStart: 5000,
},
photos: {
usePhotos: false,
useGooglePhotosAPI: false,
displayType: "none",
displayDelay: 10 * 1000,
albums: [],
sort: "new",
hiResolution: true,
timeFormat: "DD/MM/YYYY HH:mm",
moduleHeight: 300,
moduleWidth: 300,
},
volume: {
useVolume: false,
volumePreset: "ALSA",
myScript: null,
},
welcome: {},
screen: {
useScreen: false,
animateBody: true,
delay: 5 * 60 * 1000,
turnOffDisplay: true,
mode: 1,
ecoMode: true,
delayed: 0,
displayCounter: true,
displayBar: true,
displayStyle: "Text",
detectorSleeping: false,
governorSleeping: false,
displayLastPresence: true,
},
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: false,
visual: {},
player: {},
},
},
recipes: ["with-BackgroundStatus.js"],
NPMCheck: {
useChecker: true,
delay: 10 * 60 * 1000,
useAlert: true,
},
},
},
],
};
/ DO NOT EDIT THE LINE BELOW /
if (typeof module !== "undefined") {
module.exports = config;
}
I hope someone can help me with this problem. installed magic mirror and added MMM-GoogleAssistant and MMM-Snowboy google assistant is not responding with the hot word : jarvis
added all in config > my config below
/ Magic Mirror Config Sample
*/
var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "0.0.0.0", "::" to listen on any interface // Default, when address config is left out or empty, is "localhost" electronOptions: { webPreferences: { webviewTag: true, }, }, port: 8080, basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy // you must set the sub path here. basePath must end with a / ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
};
/ DO NOT EDIT THE LINE BELOW / if (typeof module !== "undefined") { module.exports = config; }
My log
[26.06.2021 22:10.55.467] [LOG] Starting MagicMirror: v2.15.0 [26.06.2021 22:10.55.473] [LOG] Loading config ... [26.06.2021 22:10.55.480] [LOG] Loading module helpers ... [26.06.2021 22:10.55.483] [LOG] No helper found for module: alert. [26.06.2021 22:10.55.657] [LOG] Initializing new module helper ... [26.06.2021 22:10.55.658] [LOG] Module helper loaded: updatenotification [26.06.2021 22:10.55.659] [LOG] No helper found for module: clock. [26.06.2021 22:10.56.172] [LOG] Initializing new module helper ... [26.06.2021 22:10.56.173] [LOG] Module helper loaded: calendar [26.06.2021 22:10.56.174] [LOG] No helper found for module: compliments. [26.06.2021 22:10.56.174] [LOG] No helper found for module: weather. [26.06.2021 22:10.56.197] [LOG] Initializing new module helper ... [26.06.2021 22:10.56.198] [LOG] Module helper loaded: newsfeed [26.06.2021 22:10.58.370] [LOG] Initializing new module helper ... [26.06.2021 22:10.58.371] [LOG] Module helper loaded: MMM-GoogleAssistant [26.06.2021 22:10.58.371] [LOG] All module helpers loaded. [26.06.2021 22:10.58.464] [LOG] Starting server on port 8080 ... [26.06.2021 22:10.58.477] [LOG] Server started ... [26.06.2021 22:10.58.478] [LOG] Connecting socket for: updatenotification [26.06.2021 22:10.58.479] [LOG] Connecting socket for: calendar [26.06.2021 22:10.58.480] [LOG] Starting node helper for: calendar [26.06.2021 22:10.58.480] [LOG] Connecting socket for: newsfeed [26.06.2021 22:10.58.481] [LOG] Starting node helper for: newsfeed [26.06.2021 22:10.58.482] [LOG] Connecting socket for: MMM-GoogleAssistant [26.06.2021 22:10.58.483] [LOG] [GA] Read config.js and check ConfigDeepMerge... [26.06.2021 22:10.58.484] [LOG] [GA] Perfect ConfigDeepMerge activated! [26.06.2021 22:10.58.484] [LOG] Sockets connected & modules started ... [26.06.2021 22:10.58.788] [LOG] Launching application. [26.06.2021 22:10.58.950] [ERROR] (node:2566) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See https://github.com/electron/electron/issues/23506 for more information [26.06.2021 22:11.01.251] [LOG] Create new news fetcher for url: https://feeds.feedburner.com/ndtvnews-top-stories - Interval: 300000 [26.06.2021 22:11.01.260] [INFO] Checking git for module: MMM-GoogleAssistant [26.06.2021 22:11.01.316] [LOG] [GA] MMM-GoogleAssistant Version: 3.0.2 rev: 210617-1 [26.06.2021 22:11.01.318] [LOG] [GA] Activate delay is set to 250 ms [26.06.2021 22:11.01.478] [LOG] [GA] Loaded @bugsounet/npmcheck [26.06.2021 22:11.01.552] [LOG] [GA] Loaded @bugsounet/internet [26.06.2021 22:11.01.554] [LOG] [GA] All needed @bugsounet library loaded ! [26.06.2021 22:11.01.557] [LOG] [GA] RECIPE_LOADED: with-BackgroundStatus.js [26.06.2021 22:11.01.560] [LOG] [NPM] Initialized v0.9.95 [26.06.2021 22:11.01.574] [LOG] [NPM] Found: 13/21 @bugsounet library [MMM-GoogleAssistant] [26.06.2021 22:11.01.887] [LOG] [GA] Google Assistant is initialized. [26.06.2021 22:11.03.103] [ERROR] Failed to fetch git data for MMM-GoogleAssistant: Error: block timeout reached [26.06.2021 22:11.03.540] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [26.06.2021 22:11.03.866] [INFO] Calendar-Fetcher: Broadcasting 7 events. [26.06.2021 22:11.03.899] [INFO] Calendar-Fetcher: Broadcasting 1 events. [26.06.2021 22:11.04.208] [ERROR] Failed to fetch git data for default: Error: block timeout reached [26.06.2021 22:11.06.214] [LOG] [NPM] Details for MMM-GoogleAssistant [ { name: '@bugsounet/npmcheck', installed: '0.9.95', latest: '0.9.95' }, { name: '@bugsounet/cast', installed: '1.1.1', latest: '1.1.1' }, { name: '@bugsounet/governor', installed: '1.0.3', latest: '1.0.3' }, { name: '@bugsounet/internet', installed: '1.1.1', latest: '1.1.1' }, { name: '@bugsounet/pir', installed: '1.0.5', latest: '1.0.5' }, { name: '@bugsounet/screen', installed: '1.1.7', latest: '1.1.7' }, { name: '@bugsounet/spotify', installed: '1.0.2', latest: '1.0.2' }, { name: '@bugsounet/google-assistant', installed: '1.2.6', latest: '1.2.6' }, { name: '@bugsounet/node-buffertomp3', installed: '1.0.5', latest: '1.0.5' }, { name: '@bugsounet/node-lpcm16', installed: '2.0.1', latest: '2.0.1' }, { name: '@bugsounet/cvlc', installed: '1.0.4', latest: '1.0.4' }, { name: '@bugsounet/google-photos', installed: '1.0.0', latest: '1.0.0' }, { name: '@bugsounet/systemd', installed: '1.0.0', latest: '1.0.0' } ] [26.06.2021 22:11.06.221] [LOG] [NPM] Check... MMM-GoogleAssistant [26.06.2021 22:11.06.230] [LOG] [NPM] No update needed for MMM-GoogleAssistant [26.06.2021 22:16.04.842] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [26.06.2021 22:16.05.446] [INFO] Calendar-Fetcher: Broadcasting 7 events. [26.06.2021 22:16.05.464] [INFO] Calendar-Fetcher: Broadcasting 1 events. [26.06.2021 22:21.05.301] [ERROR] Failed to fetch git data for MMM-GoogleAssistant: Error: block timeout reached [26.06.2021 22:21.06.236] [LOG] [NPM] Found: 13/21 @bugsounet library [MMM-GoogleAssistant] [26.06.2021 22:21.06.627] [ERROR] Failed to fetch git data for default: Error: block timeout reached [26.06.2021 22:21.07.947] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [26.06.2021 22:21.08.922] [INFO] Calendar-Fetcher: Broadcasting 7 events. [26.06.2021 22:21.08.933] [INFO] Calendar-Fetcher: Broadcasting 1 events. [26.06.2021 22:21.09.587] [LOG] [NPM] Details for MMM-GoogleAssistant [ { name: '@bugsounet/npmcheck', installed: '0.9.95', latest: '0.9.95' }, { name: '@bugsounet/cast', installed: '1.1.1', latest: '1.1.1' }, { name: '@bugsounet/governor', installed: '1.0.3', latest: '1.0.3' }, { name: '@bugsounet/internet', installed: '1.1.1', latest: '1.1.1' }, { name: '@bugsounet/pir', installed: '1.0.5', latest: '1.0.5' }, { name: '@bugsounet/screen', installed: '1.1.7', latest: '1.1.7' }, { name: '@bugsounet/spotify', installed: '1.0.2', latest: '1.0.2' }, { name: '@bugsounet/google-assistant', installed: '1.2.6', latest: '1.2.6' }, { name: '@bugsounet/node-buffertomp3', installed: '1.0.5', latest: '1.0.5' }, { name: '@bugsounet/node-lpcm16', installed: '2.0.1', latest: '2.0.1' }, { name: '@bugsounet/cvlc', installed: '1.0.4', latest: '1.0.4' }, { name: '@bugsounet/google-photos', installed: '1.0.0', latest: '1.0.0' }, { name: '@bugsounet/systemd', installed: '1.0.0', latest: '1.0.0' } ] [26.06.2021 22:21.09.590] [LOG] [NPM] Check... MMM-GoogleAssistant [26.06.2021 22:21.09.590] [LOG] [NPM] No update needed for MMM-GoogleAssistant [26.06.2021 22:26.09.929] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [26.06.2021 22:26.10.757] [INFO] Calendar-Fetcher: Broadcasting 7 events. [26.06.2021 22:26.10.798] [INFO] Calendar-Fetcher: Broadcasting 1 events. [26.06.2021 22:31.07.716] [ERROR] Failed to fetch git data for MMM-GoogleAssistant: Error: block timeout reached [26.06.2021 22:31.08.806] [ERROR] Failed to fetch git data for default: Error: block timeout reached [26.06.2021 22:31.09.598] [LOG] [NPM] Found: 13/21 @bugsounet library [MMM-GoogleAssistant] [26.06.2021 22:31.11.669] [LOG] [NPM] Details for MMM-GoogleAssistant [ { name: '@bugsounet/npmcheck', installed: '0.9.95', latest: '0.9.95' }, { name: '@bugsounet/cast', installed: '1.1.1', latest: '1.1.1' }, { name: '@bugsounet/governor', installed: '1.0.3', latest: '1.0.3' }, { name: '@bugsounet/internet', installed: '1.1.1', latest: '1.1.1' }, { name: '@bugsounet/pir', installed: '1.0.5', latest: '1.0.5' }, { name: '@bugsounet/screen', installed: '1.1.7', latest: '1.1.7' }, { name: '@bugsounet/spotify', installed: '1.0.2', latest: '1.0.2' }, { name: '@bugsounet/google-assistant', installed: '1.2.6', latest: '1.2.6' }, { name: '@bugsounet/node-buffertomp3', installed: '1.0.5', latest: '1.0.5' }, { name: '@bugsounet/node-lpcm16', installed: '2.0.1', latest: '2.0.1' }, { name: '@bugsounet/cvlc', installed: '1.0.4', latest: '1.0.4' }, { name: '@bugsounet/google-photos', installed: '1.0.0', latest: '1.0.0' }, { name: '@bugsounet/systemd', installed: '1.0.0', latest: '1.0.0' } ] [26.06.2021 22:31.11.674] [LOG] [NPM] Check... MMM-GoogleAssistant [26.06.2021 22:31.11.676] [LOG] [NPM] No update needed for MMM-GoogleAssistant [26.06.2021 22:31.11.679] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [26.06.2021 22:31.12.548] [INFO] Calendar-Fetcher: Broadcasting 7 events. [26.06.2021 22:31.12.561] [INFO] Calendar-Fetcher: Broadcasting 1 events. [26.06.2021 22:36.13.454] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [26.06.2021 22:36.14.593] [INFO] Calendar-Fetcher: Broadcasting 1 events. [26.06.2021 22:36.14.718] [INFO] Calendar-Fetcher: Broadcasting 7 events. [26.06.2021 22:41.09.943] [ERROR] Failed to fetch git data for MMM-GoogleAssistant: Error: block timeout reached [26.06.2021 22:41.11.060] [ERROR] Failed to fetch git data for default: Error: block timeout reached [26.06.2021 22:41.11.684] [LOG] [NPM] Found: 13/21 @bugsounet library [MMM-GoogleAssistant] [26.06.2021 22:41.16.513] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [26.06.2021 22:41.16.974] [LOG] [NPM] Details for MMM-GoogleAssistant [ { name: '@bugsounet/npmcheck', installed: '0.9.95', latest: '0.9.95' }, { name: '@bugsounet/cast', installed: '1.1.1', latest: '1.1.1' }, { name: '@bugsounet/governor', installed: '1.0.3', latest: '1.0.3' }, { name: '@bugsounet/internet', installed: '1.1.1', latest: '1.1.1' }, { name: '@bugsounet/pir', installed: '1.0.5', latest: '1.0.5' }, { name: '@bugsounet/screen', installed: '1.1.7', latest: '1.1.7' }, { name: '@bugsounet/spotify', installed: '1.0.2', latest: '1.0.2' }, { name: '@bugsounet/google-assistant', installed: '1.2.6', latest: '1.2.6' }, { name: '@bugsounet/node-buffertomp3', installed: '1.0.5', latest: '1.0.5' }, { name: '@bugsounet/node-lpcm16', installed: '2.0.1', latest: '2.0.1' }, { name: '@bugsounet/cvlc', installed: '1.0.4', latest: '1.0.4' }, { name: '@bugsounet/google-photos', installed: '1.0.0', latest: '1.0.0' }, { name: '@bugsounet/systemd', installed: '1.0.0', latest: '1.0.0' } ] [26.06.2021 22:41.16.981] [LOG] [NPM] Check... MMM-GoogleAssistant [26.06.2021 22:41.16.982] [LOG] [NPM] No update needed for MMM-GoogleAssistant [26.06.2021 22:41.17.239] [INFO] Calendar-Fetcher: Broadcasting 1 events. [26.06.2021 22:41.17.400] [INFO] Calendar-Fetcher: Broadcasting 7 events. [26.06.2021 22:46.18.681] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [26.06.2021 22:46.19.723] [INFO] Calendar-Fetcher: Broadcasting 1 events. [26.06.2021 22:46.19.939] [INFO] Calendar-Fetcher: Broadcasting 7 events. [26.06.2021 22:51.12.183] [ERROR] Failed to fetch git data for MMM-GoogleAssistant: Error: block timeout reached [26.06.2021 22:51.13.270] [ERROR] Failed to fetch git data for default: Error: block timeout reached [26.06.2021 22:51.16.990] [LOG] [NPM] Found: 13/21 @bugsounet library [MMM-GoogleAssistant] [26.06.2021 22:51.18.803] [LOG] [NPM] Details for MMM-GoogleAssistant [ { name: '@bugsounet/npmcheck', installed: '0.9.95', latest: '0.9.95' }, { name: '@bugsounet/cast', installed: '1.1.1', latest: '1.1.1' }, { name: '@bugsounet/governor', installed: '1.0.3', latest: '1.0.3' }, { name: '@bugsounet/internet', installed: '1.1.1', latest: '1.1.1' }, { name: '@bugsounet/pir', installed: '1.0.5', latest: '1.0.5' }, { name: '@bugsounet/screen', installed: '1.1.7', latest: '1.1.7' }, { name: '@bugsounet/spotify', installed: '1.0.2', latest: '1.0.2' }, { name: '@bugsounet/google-assistant', installed: '1.2.6', latest: '1.2.6' }, { name: '@bugsounet/node-buffertomp3', installed: '1.0.5', latest: '1.0.5' }, { name: '@bugsounet/node-lpcm16', installed: '2.0.1', latest: '2.0.1' }, { name: '@bugsounet/cvlc', installed: '1.0.4', latest: '1.0.4' }, { name: '@bugsounet/google-photos', installed: '1.0.0', latest: '1.0.0' }, { name: '@bugsounet/systemd', installed: '1.0.0', latest: '1.0.0' } ] [26.06.2021 22:51.18.806] [LOG] [NPM] Check... MMM-GoogleAssistant [26.06.2021 22:51.18.807] [LOG] [NPM] No update needed for MMM-GoogleAssistant [26.06.2021 22:51.20.238] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [26.06.2021 22:51.21.655] [INFO] Calendar-Fetcher: Broadcasting 1 events. [26.06.2021 22:51.21.807] [INFO] Calendar-Fetcher: Broadcasting 7 events. [26.06.2021 22:56.22.447] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [26.06.2021 22:56.23.631] [INFO] Calendar-Fetcher: Broadcasting 1 events. [26.06.2021 22:56.23.772] [INFO] Calendar-Fetcher: Broadcasting 7 events.
Any further hints / tips ?
Kind regards, Praba