@maxbachmann
I am just wondering…did you downgrade your electron to avoid activating openGL?
With openGL activated omxplayer ist not working anymore. Or did I get something wrong.
Sorry, it is not an answer for your question.
Thx
Mr.Coffee
@maxbachmann
I am just wondering…did you downgrade your electron to avoid activating openGL?
With openGL activated omxplayer ist not working anymore. Or did I get something wrong.
Sorry, it is not an answer for your question.
Thx
Mr.Coffee
Hi,
yes, I have found a solution. The developer helped me out.
It is very simple. Just keep the “” away from the page number. (Somehow it is %22 in my post above.)
Just open a browser and enter
http://ip:8080/remote?action=NOTIFICATION& notification=PAGE_CHANGED&payload=1
Please remove the space between NOTIFICATION& and notification. The text is written wrong if I put it together.
0 is page one. 1 page two and so on.
As an alternative you can try
http://ip:8080/remote?action=NOTIFICATION& notification=PAGE_DECREMENT
or PAGE_INCREMENT
I use these commands to control the mirror using my smart home gesture control.
Thats why I had no need to modify the remote control module.
Hope it helps you anyway.
In my case, it works like a charm.
I reinstalled the whole system using another SD-card.
Now I can use the seperate USB-Mic and the audio Out comes from the other USB-Soundcard.
After that I installed all my modules like MMM-Podcast.
I played the video and … sound comes from the audio jack again:-(
However the usb mic and alexa are still working fine. It is just MMM-Podcast which uses the audio jack.
How can that be? I installed the dependecies especially the omxplayer. But that can´t be the reason, or what do you think?
lsusb
Bus 001 Device 004: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller
Bus 001 Device 005: ID 0d8c:0014 C-Media Electronics, Inc.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: Device_1 [USB Audio Device], Gerät 0: USB Audio [USB Audio]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
sudo nano ~/.asoundrc
pcm.!default {
type asym
playback.pcm "plughw:0"
capture.pcm "plughw:1"
}
ctl.!default {
type hw
card 0
}
Do you have an idea? Seems like I am almost there.
Thanks.
@maxbachmann
Great stuff!
Yes, there are only few german voice recognitions for MM2.
I really like your idea of only saying the wake word once or even get rid of it at all. I have got alexa running on the same pi3 as my magic mirror. It is not the Alexa-MMM-module. When I leave the mirror, the monitor turns off and mutes the mic. So alexa can´t hear a word anymore.
So if I am in front of the mirror, I could spend the alexa wakeword, I guess. Same with your wakeword.
Have you testet MMM-Voice-Control and MMM-Hello-Mirror? If I am not wrong, they can be used in german as well.
Not sure if they are on- or offline.
By the way: Do you have anything in common with Thomas Bachmann? :-)
[http://blog.thomas-bachmann.com/2016/02/magic-mirror-2-0-mit-gestensteuerung.html](Link Adresse)
Cheers
@e3v3a said in Installing USB Soundcard using seperate USB Mic:
dtparam=audio=off
I just tried it. Unfortunately with no luck.
Sound still comes from the audio jack.
@E3V3A
Hi, I tried the steps from “cloning” to "sudo /home/pi/GassistPi/audio-drivers/USB-MIC-JACK/scripts/usb-mic-onboard-jack.sh " (I have got Alexa not google assistant;-))
The alexa beep sounds normal again, but after that there is silence. And I can still force the beep only once per reboot.
@e3v3a
Thanks for the help.
I didn´t tried it yet because meanwhile my mic has some problems too. The “beep” from Alexa ist still there but sounds already not round. After that the mic does not react at all.
Guess I will reset the whole system. Unfortunately I did not have a backup.
By the way: If anybody of you knows a raspberry backup programm which I can use under windows please let me know.
I will inform you when I reseted my system.
@e3v3a
Now it is getting weired.
I disabled the internal broadcom by adding it to the blacklist:
sudo tee /etc/modprobe.d/blacklist-snd_bcm2835.conf
blacklist snd_bcm2835
After reboot it is correctly not shown again:
aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: Device_1 [USB Audio Device], Gerät 0: USB Audio [USB Audio]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
But if I start playing a media, the sound still comes from the audio jack.
How can that be?
Thank you for your fast response.
Unfortunately it is still not working. I tried both versions and restarted with the command you told me.
I even rebootet just to be sure.
What I didnt do is switching the cable from jack to the usb soundcard, because it is late and the mirror on the wall again. But I expect, that it would be mute if it works, right?
I forgot to write above, that I can see all 3 devices in the alsamixer.
@thelonegeek
Sorry. I am absolutely no expert in this.
I dont even have a mac book.