• 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 454.4k 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.
  • ? Offline
    A Former User @juantata
    last edited by A Former User Dec 8, 2019, 2:44 PM Dec 8, 2019, 2:44 PM

    @juantata
    Just random.
    When using useWelcomMessage, MMM-Hotword’s Mic should be closed. But by physical limitation, Sometimes MMM-Hotword’s mic was not completely closed when MMM-AssistantMk2 activation started. It’s not unpredictable. On the next version, it will be solved.

    J 2 Replies Last reply Dec 9, 2019, 1:05 PM Reply Quote 0
    • J Offline
      juantata @Guest
      last edited by Dec 9, 2019, 1:05 PM

      @Sean
      Hi. Thanks for the reply, but I still have the same error

      0_1575896747628_b9dad2a7-35d5-4bf8-9275-a101f9d2b060-image.png

      0_1575896630454_096f2712-ed50-404c-a95d-0c7f7de20357-image.png

      1 Reply Last reply Reply Quote 0
      • J Offline
        juantata @Guest
        last edited by Dec 9, 2019, 1:16 PM

        @Sean
        Hi. Sorry for the insistence. I also show you the MMM-Hotword

        0_1575897391196_b438bb00-0321-498f-9dd9-52bc118b0cf8-image.png

        ? 1 Reply Last reply Dec 9, 2019, 1:24 PM Reply Quote 0
        • ? Offline
          A Former User @juantata
          last edited by Dec 9, 2019, 1:24 PM

          @juantata
          What are you using as Mic? That error happens when your mic is not working properly.
          Show me the result of arecord -l. Did you something on ALSA setup?

          J 1 Reply Last reply Dec 9, 2019, 3:25 PM Reply Quote 0
          • J Offline
            juantata @Guest
            last edited by Dec 9, 2019, 3:25 PM

            @Sean
            Hi. Thank you for your interest in solving my problem. I realized that what didn’t work was the usb extension cable. Now what goes wrong is the connection between the MMM-Hotword keyword and the questions that can be asked.

            0_1575905110988_01ad4bb6-e448-4c4c-b0f4-2944f2a160fb-image.png

            I send you an image, so you can see it. I have to click with the mouse to put the microphone image

            ? 1 Reply Last reply Dec 9, 2019, 3:32 PM Reply Quote 0
            • ? Offline
              A Former User @juantata
              last edited by Dec 9, 2019, 3:32 PM

              @juantata
              I need log when it is executed. To make things simple, remove all other modules from config.js except MMM-Hotword, MMM-AssistantMk2 and clock. Then try again and show me the logs.

              J 1 Reply Last reply Dec 9, 2019, 3:52 PM Reply Quote 0
              • J Offline
                juantata @Guest
                last edited by Dec 9, 2019, 3:52 PM

                @Sean
                Hi. Fifthing all the modules except the ones you have said works perfectly.
                I send you picture

                magicmirror@2.8.0 start /home/pi/MagicMirror
                sh run-start.sh

                Starting MagicMirror: v2.8.0
                Loading config …
                Loading module helpers …
                No helper found for module: alert.
                Initializing new module helper …
                Module helper loaded: updatenotification
                No helper found for module: clock.
                Initializing new module helper …
                Module helper loaded: MMM-Hotword
                Initializing new module helper …
                Module helper loaded: MMM-AssistantMk2
                All module helpers loaded.
                Starting server on port 8080 …
                You’re using a full whitelist configuration to allow for all IPs
                Server started …
                Connecting socket for: updatenotification
                Connecting socket for: MMM-Hotword
                [HOTWORD] MMM-Hotword starts
                Connecting socket for: MMM-AssistantMk2
                Sockets connected & modules started …
                Launching application.
                [AMK2] Recipe is loaded: hide_and_show_all_modules.js
                [AMK2] Recipe is loaded: reboot.js
                [AMK2] Recipe is loaded: recipe.template.js
                [AMK2] Recipe is loaded: screen_onoff.js
                [AMK2] Recipe is loaded: shutdown.js
                [AMK2] Recipe is loaded: spotify.js
                [HOTWORD] begins.
                [HOTWORD] Detector starts listening.
                [AMK2] Temporal storage directory is clearing.
                [HOTWORD] stops.
                [AMK2] assistant ready
                [AMK2] Conversation starts.
                [AMK2] Started with text query: brief today
                { requestId: ‘5de8e91f-0000-248c-a774-089e08231078’ } { profileFile: ‘default.json’, lang: ‘es-ES’ }
                [AMK2] Device Action: { requestId: ‘5de8e91f-0000-248c-a774-089e08231078’ }
                [AMK2] Assistant Text Response:
                [AMK2] Conversation Completed
                [HOTWORD] begins.
                [HOTWORD] Detector starts listening.
                [HOTWORD] Detected: asistente
                [HOTWORD] stops.
                [HOTWORD] Final Result: { detected: true, hotword: ‘asistente’, file: null }
                [AMK2] assistant ready
                [AMK2] Conversation starts.
                [AMK2] Assistant Text Response:
                [AMK2] Transcription: qué hora — Done: false
                [AMK2] Transcription: qué hora es — Done: false
                [AMK2] end-of-utterance
                [AMK2] Transcription: qué hora es — Done: true
                { requestId: ‘5deca769-0000-2b87-a3c0-089e08277c74’ } { profileFile: ‘default.json’, lang: ‘es-ES’ }
                [AMK2] Device Action: { requestId: ‘5deca769-0000-2b87-a3c0-089e08277c74’ }
                [AMK2] Assistant Text Response:
                [AMK2] Conversation Completed
                [HOTWORD] begins.
                [HOTWORD] Detector starts listening.
                [HOTWORD] Final Result: { detected: false }
                [HOTWORD] begins.
                [HOTWORD] Detector starts listening.
                [HOTWORD] Detected: asistente
                [HOTWORD] stops.
                [HOTWORD] Final Result: { detected: true, hotword: ‘asistente’, file: null }
                [AMK2] assistant ready
                [AMK2] Conversation starts.
                [AMK2] Assistant Text Response:
                [AMK2] Transcription: cómo — Done: false
                [AMK2] Transcription: cómo va — Done: false
                [AMK2] Transcription: cómo va a — Done: false
                [AMK2] Transcription: cómo va a hacer — Done: false
                [AMK2] Transcription: cómo va a hacer mañana — Done: false
                [AMK2] Transcription: cómo va a hacer mañana — Done: false
                [AMK2] Transcription: cómo va a hacer mañana — Done: false
                [AMK2] Transcription: cómo va a hacer mañana — Done: false
                [AMK2] Transcription: cómo va a hacer mañana — Done: false
                [AMK2] Transcription: cómo va a hacer mañana — Done: false
                [AMK2] end-of-utterance
                [AMK2] Transcription: cómo va a hacer mañana — Done: true
                { requestId: ‘5dee51e6-0000-2a94-900a-f403043e4840’ } { profileFile: ‘default.json’, lang: ‘es-ES’ }
                [AMK2] Device Action: { requestId: ‘5dee51e6-0000-2a94-900a-f403043e4840’ }
                [AMK2] Assistant Text Response:
                [AMK2] Conversation Completed
                [HOTWORD] begins.
                [HOTWORD] Detector starts listening.
                [HOTWORD] Detected: asistente
                [HOTWORD] stops.
                [HOTWORD] Final Result: { detected: true, hotword: ‘asistente’, file: null }
                [AMK2] assistant ready
                [AMK2] Conversation starts.
                [AMK2] Assistant Text Response:
                [AMK2] Transcription: tiempo — Done: false
                [AMK2] Transcription: tiempo para — Done: false
                [AMK2] Transcription: tiempo para mañana — Done: false
                [AMK2] Transcription: tiempo para mañana — Done: false
                [AMK2] Transcription: tiempo para mañana — Done: false
                [AMK2] end-of-utterance
                [AMK2] Transcription: tiempo para mañana — Done: true
                { requestId: ‘5dee4ec1-0000-2199-8106-f403043e4994’ } { profileFile: ‘default.json’, lang: ‘es-ES’ }
                [AMK2] Device Action: { requestId: ‘5dee4ec1-0000-2199-8106-f403043e4994’ }
                [AMK2] Assistant Text Response:
                [AMK2] Conversation Completed
                [HOTWORD] begins.
                [HOTWORD] Detector starts listening.

                ? 1 Reply Last reply Dec 9, 2019, 3:54 PM Reply Quote 0
                • ? Offline
                  A Former User @juantata
                  last edited by Dec 9, 2019, 3:54 PM

                  @juantata
                  It means some of your other modules might have some errors to prevent the working of AssistantMk2.

                  J 1 Reply Last reply Dec 9, 2019, 3:55 PM Reply Quote 0
                  • J Offline
                    juantata @Guest
                    last edited by Dec 9, 2019, 3:55 PM

                    @Sean
                    So, I have to try one by one to see which one fails?

                    ? 1 Reply Last reply Dec 9, 2019, 3:57 PM Reply Quote 0
                    • ? Offline
                      A Former User @juantata
                      last edited by Dec 9, 2019, 3:57 PM

                      @juantata

                      So, I have to try one by one to see which one fails?

                      Maybe.
                      Or you can use npm start dev to investigate front-end logs on dev-console of MM screen. Anyway, that is out of range which I can help.

                      J 2 Replies Last reply Dec 9, 2019, 3:59 PM Reply Quote 0
                      • 1
                      • 2
                      • 37
                      • 38
                      • 39
                      • 40
                      • 41
                      • 42
                      • 43
                      • 39 / 43
                      39 / 43
                      • First post
                        388/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