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 13.6k 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.
    • 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
            • S Offline
              sdetweil @tnp0327
              last edited by

              have u restarted the mirror a few times, without reboot?

              the sound process does NOT get restarted…

              get back to the commandline and do

              ps -ef | grep pocket

              and then kill that process so it can be restarted…

              or reboot…

              i created this little script for a prior mirror runtime that I use here too

              #!/bin/bash
              
              ps -ef | grep pocket | grep -v "color=auto" | awk '{print $2}' | xargs sudo kill -9
              ps -ef | grep node | grep -v "color=auto"  | awk '{print $2}' | xargs sudo kill -9
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil I have restarted the MM process and rebooted the PI - still no debug.log file.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @tnp0327
                  last edited by sdetweil

                  @tnp0327 can u minimize the mirror and look at the console log of the terminal window… maybe there is some other error…

                  minimize = alt-spacebar, n

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil @strawberry-3-141 so I did not find a debug file but was able to follow the instructions to look at the console log and the only message I am seeing regarding MMM-voice is:

                    Starting module: MMM-voice MMM-voice.js:82
                    MMM-voice is waiting for voice command registrations. MMM-voice.js:85

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @tnp0327
                      last edited by

                      @tnp0327 before the modules is the startup of the node_helpers… if u can scroll back up the console window, you might find something else…

                      have u tested to make sure the mic is working? with the rec command?

                      rec somefile.wav

                      on the bottom of the console window should be a meter like bar that moves when u speak…
                      then you can control-z out of the rec command and then play somefile.wav to see how it sounds…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        OMW to work now - will run it again later and update with my feedback. Thanks for the help so far.

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