• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-AssistantMk2

Scheduled Pinned Locked Moved System
421 Posts 61 Posters 455.7k Views 57 Watching
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.
  • S Offline
    Sun
    last edited by Sun Jul 22, 2018, 12:02 PM Jul 22, 2018, 11:59 AM

    Install mmm-hotword everything went fine during installation and load magic mirror normally. But no hotword detected.

    also show in command promt.

    Refreshed access token because it has expired. Expired at: 18:57:26 now is: 18:57:29
    Refreshed access token because it has expired. Expired at: 19:57:29 now is: 18:57:29
    Refreshed access token because it has expired. Expired at: 19:57:29 now is: 18:57:29
    Refreshed access token because it has expired. Expired at: 19:57:29 now is: 18:57:30

    and when click the microphone icon. I can only click once after restart and ask question. Hotword didn’t detect smart mirror, snowboy.

    in command promt shows
    at Speaker._write (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/speaker/index.js:183:23)
    at doWrite (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/readable-stream/lib/_stream_writable.js:428:64)
    at writeOrBuffer (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/readable-stream/lib/_stream_writable.js:417:5)
    at Speaker.Writable.write (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/readable-stream/lib/_stream_writable.js:334:11)
    at Conversation.conversation.on (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:75:16)
    at emitOne (events.js:116:13)
    at Conversation.emit (events.js:211:7)
    at ClientDuplexStream.Conversation.conversation.on (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
    at emitOne (events.js:116:13)
    Conversation Completed
    [HOTWORD] << snowboy >> is detected.
    [HOTWORD] stops listening

    ? 2 Replies Last reply Jul 22, 2018, 12:05 PM Reply Quote 0
    • ? Offline
      A Former User @Sun
      last edited by Jul 22, 2018, 12:05 PM

      @sun
      have you removed or refreshed your credentials.json or default.json in MMM-AssistantMk2?

      I suggest you remove or disable all other modules (including MMM-AssistantMk2) except MMM-Hotword in config.js and test it.

      Definitely success with MMM-Hotword could make things simple and easy.

      After removing all modules except MMM-Hotword in config.js, run MM.(npm start)
      You can see;
      [HOTWORD] begins listening
      say smart mirror
      You can see;

      [HOTWORD] << smart mirror >> is detected.
      [HOTWORD] stop listening
      

      You should confirm this before going forward.

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @Sun
        last edited by Jul 22, 2018, 12:09 PM

        @sun
        OK. have you installed “MMM-NotificationTrigger” ?
        Or give me a chat in this forum, or telegram me (@eouia)

        1 Reply Last reply Reply Quote 0
        • S Offline
          Sun
          last edited by Jul 22, 2018, 12:31 PM

          Not yet install mmm-notificationtrigger.
          Do I have to install mmm-notificationtrigger as well?
          I manage to get
          [HOTWORD] << smart mirror >> is detected.
          [HOTWORD] stop listening

          but when I say something. it won’t detect what I said. Only detect the hotword.

          1 Reply Last reply Reply Quote 0
          • S Offline
            Sun
            last edited by Jul 22, 2018, 4:18 PM

            Got it done. Very nice. However, the sound is so lag. Might be because I run on rp3 and quite many modules in magic mirror.

            ? 1 Reply Last reply Jul 22, 2018, 5:11 PM Reply Quote 0
            • ? Offline
              A Former User @Sun
              last edited by Jul 22, 2018, 5:11 PM

              @sun
              Maybe. I always use BT speaker for my RPI and ATB. I cannot bear the crumpled sounds from analog or USB.

              1 Reply Last reply Reply Quote 0
              • J Offline
                jomwells
                last edited by Jul 22, 2018, 10:42 PM

                This is fantastic thank you, I have got everything set up, it hears and responds (on screen) to every request - but unfortunately I get no sound (no speaking feedback), when a youtube video plays, the sound works fine, do I need to change the output device somewhere? I’m struggling to find the config for it.

                ? S 2 Replies Last reply Jul 22, 2018, 10:54 PM Reply Quote 0
                • ? Offline
                  A Former User @jomwells
                  last edited by Jul 22, 2018, 10:54 PM

                  @jomwells is there any suspicious errors?

                  S J 2 Replies Last reply Jul 23, 2018, 2:28 AM Reply Quote 0
                  • S Offline
                    Sun @jomwells
                    last edited by Jul 23, 2018, 2:20 AM

                    @jomwells Are you using rp3 as magic mirror? I did get sound respond now and it really ugly. I do try both sound on tv via hdmi and from usb sound card. Assume that too much modules from magic mirror load.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Sun @Guest
                      last edited by Jul 23, 2018, 2:28 AM

                      @sean I would like to know more about MMM-Gaction regarding the deviceModelId - this should be done since register the device in mmm-assistantmk2. What about deviceInstanceId, where and how to?

                      ? 2 Replies Last reply Jul 23, 2018, 5:38 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 42
                      • 43
                      • 2 / 43
                      2 / 43
                      • First post
                        18/421
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy