MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Linas123
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    L
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 20
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Hello-Lucy Module Microphone not working

      @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.

      posted in Troubleshooting
      L
      Linas123
    • RE: Hello-Lucy Module Microphone not working

      @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?

      posted in Troubleshooting
      L
      Linas123
    • RE: Hello-Lucy Module Microphone not working

      @Mykle1

      It’s still the same as earlier. At the top is still the crossed-out green flashing microphone.

      posted in Troubleshooting
      L
      Linas123
    • RE: Hello-Lucy Module Microphone not working

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

      arecord test.wav

      No it doesn’t work , there is yet the error “arecord: main:828:…”. I just noticed that my USB micro is now suddenly displayed as card 1. I change yet my /.asoundrc file again. Do I have to download the module again?

      Thank you for you fast replays.

      posted in Troubleshooting
      L
      Linas123
    • RE: Hello-Lucy Module Microphone not working

      Yes I tried it to run, but lucy say only “Hello Michael, what would you like to see” and on the top of the Mirror is a crossed-out green flashing microphone and “Command Please:”.

      posted in Troubleshooting
      L
      Linas123
    • RE: Hello-Lucy Module Microphone not working

      @Mykle1

      {
      disabled: false,
      module: "Hello-Lucy",
      position: "top_center",
      config: {
          keyword: 'HELLO LUCY',              // keyword to activate listening for a command/sentence
          timeout: 15,                        // timeout listening for a command/sentence
          standByMethod: 'DPMS',              // 'DPMS' = anything else than RPi or 'PI'
          microphone: "2,0",                  // run "arecord -l" card # and device # mine is "0,0"
          sounds: ["1.mp3", "11.mp3"],        // welcome sound at startup. Add several for a random greetings
          confirmationSound: "ding.mp3",      // name and extension of sound file
          startHideAll: false,                 // All modules start as hidden EXCEPT PAGE ONE
          // *** Page One is your default startup page *** This overrides startHideAll: true,
          pageOneModules: ["Hello-Lucy", ],                     // default modules to show on page one/startup
          pageTwoModules: ["Hello-Lucy",], // modules to show on page two
          pageThreeModules: ["Hello-Lucy",],                 // modules to show on page three
          pageFourModules: ["Hello-Lucy", ],                  // modules to show on page four
          pageFiveModules: ["Hello-Lucy", ],               // modules to show on page five
          pageSixModules: ["Hello-Lucy", ],                      // modules to show on page six
          pageSevenModules: ["Hello-Lucy", ],                   // modules to show on page seven
          pageEightModules: ["Hello-Lucy", ],                   // modules to show on page eight
          pageNineModules: ["Hello-Lucy", ],                   // modules to show on page nine
          pageTenModules: ["Hello-Lucy", ]             // modules to show on page ten
          }
      },
      

      I don’t know what else I can do.

      posted in Troubleshooting
      L
      Linas123
    • RE: Hello-Lucy Module Microphone not working

      @Mykle1
      Here is my micro output:

       arecord -l
      **** Liste der Hardware-Geräte (CAPTURE) ****
      Karte 2: AK5371 [AK5371], Gerät 0: USB Audio [USB Audio]
        Sub-Geräte: 0/1
        Sub-Gerät #0: subdevice #0
      

      and my speaker (I use the screen speaker):

      aplay -l
      **** Liste der Hardware-Geräte (PLAYBACK) ****
      Karte 0: ALSA [bcm2835 ALSA], Gerät 0: bcm2835 ALSA [bcm2835 ALSA]
        Sub-Geräte: 7/7
        Sub-Gerät #0: subdevice #0
        Sub-Gerät #1: subdevice #1
        Sub-Gerät #2: subdevice #2
        Sub-Gerät #3: subdevice #3
        Sub-Gerät #4: subdevice #4
        Sub-Gerät #5: subdevice #5
        Sub-Gerät #6: subdevice #6
      Karte 0: ALSA [bcm2835 ALSA], Gerät 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
        Sub-Geräte: 1/1
        Sub-Gerät #0: subdevice #0
      Karte 0: ALSA [bcm2835 ALSA], Gerät 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
        Sub-Geräte: 1/1
        Sub-Gerät #0: subdevice #0
      Karte 1: vc4hdmi [vc4-hdmi], Gerät 0: MAI PCM vc4-hdmi-hifi-0 [MAI PCM vc4-hdmi-hifi-0]
        Sub-Geräte: 1/1
        Sub-Gerät #0: subdevice #0
      

      I have a USB Mic and I hope that’s not the problem, because I read a bit in this forum, that sometimes USB Micros have trouble with Hello-Lucy. I also changed my /.asoundrc file so that the speaker and microphone worked as they should. In the tests everything still worked. Here is my /.asoundrc file:

      pcm.!default {
        type asym
         playback.pcm {
           type plug
           slave.pcm "hw:0,1"
         }
         capture.pcm {
           type plug
           slave.pcm "hw:2,0"
         }
      }
      

      Maybe It’s a npm problem, because at the end of the installation of the module these npm warnings came:
      Note: First I make the sound configuration and only after that I install the module.

      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
      npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
      npm notice created a lockfile as package-lock.json. You should commit this file.
      npm WARN eslint-config-airbnb-base@11.3.2 requires a peer of eslint@^3.19.0 || ^4.5.0 but none is installed. You must install peer dependencies yourself.
      npm WARN acorn-jsx@5.2.0 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
      

      I’m glad if you can help me:)

      posted in Troubleshooting
      L
      Linas123
    • RE: Hello-Lucy Module Microphone not working

      @TheGeekfather

      I have the same problem. Do you have the solution for this issue? Pleas, let me now.

      posted in Troubleshooting
      L
      Linas123
    • RE: need help with custom css

      I mean this picture Screenshot.PNG

      posted in Custom CSS
      L
      Linas123
    • need help with custom css

      Hi,

      I have a css problem with the [MMM-darksky-hourly](https://github.com/jacquesCedric/MMM-darksky-hourly. I never had anything to do with html and css before, that’s why it was so difficult for me. In my config.js file I turned off a lot from the darksky -hourly module, how you can see here in the [Screenshot], because I still need the weather per hour for one day. I tried much in the custom.css file, that the module has the same wide as the other modules, that the distances in the lines become smaller and that it no longer has this unnecessary edge on the left side. But nothing worked. I am glad about any help.

      posted in Custom CSS
      L
      Linas123
    • 1 / 1