A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
МММ-AssistantMk2 Error
-
Re: МММ-AssistantMk2
Who can tell you what’s wrong?
-
hi, i think, MMM-hotword is not correctly configured for AMK2 v3.
Give me your configuration and we solve this
-
/*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/ var config = { address: '0.0.0.0', electronOptions: {}, ipWhitelist: [], language: 'ru', modules: [ { module: 'MMM-PushBulletNotifications', header: 'Уведомления', position: 'bottom_right', config: { accessToken: '****', localesDateTime: 'ru-RU', noNotificationsMessage: 'Пока нет уведомлений', onlyAllowCommandsFromSourceDevices: [] } }, { module: "MMM-AssistantMk2", position: "top_left", config: { debug: true, ui: "Fullscreen", // or "Classic", "Classic2" assistantConfig: { projectId: "", // Required to use gaction. modelId: "", // (OPTIONAL for gaction) instanceId: "", // (OPTIONAL for gaction) latitude: 55.576620, longitude: 39.514338, }, responseConfig: { threshold: 0, useHTML5: true, // sound render by HTML5 useScreenOutput: true, useAudioOutput: true, useChime: true, timer: 5000, myMagicWord: false, //Your prefer sound play program. By example, if you are running this on OSX, `afplay` could be available. playProgram: "mpg321", //needed if you don't use HTML5 sound render chime: { beep: "beep.mp3", error: "error.mp3", continue: "continue.mp3", open: "Google_beep_open.mp3", close: "Google_beep_close.mp3", }, // false - animated icons, 'standby' - static icons only for standby state, true - all static icons useStaticIcons: false }, micConfig: { // put there configuration generated by auto-installer recorder: "rec", device: "plughw:1", }, customActionConfig: { autoMakeAction: false, autoUpdateAction: true, // 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. }, //receripes: [ "with-MMM-Hotword.js", "with-MMM-TelegramBot.js" ], profiles: { "default": { profileFile: "default.json", lang: "en-US" } }, addonsConfig: {}, //describe addons configuration }, }, { module: 'MMM-GoogleFit', position: 'top_center', config: { stepGoal: 8000, startOnMonday: 'true', lastSevenDays: 'true', stepCountLabel: 'true', colors: [ '#EEEEEE', '#1E88E5', '#9CCC65', '#5E35B1', '#FFB300', '#F4511E' ] } }, { module: 'MMM-LocalTemperature', header: 'Room Temperature', config: { sensorPin: 22 } }, { module: 'MMM-Hotword', position: 'upper_third', config: { chimeOnFinish: null, mic: { recordProgram: 'arecord', device: 'plughw:1' }, models: [ { hotwords: [ 'jarvis', 'jarvis' ], file: 'jarvis.umdl', sensitivity: '0.8,0.8' } ], defaultCommand: { notificationExec: { notification: 'ASSISTANT_ACTIVATE' }, afterRecordLimit: 0, restart: true }, recipes: [ 'with-AMk2v3_Jarvis.js' ], commands: {}, icons: { waiting: 'uil-comment-message', detected: 'uil-comment-exclamation', finished: 'uil-comment-dots' }, notifications: { PAUSE: 'HOTWORD_PAUSE', RESUME: 'HOTWORD_RESUME', LISTENING: 'HOTWORD_LISTENING', SLEEPING: 'HOTWORD_SLEEPING', ERROR: 'HOTWORD_ERROR', DETECTED: 'HOTWORD_DETECTED' } } }, { module: 'weather', position: 'bottom_left', config: { weatherProvider: 'darksky', showIndoorTemperature: 'true', weatherEndpoint: '/forecast', lat: '55.576978', lon: '39.514094', apiBase: 'https://cors-anywhere.herokuapp.com/https://api.darksky.net', apiKey: '****' } }, { module: 'MMM-NowPlayingOnSpotify', position: 'top_right', config: { clientID: '****', clientSecret: '****', accessToken: '****', refreshToken: '****' } }, { module: 'MMM-Cursor', config: {} }, { module: 'updatenotification', position: 'top_bar', config: {} }, { module: 'clock', position: 'top_left', config: {} }, { module: 'MMM-Remote-Control', config: { customCommand: {}, customMenu: 'custom_menu.json', showModuleApiMenu: true, apiKey: '' } }, { module: 'newsfeed', position: 'bottom_bar', config: { updateInterval: 15000, lengthDescription: 10, feeds: [ { title: 'Яндекс.Новости', url: 'https://news.yandex.ru/Russia/index.rss' } ], startTags: [], endTags: [], prohibitedWords: [] } } ], paths: { modules: 'modules', vendor: 'vendor' } } /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
-
can you try this config :
/*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/ var config = { address: '0.0.0.0', electronOptions: {}, ipWhitelist: [], language: 'ru', modules: [ { module: 'MMM-PushBulletNotifications', header: 'Уведомления', position: 'bottom_right', config: { accessToken: '****', localesDateTime: 'ru-RU', noNotificationsMessage: 'Пока нет уведомлений', onlyAllowCommandsFromSourceDevices: [] } }, { module: "MMM-AssistantMk2", position: "top_left", config: { debug: true, ui: "Fullscreen", // or "Classic", "Classic2" assistantConfig: { latitude: 55.576620, longitude: 39.514338, }, responseConfig: { useHTML5: true, // sound render by HTML5 useScreenOutput: true, useAudioOutput: true, useChime: true }, micConfig: { // put there configuration generated by auto-installer recorder: "arecord", device: "plughw:1", }, 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. }, recipes: [ "with-MMM-Hotword.js" ], profiles: { "default": { profileFile: "default.json", lang: "en-US" } }, addons: false }, }, { module: 'MMM-GoogleFit', position: 'top_center', config: { stepGoal: 8000, startOnMonday: 'true', lastSevenDays: 'true', stepCountLabel: 'true', colors: [ '#EEEEEE', '#1E88E5', '#9CCC65', '#5E35B1', '#FFB300', '#F4511E' ] } }, { module: 'MMM-LocalTemperature', header: 'Room Temperature', config: { sensorPin: 22 } }, { module: 'MMM-Hotword', position: 'upper_third', config: { chimeOnFinish: null, mic: { recordProgram: 'arecord', device: 'plughw:1' }, recipes: [ 'with-AMk2v3_Jarvis.js' ], } }, { module: 'weather', position: 'bottom_left', config: { weatherProvider: 'darksky', showIndoorTemperature: 'true', weatherEndpoint: '/forecast', lat: '55.576978', lon: '39.514094', apiBase: 'https://cors-anywhere.herokuapp.com/https://api.darksky.net', apiKey: '****' } }, { module: 'MMM-NowPlayingOnSpotify', position: 'top_right', config: { clientID: '****', clientSecret: '****', accessToken: '****', refreshToken: '****' } }, { module: 'MMM-Cursor', config: {} }, { module: 'updatenotification', position: 'top_bar', config: {} }, { module: 'clock', position: 'top_left', config: {} }, { module: 'MMM-Remote-Control', config: { customCommand: {}, customMenu: 'custom_menu.json', showModuleApiMenu: true, apiKey: '' } }, { module: 'newsfeed', position: 'bottom_bar', config: { updateInterval: 15000, lengthDescription: 10, feeds: [ { title: 'Яндекс.Новости', url: 'https://news.yandex.ru/Russia/index.rss' } ], startTags: [], endTags: [], prohibitedWords: [] } } ], paths: { modules: 'modules', vendor: 'vendor' } } /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
little correct of your config match to AMk2 v.3.1.0-3
-
@Karalica-Kir said in МММ-AssistantMk2 Error:
/*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/
note: if you use this, you assume you could be have somme error of configuration
and take the default developer configuration.please use this wiki for AMk2 and this wiki for MMM-Hotword for complete configuration
-
@Bugsounet Thank you very much! It is WORKING!