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

    dicker182

    @dicker182

    2
    Reputation
    646
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    dicker182 Unfollow Follow

    Best posts made by dicker182

    • MMM-Button with MMM-Podcast

      Hello,

      I’m trying to get this two modules working. Both are installed an the following code are in my config.js:

              {
              module: 'MMM-Button',
              config: {
                  // See 'Configuration options' for more information.
              }
          	},
          	{
              module: 'MMM-Podcast',
              position: 'middle_center',	
              config: {
                  feedurl: 'http://www.tagesschau.de/export/video-podcast/webxl/tagesschau-in-100-sekunden/'
                  
              }
          	},
      

      I connected my button like this:
      https://developer.microsoft.com/de-de/windows/iot/win10/samples/PushButton.htm

      The problem is, I only see on my MagicMirror in the middle center “MMM-Podcast - module 9 MMM-Podcat”. After pressing the button,
      nothing happens.

      Could anybody show me his config.js for example?

      Best regards
      Dicker182


      Note from admin: Please use Markdown on code snippets for easier reading!

      posted in Troubleshooting
      D
      dicker182
    • RE: MMM-Button with MMM-Podcast

      Its working, my fault, I connected the button wrong :)

      But how to hide the text “MMM-Podcast - module 9 MMM-Podcat”?

      EDIT: Also solved. I dont have to set a position for the podcast module.

      posted in Troubleshooting
      D
      dicker182

    Latest posts made by dicker182

    • RE: No video screen with omxplayer for MMM-Podcast2

      I have a bigger problem on a other place. But i couldn’t found it atm.

      posted in Troubleshooting
      D
      dicker182
    • RE: No video screen with omxplayer for MMM-Podcast2

      Same here

      EDIT:

      Okay in my case …

      omxplayer --win 0,0,640,480 /opt/vc/src/hello_pi/hello_video/test.h264
      

      … does not open the omxplayer on my Mirror.

      pi@raspberrypi:~ $ omxplayer --win 0,0,640,480 /opt/vc/src/hello_pi/hello_video/test.h264
      Video codec omx-h264 width 1920 height 1080 profile 77 fps 25.000000
      Subtitle count: 0, state: off, index: 1, delay: 0
      V:PortSettingsChanged: 1920x1080@25.00 interlace:0 deinterlace:0 anaglyph:0 par:1.00 display:0 layer:0 alpha:255 aspectMode:0
      have a nice day ;)
      
      posted in Troubleshooting
      D
      dicker182
    • RE: MM not starting after update

      @sdetweil thats it. Thank you!

      posted in Troubleshooting
      D
      dicker182
    • RE: MM not starting after update

      same here, I just did an

      git stash
      git pull

      in the Magicmirrir directory

      posted in Troubleshooting
      D
      dicker182
    • RE: MMM-Button white screen

      I have the same problem. Also did everything from this thread.

      posted in Troubleshooting
      D
      dicker182
    • RE: Button

      @All, sry for the lait answer, I followed all your guides, but I can´t solve the problem. I have to use another power circuit.

      @cruunnerr, same here, you have to restart your pi. After the video starts for the first time, the bug is there. You can only reload mm when the video never starts in the same session.

      posted in Troubleshooting
      D
      dicker182
    • RE: Button

      Yes it seems it is on the same circuit. The button is pressed when the light goes on and when the light goes off… :D unbelievable

      posted in Troubleshooting
      D
      dicker182
    • RE: Button

      Okay thanks, the script now starting as user pi.
      Other question, has my button.py script to run in a loop?

      EDIT: Okay the message “button pressed” are coming when I turn the floor lights on 0o?

      posted in Troubleshooting
      D
      dicker182
    • RE: Button

      Okay, now I have a script button.py which starts with rc.local after boot.

      import RPi.GPIO as GPIO
      import time
      
      GPIO.setmode(GPIO.BCM)
      GPIO.setup(9, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
      GPIO.cleanup()           # clean up GPIO on normal exit
      

      But it´s also not working. Did I miss something?

      posted in Troubleshooting
      D
      dicker182
    • RE: Button

      Both, thank you for your answer. I will try to give you more informations. The following button from Ebay are used:

      http://www.ebay.de/itm/272129888717?_trksid=p2060353.m2749.l2649&var=570940259633&ssPageName=STRK%3AMEBIDX%3AIT

      Art-Nr. 041

      At first, I tryed the configuration from PtrBld´s howto:

      0_1469563372766_upload-9e2a744a-191c-4bc0-a573-f60bb97298ea

      0_1469563330027_upload-82d3e24f-3dc3-445c-b383-2bfbd97945fd
      https://developer.microsoft.com/de-de/windows/iot/win10/samples/PushButton.htm


      After the false positiv pressed buttons, I tryed the actually config:

      0_1469563460478_upload-01973e92-35f2-4c6e-a8f0-54d28cd740ee https://dracarysdiy.files.wordpress.com/2016/03/button.jpg?w=474

      But the problem is always the same.

      @CGabo, I will have a look to your links tomorrow. But I am not an electrican, so I hope to understand.

      Thank you in advance!

      posted in Troubleshooting
      D
      dicker182