@sdetweil Thank you very much for your answer and great work. You are the person how holds this forum together
Read the statement by Michael Teeuw here.
Posts
-
RE: Compatibility with raspberry Pi 5 right now and in the future.
-
RE: Compatibility with raspberry Pi 5 right now and in the future.
@sdetweil
I want to upgrade my Magic Mirror from a Pi 3 to the new Pi 5 because my old one takes almost an hour to boot — it’s basically dead already.A lot of the modules I use don’t really get updates anymore.
Do you think I could run into serious problems if I reinstall all of them on the new Pi 5?When I set everything up last time, I had issues with almost every module because of Node.js versions and similar things.
I’m not a coder, so I’m not really able to tweak the modules myself to fix compatibility issues.
-
RE: Hello-Lucy Module Microphone not working
@sdetweil Yes, I’am a bit proud of me. It’s very cool that in this forum are so helpful and nice guys.
-
RE: Hello-Lucy Module Microphone not working
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.
-
RE: Hello-Lucy Module Microphone not working
@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. -
RE: Hello-Lucy Module Microphone not working
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+ -
RE: Hello-Lucy Module Microphone not working
I use realVNC to see what is on my Mirror.
-
RE: Hello-Lucy Module Microphone not working
Sorry, I’am only just 16 years old and not so good in english. I mean response time and use the RPI 3b+.
-
RE: Hello-Lucy Module Microphone not working
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.
-
RE: Hello-Lucy Module Microphone not working
@sdetweil
I speak with a german accent. -
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. -
RE: Hello-Lucy Module Microphone not working
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?
-
RE: Hello-Lucy Module Microphone not working
It’s still the same as earlier. At the top is still the crossed-out green flashing microphone.
-
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.
-
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:”.
-
RE: Hello-Lucy Module Microphone not working
{ 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.
-
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 #0and 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 #0I 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:)
-
RE: Hello-Lucy Module Microphone not working
I have the same problem. Do you have the solution for this issue? Pleas, let me now.
-
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.
