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

    Posts

    Recent Best Controversial
    • MMM-PIR-Senor shut off usb port(s)

      Hello,

      I think it would be nice, if the usb port is shut down, when the monitor turns of. I have some speakers on my MM via usb and they make some noise. When it is still in the night you can hear it.
      It it possible to cut of the energy supply to one or two usb ports?

      Sebastian

      posted in Development
      S
      shgmongohh
    • RE: MMM-PIR-Sensor tuning

      It done. I can tune my PIR-Sensor.
      Here is a usefull Link.

      posted in Troubleshooting
      S
      shgmongohh
    • RE: MMM-PIR-Sensor tuning

      I have found a python programm, where I can track the sensor in a consolen window. Has anybody an idea how i can safe the data into a document? And how I can autostart my python programm?

      # Import required Python libraries
      import RPi.GPIO as GPIO
      import time
      import datetime
      
      # Use BCM GPIO references
      # instead of physical pin numbers
      GPIO.setmode(GPIO.BCM)
      
      # Define GPIO to use on Pi
      GPIO_PIR = 23
      
      print "Bewegungsmelder Test (CTRL-C zum Beenden)"
      print "========================================="
      
      # Set pin as input
      GPIO.setup(GPIO_PIR,GPIO.IN)      # Echo
      
      Current_State  = 0
      Previous_State = 0
      
      try:
      
        print "%s: Sensor initialisieren ..." % datetime.datetime.now()  
      
        # Loop until PIR output is 0
        while GPIO.input(GPIO_PIR)==1:
          Current_State  = 0    
      
        print "%s: Fertig! Warte auf Bewegung..."  % datetime.datetime.now()    
          
        # Loop until users quits with CTRL-C
        while True :
         
          # Read PIR state
          Current_State = GPIO.input(GPIO_PIR)
         
          if Current_State==1 and Previous_State==0:
            # PIR is triggered
            print " %s: Bewegung erkannt!" % datetime.datetime.now() 
            # Record previous state
            Previous_State=1
          elif Current_State==0 and Previous_State==1:
            # PIR has returned to ready state
            print " %s: Fertig! Warte auf Bewegung..."  % datetime.datetime.now() 
            Previous_State=0
            
          # Wait for 10 milliseconds
          time.sleep(0.01)      
            
      except KeyboardInterrupt:
        print " Exit"
        # Reset GPIO settings
        GPIO.cleanup()
      posted in Troubleshooting
      S
      shgmongohh
    • MMM-Podcast dont´t show the latest video

      I have MMM Button and MMM-Podcast installed. Everything works fine,
      but when I push the button, not the last podcast (video) is shown. It shows the video what was the latest, when I boot the MM. Any Idea?

       {
             module: 'MMM-Button',
              config: {
      				//https://github.com/PtrBld/MMM-Button
      				//https://developer.microsoft.com/en-us/windows/iot/samples/pushbutton
      			// pin GIPO 5 und Ground
      			buttonPIN: '5'
      		
              }
      	},
      	
          {
             module: 'MMM-Podcast',
             //position: 'middle_center',
              config: {
                feedurl: 'http://www.tagesschau.de/export/video-podcast/webxl/tagesschau-in-100-sekunden/'
              }
      	},
      
      posted in Troubleshooting
      S
      shgmongohh
    • RE: MMM-PIR-Sensor tuning

      @jc21
      Thank you. I don´t have a camera.
      I don´t know if the sonsor works not correct or if I have another issue.

      When I install your module, have I to delete or uninstall the other pir-module?
      I only have renamed the folder.
      If i have to delete it, how is it done?

      Sebastian

      posted in Troubleshooting
      S
      shgmongohh
    • Default MM clock is slow

      Hi,

      when my mirror is on for round about 8h the time of the clock is wrong. The clock loses about 10 minutes.

      Has anybody an idea why.

      Sebastian

      posted in Troubleshooting
      S
      shgmongohh
    • RE: MMM-PIR-Sensor tuning

      @jc21
      No with the “original” PIR-Sensor I don´t have this issues. That´s why I it noticed.

      I have still the issue with the sensor, that it turns on the monitior at night, when nobody is there. I need a programm to track, how often this at night happens. If it is only one or two times at night or more often.

      Sebastian

      posted in Troubleshooting
      S
      shgmongohh
    • RE: MMM-PIR-Sensor tuning

      @jc21
      Sorry, I have some issues with your MMM-PIR-Sensor.
      When I install your MMM-PIR-Sensor, my MagicMirror is slower, the MMM-Scheduler doesn´t work and the MM doesn´t stop with pm2 stop mm.
      Any idea?

      posted in Troubleshooting
      S
      shgmongohh
    • RE: Newfeet only show the last rss feed

      @KirAsh4
      Thank you. It woks fine!

      Sebastian

      posted in Troubleshooting
      S
      shgmongohh
    • RE: MMM-PIR-Sensor tuning

      @KirAsh4 said in MMM-PIR-Sensor tuning:

      I have add the line to the config section. My question is, how can I look at the console log, when I have start the mm new.
      Have I go to a special folder, have I to put something in the consule?

      pi@raspberrypi:~ $ pm2 stop mm
      [PM2] Applying action stopProcessId on app [mm](ids: 0)
      [PM2] [mm](0) ✓
      ┌──────────┬────┬──────┬─────┬─────────┬─────────┬────────┬────────┬──────────┐
      │ App name │ id │ mode │ pid │ status  │ restart │ uptime │ memory │ watching │
      ├──────────┼────┼──────┼─────┼─────────┼─────────┼────────┼────────┼──────────┤
      │ mm       │ 0  │ fork │ 0   │ stopped │ 0       │ 0      │ 0 B    │ disabled │
      └──────────┴────┴──────┴─────┴─────────┴─────────┴────────┴────────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      pi@raspberrypi:~ $ pm2 start mm
      [PM2] Applying action restartProcessId on app [mm](ids: 0)
      [PM2] [mm](0) ✓
      [PM2] Process successfully started
      ┌──────────┬────┬──────┬──────┬────────┬─────────┬────────┬────────────┬────────   ──┐
      │ App name │ id │ mode │ pid  │ status │ restart │ uptime │ memory     │ watchin   g │
      ├──────────┼────┼──────┼──────┼────────┼─────────┼────────┼────────────┼────────   ──┤
      │ mm       │ 0  │ fork │ 1246 │ online │ 0       │ 0s     │ 2.262 MB   │ disable   d │
      └──────────┴────┴──────┴──────┴────────┴─────────┴────────┴────────────┴────────   ──┘
       Use `pm2 show <id|name>` to get more details about an app
      pi@raspberrypi:~ $
      

      So, what next?

      Sebastian

      posted in Troubleshooting
      S
      shgmongohh
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 5 / 10