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

    Nususu

    @Nususu

    3
    Reputation
    847
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Nususu Unfollow Follow

    Best posts made by Nususu

    • RE: PIR sensor behind glass?

      @cowboysdude thanks, I’ll check that out and let you know how it goes!

      posted in Hardware
      N
      Nususu
    • RE: PIR sensor behind glass?

      @cowboysdude I got it working using this code:

      https://github.com/paviro/MMM-PIR-Sensor

      With this code, I’ve got a problem where the screen only stays on for about 1 second after motion detection. Now I need to modify the code somehow to allow me to tell the mirror to stay on for a set amount of time after detecting motion, i.e. only go dark once no motion has been detected for x seconds. Problem is I don’t know where to start with that. Will let you know if I figure anything out. Any ideas?

      posted in Hardware
      N
      Nususu
    • RE: PIR sensor behind glass?

      @Aly I misspoke, shouldn’t have called it documentation. Rather, it was this picture:alt text

      Which appears to be a translation from the Chinese original picture.

      posted in Hardware
      N
      Nususu

    Latest posts made by Nususu

    • RE: PIR sensor behind glass?

      @Aly I tested this today - I put a 250k resistor on R6 and it increased the timer to approximately 25 seconds. I forgot to test without a resistor. Let me know if you end up testing that.

      posted in Hardware
      N
      Nususu
    • RE: PIR sensor behind glass?

      @Aly yes, it would appear so. I just bought a soldering iron and resistors which arrive tomorrow so I’ll perform a couple tests: 1. Remove r6 and verify that it’s 30s. 2. Add 250k resistor and test duration.

      posted in Hardware
      N
      Nususu
    • RE: PIR sensor behind glass?

      @Aly I misspoke, shouldn’t have called it documentation. Rather, it was this picture:alt text

      Which appears to be a translation from the Chinese original picture.

      posted in Hardware
      N
      Nususu
    • RE: PIR sensor behind glass?

      @Aly I found documentation for the sensor that a resistor would indeed solve the issue here. I can set the delay up to 200 seconds with a 250k resistor, so I ordered one and will report back how it went.

      posted in Hardware
      N
      Nususu
    • RE: mm-pir-hide-all

      @lolobyte thanks for your reply. I am actually not using a PIR sensor, but a microwave radar sensor as I wanted to put the sensor behind the glass. After looking into it, I found that I can install a resistor on the sensor to set delay to 30 seconds.

      https://www.amazon.com/gp/aw/d/B01JA7K2EM/ref=mp_s_a_1_7?ie=UTF8&qid=1485446060&sr=8-7&pi=AC_SX236_SY340_QL65&keywords=microwave+sensor&dpPl=1&dpID=51f4ntKudYL&ref=plSrch

      If I want more than 30 seconds, would placing a higher resistance resistor on it work?

      posted in System
      N
      Nususu
    • RE: mm-pir-hide-all

      Great addition to the PIR-Sensor module. I’ve got it working on my mirror, but the only issue is that when the sensor detects movement, the screen only stays active for about a second, then goes to sleep again. Is there a line in your code that I could modify so that when movement is detected, the mirror stays on for a set duration (maybe 4 minutes)? I’ve been looking at the code but I’m new to this so I don’t really know where to start.

      posted in System
      N
      Nususu
    • RE: PIR sensor behind glass?

      @cowboysdude I got it working using this code:

      https://github.com/paviro/MMM-PIR-Sensor

      With this code, I’ve got a problem where the screen only stays on for about 1 second after motion detection. Now I need to modify the code somehow to allow me to tell the mirror to stay on for a set amount of time after detecting motion, i.e. only go dark once no motion has been detected for x seconds. Problem is I don’t know where to start with that. Will let you know if I figure anything out. Any ideas?

      posted in Hardware
      N
      Nususu
    • RE: PIR-Sensor - put your mirror to sleep if not used

      @jrleeman Hi I have the same issue that you do with the on signal only being put out for about a second after motion detection. Did you ever find a way to make the mirror stay awake for longer with the timer being reset by any motion signal?

      posted in Troubleshooting
      N
      Nususu
    • RE: PIR sensor behind glass?

      @cowboysdude thanks, I’ll check that out and let you know how it goes!

      posted in Hardware
      N
      Nususu
    • RE: PIR sensor behind glass?

      @cowboysdude I recently picked up these microwave sensor modules to use in conjunction with the code you posted for PIR Sensor. I’m pretty new to all this, and I can’t get any function out of the sensor. Do you have some advice on how to troubleshoot this? It could be an error on my part in implementing the code, wiring it incorrectly, or something else, but I’m just not sure how to figure out what the issue is.

      posted in Hardware
      N
      Nususu