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 558.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.
    • K Offline
      komodoteler @Guest
      last edited by

      @sean

      Hi,

      I followed installation step by step until configuration part. credentials works fine when test.js ran.

      Once reboot, i initially had blank screen but once electron build completed, i have mic icon on MM but unable to activate google assistant. I am using default config.js with single default profile.

      I am using HDMI as output from TV which confirmed working after forcing HDMI output via raspi-config.

      As input, I use USB Mini Microphone which confirmed after command “arecord -l” ran.

      Do i need to install MMM-Hotword & MMM-NotificationTrigger too?

      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @komodoteler
        last edited by

        @komodoteler
        Unless using other awakener or touchscreen, you need MMM-Hotword &MMM-NotificationTrigger.

        1 Reply Last reply Reply Quote 0
        • K Offline
          komodoteler
          last edited by

          Apparently my microphone was not setup correctly. without MMM-Hotword and MMM-NotificationTrigger, it works but i have manually click the mic icon on every interaction with GA.

          All i need is to use the hotword module to trigger the GA. The sample config file is too complicated for me and i don’t use IFTTT, GAction, etc.

          Please help.

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @komodoteler
            last edited by

            @komodoteler
            How can I help you? Give me a detail.
            If you need personal contact;
            Mail: eouia0819@gmail.com
            Telegram: @eouia

            1 Reply Last reply Reply Quote 0
            • K Offline
              komodoteler
              last edited by

              Sean, thanks for the help and patience, finally managed to work out the issue.

              it was mainly with improper setting on .asoundrc and config.js

              This is hands down the best voice recognition with visual there is.

              One small thing I noticed is the youtube video opened sometimes throw “invalid parameter”. Could it be default youtube parameter on config.js?

              ? 1 Reply Last reply Reply Quote 3
              • ? Offline
                A Former User @komodoteler
                last edited by A Former User

                @komodoteler Most of those cases are, “Not allowed playing on ‘embeded player(out of youtube)’ by Authorities”.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Sun
                  last edited by

                  1. Start Create Project, what option to choose, is it for Home control ?
                  2. During the process of register a device model, What to choose in Device Type?
                  ? 1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @Sun
                    last edited by A Former User

                    @sun

                    1. You can skip that part or select whatever you want.
                    2. That is also whatever you want. Usually, I set as “TV”. (because it definitely has screen to display something)
                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Sun
                      last edited by

                      Finally, Got the microphone icon in my mirror. Didn’t detect the voice yet I still have to install mmm-hotword.
                      But I can ask one question by click the microphone icon and see the pop-up.

                      I use hdmi on my tv as well. Still no sound.

                      I will install mmm-hotword and test.

                      Also the mmm-gaction if it make the mirror better.

                      I will keep you update and might need your help if I got struck in some part.

                      Thank you very much Mr.Sean.

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        Sun
                        last edited by Sun

                        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 Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 42
                        • 43
                        • 1 / 43
                        • First post
                          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