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

    Posts

    Recent Best Controversial
    • RE: omxplayer overlay

      @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

      posted in Development
      MrCoffeeM
      MrCoffee
    • RE: MMM-page-indicator: No marked indicator when changing pages with remote control

      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.

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: Installing USB Soundcard using seperate USB Mic

      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.

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: German Voice Recognition

      @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

      posted in Fun & Games
      MrCoffeeM
      MrCoffee
    • RE: Installing USB Soundcard using seperate USB Mic

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

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: Installing USB Soundcard using seperate USB Mic

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

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: Installing USB Soundcard using seperate USB Mic

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

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: Installing USB Soundcard using seperate USB Mic

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

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: Installing USB Soundcard using seperate USB Mic

      @NoNameRo

      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.

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: MMM-iHaveBeenThere how to adjust zoom

      @thelonegeek
      Sorry. I am absolutely no expert in this.
      I dont even have a mac book.

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • Installing USB Soundcard using seperate USB Mic

      Hi,

      I use a Pi 3 with jessie.
      My Monitor doesn´t have HDMI thats why I use the audio jack of the Pi to play sound to the monitor speakers.
      Additionaly I use a usb mic.
      This setting works fine, but the audio out is very silent. Thats why I want to add a usb soundcard (just for audio out).

      And here my problem starts. The Pi always plays sound over the audio jack. No matter what.

      I already spended hours searching the internet and trying different thinks.
      Here are some outputs:

      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.
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      

      It is Device 5.

      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
      Karte 2: ALSA [bcm2835 ALSA], Gerät 0: bcm2835 ALSA [bcm2835 ALSA]
        Sub-Geräte: 8/8
        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
        Sub-Gerät #7: subdevice #7
      Karte 2: ALSA [bcm2835 ALSA], Gerät 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
        Sub-Geräte: 1/1
        Sub-Gerät #0: subdevice #0
      

      arecord -l:

      **** Liste der Hardware-Geräte (CAPTURE) ****
      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
      Karte 1: Device [USB PnP Sound Device], Gerät 0: USB Audio [USB Audio]
        Sub-Geräte: 0/1
        Sub-Gerät #0: subdevice #0
      

      So, card 0 aka Device_1 is my usb soundcard and card 1 aka Device is my microphone.

      cat /proc/asound/modules:

      0 snd_usb_audio
      1 snd_usb_audio
      2 snd_bcm2835
      

      I didn´t touch the configuration but both usb´s are starting before the internal soundcard.

      I tried different /etc/asound.conf, for expample:

      #defaults.ctl.card 0
      #defaults.pcm.card 0
      pcm.!default {
          type asym
          playback.pcm "plughw:Device_1"
          capture.pcm  "plughw:Device"
      }
      

      or

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

      I even edited the default devices in the /usr/share/alsa/alsa.conf.
      No luck at all.

      I am thankful for every help.

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: MMM-iHaveBeenThere : how to adjust zoom

      I tried it again and found my mistake.

      The default zoomLevel is 4.5.
      I testet small adjustment steps and then jumped to 0.
      However 0 is not zero zoom. I am not sure what it is.
      But it seems like I skipped the 1 which is no zoom.

      With zoomLevel 1 it was easy to adjust the zoomLongitude and zoomLatitude.

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: MMM-iHaveBeenThere how to adjust zoom

      @ninjabreadman
      Thanks for the help.
      I tried it again and found my mistake.

      Like you said, the default is 4.5.
      I testet small adjustment steps and then jumped to 0.
      However 0 is not zero zoom. I am not sure what it is.
      But it seems like I skipped the 1 which is no zoom.

      With zoomLevel 1 it was easy to adjust the zoomLongitude and zoomLatitude.

      Thank you!

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: Videostream of "Tagesschau in 100 Sekunden"?

      @fox
      Did you get it running?
      I tinkered a little workaround because my MMM-podcast in combination with MMM-Button sometimes failed.
      The workaround was easier for me than solving the problem.

      I am definitly not good in coding. But however it works;-)

      posted in Requests
      MrCoffeeM
      MrCoffee
    • RE: MMM-iHaveBeenThere how to adjust zoom

      Hey fox,

      although your post was made a year ago … did you get it running?
      I want to see the whole world too and don´t get it.

      Thx

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: MMM-pages: Changes in config does not change the mirror display, only the browser view

      A new version was published.
      Now it works again.

      Solved.

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • MMM-iHaveBeenThere : how to adjust zoom

      Hi,

      the default setting of the module does only show europe and a little more.
      Well, we traveled from Cuba to Bali and need to see the whole world.
      I tried different zoom level, but I don´t get it.

      Does anyone know how to set these settings to see the world in total?

      zoomLevel:
      zoomLongitude:
      zoomLatitude:

      Thanks a lot.

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: MMM-Podcast don't show/load the latest video

      @cruunnerr

      So after a couple of days I gave it a new try.
      You were close to the solution. I did not install the dependencies right.

      For all with the same issue, you have to read the instructions better than I did:

      1. Navigate into your MagicMirror’s modules folder and execute git clone https://github.com/ptrbld/MMM-Podcast.git. A new folder will appear navigate into it. --> which means navigate into MMM-Podcast.
      2. Execute npm install to install the node dependencies. --> in the folder MMM-Podcast, install the omx-manager and omxdirector (see dependencies).
        3. Install omxplayer. --> However, I already had the newest version installed.

      Now it works fine. And it is pretty awesome.

      Thanks for helping me.

      Mr.Coffee

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • Newsfeed : How to keep "showDescription" after leaving the full article?

      Hi,

      I would like to see the description of the news in the newsfeed all the time.
      So, like mentioned in the options, I changed the “showDescription = false” in the newsfeed.js to “true”.
      It works fine. I can see the description of every article without doing anything, even when the articles update.

      The problem is when I use the command “ARTICLE_MORE_DETAILS” to open the full article. It works like a charm, but when I close the full article I use the command “ARTICLE_LESS_DETAILS”. It goes back to the newsfeed but unfortunately without showing the descriptions anymore. I only see the headlines (like “showDescription = false” although “true” is still set of course).

      If I use the command “ARTICLE_MORE_DETAILS” again, the description opens, but the article is freezed - like coded.

      Do you have any idea, how I can leave the full article going back to the “show-description-version”?
      Or instead, how can I remove the freeze?

      Thanks a lot.
      Greetings

      Mr.Coffee

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • RE: MMM-pages: Changes in config does not change the mirror display, only the browser view

      I reinstalled the MMM-pages modul with no results. Still the same problem.

      I even restartet to fill the mirror config.js, only using the default modules. Still the same problem.

      Does nobody have an idea?

      posted in Troubleshooting
      MrCoffeeM
      MrCoffee
    • 1 / 1