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

    thoimi

    @thoimi

    1
    Reputation
    469
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    thoimi Unfollow Follow

    Best posts made by thoimi

    • RE: [MMM-PIR-Sensor] Install failing

      @Jopyth
      thank you for the updated script!
      the new script also shows me “Intruder detected” … i tried many variations of time and sensitivity adjustments…

      I found another script on the internet:

      from gpiozero import MotionSensor
      
      pir = MotionSensor(4)
      while True:
          if pir.motion_detected:
              print("Motion detected!")
      

      This script shows me also the “Motion detected” all the time…
      Maybe the PIR-Sensor itself is the problem… I will try with another Sensor next week :(

      posted in Troubleshooting
      T
      thoimi

    Latest posts made by thoimi

    • RE: [MMM-PIR-Sensor] Install failing

      hi there,

      finally i had the time to work / finish my magic mirror.
      Just the PIR-Sensor-Plugin doesn’t work… After I updated the MM to 2.1.1 I did a fresh install of the script which worked without an error. Yay!

      BUT the script is not turning off my monitor… I connected the sensor to GPIO04 / BCM07 and tried to change the SensorPin-Number (from 4 to 7)

      I put the sensor in a black box so the display should shut down after starting Magic Mirror, right?

      posted in Troubleshooting
      T
      thoimi
    • RE: [MMM-PIR-Sensor] Install failing

      @Jopyth
      thank you for the updated script!
      the new script also shows me “Intruder detected” … i tried many variations of time and sensitivity adjustments…

      I found another script on the internet:

      from gpiozero import MotionSensor
      
      pir = MotionSensor(4)
      while True:
          if pir.motion_detected:
              print("Motion detected!")
      

      This script shows me also the “Motion detected” all the time…
      Maybe the PIR-Sensor itself is the problem… I will try with another Sensor next week :(

      posted in Troubleshooting
      T
      thoimi
    • RE: [MMM-PIR-Sensor] Install failing

      @Jopyth Thank you for your quick reply! :)
      I tried for hours now… I think it’s connected correctly, because when I’m switching the pin-number in the script the script shows me always “0” - with the correct pin-number it shows me “1”…
      I also put the sensor in a box - always shows me “1”… completely strange… :/

      posted in Troubleshooting
      T
      thoimi
    • RE: [MMM-PIR-Sensor] Install failing

      @Jopyth I had the same problem.
      Your work-around (installation) worked for me but the sensor does not seem to do anything…
      the test.py script shows me always “1” - also when nothing is moving in the room…

      posted in Troubleshooting
      T
      thoimi