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

    Posts

    Recent Best Controversial
    • RE: Besides your MagicMirror, what are some Maker-projects you worked/working on?

      @KirAsh4 Siri! Lower the force field!

      posted in General Discussion
      M
      McSorley
    • RE: HMDI (from Pi 3) to DVI? Will it work?

      I have a DVI right angle adapter with a DVI to HDMI Cable.

      posted in Hardware
      M
      McSorley
    • RE: Cheapest monitor?

      If you are looking for bulk. I would suggesting phoning a few IT resellers to see if you can get some old OEM gear.

      posted in Hardware
      M
      McSorley
    • RE: PIR Senor Test

      I thought the same for a long time using the because I didnt have a breadboard. I went with the PIR Setup on the raspberry pi website. Managed to use this code to see that it works. You will need gpiozero to run it. Open Python 3. File > New. Paste this code in.

      from gpiozero import MotionSensor
      import os
      
      pir = MotionSensor(4) #4 is the Pin?
      while True:
        if pir.wait_for_motion(timeout=10*60): #10 * 60 Seconds
              os.system("/opt/vc/bin/tvservice -p")
        else:
           os.system("/opt/vc/bin/tvservice -o")
      

      You can if you want edit
      os.system("/opt/vc/bin/tvservice -p")
      to
      print("Motion Detected")
      to test if your PIR Sensor is working ok. After changing it, save it and press Ctrl + F5 to run the code. It will then spam up with motion detect or undetected depending on what you’ve changed.

      posted in Troubleshooting
      M
      McSorley
    • RE: Cheapest monitor?

      @deephouselounge I would suggest going to a local IT shop for the cheapest of cheap or look for second hand monitor online.
      Make sure the ports suit your means though.

      posted in Hardware
      M
      McSorley
    • RE: Phone Notifications

      @ronny3050 Any ideas on how to clear notifcations once read?

      posted in Utilities
      M
      McSorley
    • RE: Mirror, mirror on the wall. Who has the biggest of them all?

      Great blog. Very nice read. Unless there is a lottery win in my future I dont see there being anything bigger.

      posted in Show your Mirror
      M
      McSorley
    • RE: MMM-ScottishPremierLeague

      It works a treat! Thanks again.

      posted in Sport
      M
      McSorley
    • RE: Phone Notifications

      Just given this a go and it looks great. :)

      posted in Utilities
      M
      McSorley
    • RE: MMM-PIR-Sensor - White Screen

      I made an attempt at fixing it but I struggled to find many JavaScript/Node.js tutorials out there. I have however managed to compile a straight forward script in Python that I have set up to run with pm2. A workaround for those who are in high demand for the motion sensor to work and to give paviro some breathing space.

      Sorry but I don’t know how to add this as code snippets. If a mod could help me out that that would be great.

      Open Python 3. File > New. Paste this code in.

      from gpiozero import MotionSensor
      import os
      
      pir = MotionSensor(4) #4 is the Pin?
      while True:
          if pir.wait_for_motion(timeout=10*60): #10 * 60 Seconds
              os.system("/opt/vc/bin/tvservice -p")
          else:
              os.system("/opt/vc/bin/tvservice -o")
      

      You can if you want edit
      os.system("/opt/vc/bin/tvservice -p")
      to
      print("Motion Detected")
      to test if your PIR Sensor is working ok. After changing it, save it and press Ctrl + F5 to run the code. It will then spam up with motion detect or undetected depending on what you’ve changed.

      Moderator’s note: You can use backticks (`) to highlight code. Check out the help at http://commonmark.org/help/ - scroll down to see the various options for using backticks.

      posted in Troubleshooting
      M
      McSorley
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 5 / 6