• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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
    Sep 19, 2016, 11:06 PM
  • 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
    Sep 19, 2016, 11:03 PM
  • 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
    Sep 19, 2016, 11:50 AM
  • 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
    Sep 17, 2016, 10:20 PM
  • 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
    Sep 17, 2016, 10:13 PM
  • RE: Phone Notifications

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

    posted in Utilities
    M
    McSorley
    Sep 17, 2016, 10:07 PM
  • 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
    Sep 13, 2016, 12:56 PM
  • RE: MMM-ScottishPremierLeague

    It works a treat! Thanks again.

    posted in Sport
    M
    McSorley
    Sep 10, 2016, 7:17 PM
  • RE: Phone Notifications

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

    posted in Utilities
    M
    McSorley
    Sep 9, 2016, 4:20 PM
  • 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
    Sep 9, 2016, 3:35 PM
  • 1 / 1
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy