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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @Linas123
      last edited by

      @Linas123

      Did you get arecord test.wav to record a sound file?

      I just noticed that my USB micro is now suddenly displayed as card 1.

      I’m confused. Is it still reporting card 1?

      Did you make the changes to your config microphone option?

      How long are you waiting before quitting MM when you see thecrossed-out green flashing microphone?

      Create a working config
      How to add modules

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

        @Mykle1

        I’am confused too. It’s still card 1, when I enter “arecord -l”. When the Magic Mirror runs in the background and I enter “arecord test.wav” the Error “arecord: main:828: audio open error: Device or resource busy” appears. But, when I stop the Magic Mirror with pm2, record works. After reboot the Magic Mirror is yet on the top a micro icon and "Ready, “Hello Lucy”. But when I try to ask she, nothing happens. To you have a answer for this?

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

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

          But when I try to ask she, nothing happens

          and you say
          ‘Hello Lucy’

          right?

          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, of course. I tried it again. I shouted into the microphone, although “ERROR” was displayed and Lucy reacted. But when I tried to hide the news, it took a very long time. When I tried to continue, Lucy reacted once out of 10 and in between she always showed ERROR. Can I do something that she understand me better and that the delay is not so long.

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

              @Linas123 I don’t know. Was just trying to help.

              Lots of times users didn’t know to say hello Lucy.

              What language do you speak? Sometimes the language model cannot detect the intonation

              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 speak with a german accent.

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

                  Thank you for all your help and your fast replays. Now it finally works with long charging times, but it works. Whenever I stop the Magic Mirror with pm2, the card for the microphone changes, but I can live with that because soon it will hang on the wall and then I won’t stop pm2.

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

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

                    Now it finally works with long charging times, but it works.

                    do you mean response times? (time from speak to action)

                    charging in english applies to batteries.

                    what pi device are you using?

                    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

                      Sorry, I’am only just 16 years old and not so good in english. I mean response time and use the RPI 3b+.

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

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

                        and not so good in english.

                        a LOT better than my german!!

                        wonder what else is running. 3b+ is usually pretty good
                        do you use SSH to connect to pi?

                        if so, can you do top command to see what is running?

                        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 use realVNC to see what is on my Mirror.

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

                            @Linas123 can u minimize mirror (alt-spacebar, n)

                            and then run top in a terminal window (ctrl-alt-t)
                            ctrl-c to exit top

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • 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

                                            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
                                            • 2 / 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