MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Assistant2display - PIR sensor problem



  • Hello,

    i use A2D and working pretty good. But i have trouble with PIR sensor NC-SR501. I set up PIR and countdown working, but after 10-20s reset countdow to 5 minutes. I try change possition on potenciometer (sensitivity/time) on PIR and same trouble. If i disconnect PIR, coutdown work and after 5 minutes black screen.

    Do you have idea where is problem? Faulty PIR?
    I think that PIR not working correctly, becouse automatically change value, but I do not make any movement in front of the sensor.

    If i try test from wiki A2D PIR, value automatically change 1/0, but I do not make any movement in front of the sensor.

    I tried change value reverse, and no sollution.
    I tried change GPIO on RPI and same problem.

    Thanks.



  • and what wiki says ?



  • I think, you have to read this



  • @Bugsounet I have problem with PIR becouse value change automatically.

    pi@raspberrypi:~/pir $ node setup
    [PIR] PIR v1.0.4 Initialized…
    [PIR] Start
    [PIR] Sensor read value: 1
    [PIR] Detected presence (value:1)
    [PIR] Sensor read value: 0
    [PIR] Sensor read value: 1
    [PIR] Detected presence (value:1)
    [PIR] Sensor read value: 0
    [PIR] Sensor read value: 1

    This value change automatically. No start with hand etc… PIR faulty?



  • @ondrax 2 ways to solve this problem:

    1. decrease the sensibility of the pir sensor
    2. the sensor may be near a heat source (a lot of infrared is emitted), in this case move it in other place [I have personnaly this case, because my pir sensor is above my domestic heating. i move it and works]

Log in to reply