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.

    Hello-Lucy Module Microphone not working

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    56 Posts 6 Posters 28.4k 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.
    • L Offline
      Linas123
      last edited by

      Maybe I just think that response time is slow, although it is fast for a cheap computer like the raspberry.

      by top:

      top - 15:54:46 up  1:12,  2 users,  load average: 0,08, 0,10, 0,09
      Tasks: 145 total,   3 running, 142 sleeping,   0 stopped,   0 zombie
      %Cpu(s):  2,5 us,  2,0 sy,  0,0 ni, 95,3 id,  0,0 wa,  0,0 hi,  0,2 si,  0,0 st
      MiB Mem :    925,6 total,    165,2 free,    428,2 used,    332,2 buff/cache
      MiB Swap:    100,0 total,     99,5 free,      0,5 used.    440,4 avail Mem 
      
        PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND    
        439 root      20   0  158332  53688  36872 R   4,6   5,7   1:22.03 Xorg       
        412 root      20   0   49124  32660  17316 R   3,3   3,4   1:35.48 vncserver+ 
       1196 pi        20   0   85152  27404  22580 S   3,3   2,9   0:03.96 x-termina+ 
       1171 root      20   0       0      0      0 I   1,7   0,0   0:00.67 kworker/u+ 
         69 root     -51   0       0      0      0 S   1,0   0,0   0:05.78 irq/86-mm+ 
        459 root      20   0   19576  12284  11788 S   1,0   1,3   0:10.49 vncagent   
       1211 pi        20   0   10188   2840   2472 R   0,7   0,3   0:00.43 top        
        911 pi        20   0  544920 150124  81960 S   0,3  15,8   2:31.64 electron   
        951 pi        20   0  385260 116832  54260 S   0,3  12,3   1:23.20 electron   
       1127 root      20   0       0      0      0 I   0,3   0,0   0:00.11 kworker/3+ 
       1176 root      20   0       0      0      0 I   0,3   0,0   0:00.44 kworker/0+ 
          1 root      20   0   33732   7972   6412 S   0,0   0,8   0:03.68 systemd    
          2 root      20   0       0      0      0 S   0,0   0,0   0:00.01 kthreadd   
          3 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_gp     
          4 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_par_gp 
          8 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 mm_percpu+ 
          9 root      20   0       0      0      0 S   0,0   0,0   0:00.12 ksoftirqd+
      
      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Linas123
        last edited by

        @Linas123 cool, thx… nothing running really…

        i also didn’t like the realtime responsiveness of the pi (til pi4)
        and bought odroid and jetson nano to get more speed.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          Linas123 @sdetweil
          last edited by

          @sdetweil
          That’s a cool idea, but I don’t like to change anything on the hardware. I keep that in mind for my next project.

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @Linas123
            last edited by

            @Linas123 yep, i do support most of the time, maintain the installer/updater scripts…

            have a pi0, 3, 4, odroid, jetson nano I use the odroid in a production photoframe/info kiosk on the wall in my hall (no mirror glass or enclosure)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            L 1 Reply Last reply Reply Quote 0
            • L Offline
              Linas123 @sdetweil
              last edited by

              @sdetweil

              I put a lot of effort into building the Magic Mirror (even a frameless Magic Mirror). Without self-praise I have seen many other Magic Mirrors but mine is by far the most beautiful one and finally a voice control is part of it. It is also completely designed for a Raspberry Pi, so I don’t want to change anything now.

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @Linas123
                last edited by

                @Linas123 cool… glad you are happy with your project… it takes a lot of energy!..

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  Linas123 @sdetweil
                  last edited by

                  @sdetweil Yes, I’am a bit proud of me. It’s very cool that in this forum are so helpful and nice guys.

                  1 Reply Last reply Reply Quote 0
                  • V Offline
                    varad wattamwar
                    last edited by

                    Guys can you please help me out! @Mykle1 @Linas123 @sdetweil @TheGeekfather
                    My rpi model 3b+
                    I have installed Hello lucy correctly, executed npm install.
                    My mic card and device number is 1,0
                    My mic and speaker both are working fine, tested: arecord test.wav
                    Whenever I start my MM and speak hello lucy , lucy don’t detect my voice he don’t respond.
                    So I tried:
                    In asoundrc file I changed “hw:1,0” to “plughw:1,0”
                    But the result is same lucy is not responding.

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

                      @varad-wattamwar said in Hello-Lucy Module Microphone not working:

                      executed npm install.

                      Uhh, that is not how the dependencies are installed, according to the readme.

                      Please keep your questions about this subject to 1 topic. This is the third topic your posting to for the same issue

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        cq0q
                        last edited by

                        Guys can you please help me out with this @Mykle1 @Linas123 @sdetweil @TheGeekfather
                        i’m new in all of this so please take it easy with me … so i installed MMM-hello lucy module but after i installed it and got the config right and i put my mic card and speaker device and all set … but after i launched magic mirror it shows up the microphone icon and says error … and it hangs like this like there is no solution … it’s like lucy is not detecting or something … and before i say anything the error just shows up …
                        and if i installed MMM-voice and make it like MMM-hello lucy and MMM-voice together in the magic mirror, will it work ? and how will it be if i make both of them in my magic mirror?
                        I’d be so glad if anyone could help me out with this …

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @cq0q
                          last edited by

                          @cq0q Lucy is MMM-Voice plus some stuff… no, no can’t do both

                          u need to walk thru the steps

                          arecord -l (for list)
                          will list the input devices
                          aplay -l will list the output devices

                          so, do
                          arecord test.wav
                          say something
                          ctrl-x to end recording

                          aplay test.wav
                          did u hear what you said…

                          provides the mic works…

                          now, what device is it (from the arecord list)
                          is that where Lucy is configured ?

                          Voice/Lucy use the sphinx voice reco library, which is ok, but sensitive to the voice model.
                          i stopped using it , cause it was accurate maybe 50% of the time… and I had to repeat myself a lot…

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          C 1 Reply Last reply Reply Quote 0
                          • C Offline
                            cq0q @sdetweil
                            last edited by cq0q

                            @sdetweil yes i did that and i heared myself and made the config but the error still shows …
                            but what is sphinx voice reco library ? and how can i use it/install it ? and is it important for the module ?
                            and why you had to repeat yourself alot ? is the problem from the module itself or ?

                            • do i need sphinx to use MMM-voice module as well or it’s just for lucy module ?
                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @cq0q
                              last edited by

                              @cq0q the library is installed and used by mmm-voice and Lucy. u don’t have to do anything. that is the voice reco library they both use.

                              why repeat, cause it doesn’t so very well in my opinion

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                cq0q
                                last edited by cq0q

                                @sdetweil so what should i do to fix that problem ?1597832940471-capture.png

                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @cq0q
                                  last edited by

                                  @cq0q I do not know. is the mic number in arecord -l the same in config.js for Lucy?

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    cq0q
                                    last edited by

                                    @sdetweil yes it is

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      cq0q
                                      last edited by

                                      well … it just fixed by itself … but as you said… i need to repeat myself and that’s bad actually …
                                      what do you think of MMM-voice module ? is it better than this one ? or MMM-voice commands

                                      S Mykle1M 2 Replies Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @cq0q
                                        last edited by

                                        @cq0q mmm-voice has the same mic/library/reco problem

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

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

                                          @cq0q said in Hello-Lucy Module Microphone not working:

                                          it just fixed by itself

                                          Magic!

                                          @sdetweil is correct. Hello-Lucy is a stripped down version of MMM-voice (removed most of its functionality) and added the ability to hide and show individual modules and pages of modules. Simplified the process of adding any module to this functionality. Modules can share regions. Etc,

                                          The recognition is average at best. Lucy (and voice) have trouble with certain accents, Norwegian in particular, (My friend can attest to that). Even I had some early trouble with non-recognition and/or false positives. I’ve learned ‘how’ to speak to Lucy after quite some time using her (3 years?). She also likes a completely quiet environment. With that said, she will never be as accurate, or work as well, as an Alexa or Google device.

                                          Lastly, I don’t use Lucy on a Pi. The pi’s inherent delay is too aggravating and frustrating. Now, using Lucy on more robust hardware is quite a different experience. Very satisfying, for me at least.

                                          Create a working config
                                          How to add modules

                                          1 Reply Last reply Reply Quote 0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          • 1
                                          • 2
                                          • 3
                                          • 3 / 3
                                          • 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