@cowboysdude thanks, I’ll check that out and let you know how it goes!
Read the statement by Michael Teeuw here.
Best posts made by Nususu
-
RE: PIR sensor behind glass?
-
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?
-
RE: PIR sensor behind glass?
@Aly I misspoke, shouldn’t have called it documentation. Rather, it was this picture:
Which appears to be a translation from the Chinese original picture.
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.
-
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.
-
RE: PIR sensor behind glass?
@Aly I misspoke, shouldn’t have called it documentation. Rather, it was this picture:
Which appears to be a translation from the Chinese original picture.
-
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.
-
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.
If I want more than 30 seconds, would placing a higher resistance resistor on it work?
-
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.
-
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?
-
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?
-
RE: PIR sensor behind glass?
@cowboysdude thanks, I’ll check that out and let you know how it goes!
-
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.