/*************** 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;}
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
K
Posts
-
RE: МММ-AssistantMk2 Error
-
МММ-AssistantMk2 Error
Re: МММ-AssistantMk2
Who can tell you what’s wrong?
-
МММ-AssistantMk2
Hot word are working, but assistant are not hear me
/*************** 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: 'o.CPeQ7BZJQEwFDrVjv9L9jYxWCbDxpnGU', localesDateTime: 'ru-RU', noNotificationsMessage: 'Пока нет уведомлений', onlyAllowCommandsFromSourceDevices: [] } }, { module: 'alert', config: {} }, { module: 'MMM-AssistantMk2', position: 'middle_center', header: '', config: { recipes: [ 'with-MMM-Hotword.js', 'with-MMM-TelegramBot.js' ], assistantConfig: { deviceInstanceId: 'assist-ab388', projectId: 'assist-ab388', modelId: 'assist-ab388-smartmirror-ssgoin', instanceId: '', latitude: 51.50853, longitude: -0.076132 }, responseConfig: { useScreenOutput: true, useAudioOutput: true, useChime: true, timer: 5000, myMagicWord: false }, micConfig: { recorder: 'arecord', device: 'plughw:1' }, customActionConfig: { autoMakeAction: false, autoUpdateAction: false, actionLocale: 'en-US' }, profiles: { default: { profileFile: 'default.json', lang: 'en-US' } }, transcriptionHooks: {}, actions: {}, commands: {}, plugins: {}, responseHooks: {} } }, { 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: '428281ca274de026697d620ec78b410c' } }, { module: 'MMM-NowPlayingOnSpotify', position: 'top_right', config: { clientID: 'a288e0a3f0e74ddabbb8a2bdace40f31', clientSecret: 'd9e8d64340ce4ae79438490bfa721716', accessToken: 'BQD8dUlILYSxKb9RAnlB2SxUdQoKfetZTkvwku9EdBTKzjTTzfAvEf6qoqUbJjhp8qEn7ar33nZMW5aRnkFJ4tgcyQlmdq__xXz5BLhkItz6YvHoNMoE_eHB9AJzo-FmJDie37WTRiYJtmUKrMcjApck-9OzkuAJEYEnPjf1GI1uaw', refreshToken: 'AQC4zYZAZ_wSvGa6D0gM9kA2gIXla66bkSnEyVFzehPQ2MMIJdCdeRTZWGWKwu81E6u4jq9Fy9QiM6pGrIQmJhRtgO2xS7Xn42vbpCXjBNgIu-Ykw6pEPWcEMmSopfC35Ww' } }, { 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;}