MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED МММ-AssistantMk2

    Troubleshooting
    2
    2
    805
    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.
    • K
      Karalica-Kir last edited by

      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;}
      
      
      1 Reply Last reply Reply Quote 0
      • ?
        A Former User last edited by

        Hi, there is some mismake configuration.

        please read wiki
        and it says :
        Attention: Don’t Merge AMk2 v3 and AMk2 v2 config files, MMM-Hotword will not work correctly !

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy