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.

    Microphone/MMM-voice Help

    Scheduled Pinned Locked Moved Troubleshooting
    31 Posts 7 Posters 12.0k Views 7 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.
    • T Offline
      tnp0327
      last edited by

      Hi everyone!

      Absolute newbie with no real coding background here so thanks in advance for the patience and help!

      So I’ve built a MM for my wife and I’ve also installed google AIY so that it functions as both a MM and google assistant. I would also like to be able to use the microphone for MMM-voice and everything appears to have installed properly, however, when I load MM it will not change from “Initializing”. I have a feeling that this is because the microphone is only “ON” when I am running one of the AIY demo.py’s AND giving the command “Hello, Google” or OK, Google but, again, I am a noob and could be completely wrong. Do you have any advice for getting the PI/MM/MMM-voice to initialize the microphone/voice-HAT?

      Thanks in advance!

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @tnp0327
        last edited by

        @tnp0327

        I could be wrong (I often am) but I don’t think the microphone can be shared. It’s one module or another.

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • T Offline
          tnp0327
          last edited by

          Thanks for the response, @Mykle1 . @strawberry-3-141 asked me to debug and I added debug:true to the config file but am not sure where the debug log data is stored. Any help on finding the debug data?

          It almost hurts to ask that question :(

          Thanks!

          S strawberry 3.141S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @tnp0327
            last edited by

            @tnp0327 minimize the mirror window (alt-spacebar, n) and the terminal windows used to start the mirror will be shown… the debug is in that window…

            least thats how I do it!..

            this debugs the node_helper
            ctrl-shift-i will open the mirror debug window (select console tab) this will show the module level debug

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • strawberry 3.141S Offline
              strawberry 3.141 Project Sponsor Module Developer @tnp0327
              last edited by

              @tnp0327 the file that gets generated is located at modules/MMM-voice/debug.log

              Please create a github issue if you need help, so I can keep track

              T 1 Reply Last reply Reply Quote 0
              • T Offline
                tnp0327 @strawberry 3.141
                last edited by

                @strawberry-3-141 here is a snapshot of the directory. I do not see a debug.log file. Do you know why this could happen?

                0_1529326936513_6d46f421-50ff-403c-a2c4-02b2c07e1b83-image.png

                Thanks

                strawberry 3.141S 1 Reply Last reply Reply Quote 0
                • strawberry 3.141S Offline
                  strawberry 3.141 Project Sponsor Module Developer @tnp0327
                  last edited by

                  @tnp0327 can you show me the mmm-voice part of your config js

                  Please create a github issue if you need help, so I can keep track

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    tnp0327 @strawberry 3.141
                    last edited by

                    @strawberry-3-141 I originally had it in the config section but moved it up below “position”. However, I am still not seeing a debug.log file. I rebooted and still nothing.

                    0_1529354471624_f17c63db-c235-4435-ba3c-cdc3f5f1c8d3-image.png

                    strawberry 3.141S 1 Reply Last reply Reply Quote 0
                    • strawberry 3.141S Offline
                      strawberry 3.141 Project Sponsor Module Developer @tnp0327
                      last edited by

                      @tnp0327 it needs to be in the config section

                      Please create a github issue if you need help, so I can keep track

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        tnp0327 @strawberry 3.141
                        last edited by

                        @strawberry-3-141 thanks! I moved it to the config section.

                        0_1529407876489_f77ccd67-76d7-4574-a748-14e04af754ec-image.png

                        I still do not see a debug.log file.

                        0_1529407949323_b44fda62-2082-4df1-813b-66f60261b156-image.png

                        When I run MM, the MMM-voice area (bottom left) says Initialising… and underneath that it says undefined.

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 1 / 4
                        • 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