Who can help me to find my PIR Sensor problem



  • Who can help me to find my PIR Sensor problem ?

    Using:
    Raspberry Pi 3 Model B Rev 1.2
    processor : 3
    model name : ARMv7 Processor rev 4 (v7l)
    BogoMIPS : 76.80
    Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x0
    CPU part : 0xd03
    CPU revision : 4
    Hardware : BCM2835
    Revision : a02082
    Serial : 00000000af2e503e

    MMM v2.1.3
    https://github.com/paviro/MMM-PIR-Sensor.git

    already done:
    git clone …
    npm install …
    chmod on user and map structures

    All i get is my normal MM screen and every other modul works fine.
    Testing on Motion-test.js shows me the correct status, and turns HDMI monitor off and on.

    also tested the MMM-MotionCensor but the same problem. the monitor is not going to sleep.

    regards,
    Harm Moed



  • Have you tested the PIR independently of the mirror ? (ie, does it work the way you want it to ?). This is a good guide to setting them up and testing they work.

    https://www.raspberrypi-spy.co.uk/2013/01/cheap-pir-sensors-and-the-raspberry-pi-part-1/

    I had issues with the same MM module, and chose to use this solution instead, which works perfectly and has the added advantage of working regardless of whether MM is running.

    https://github.com/deg0nz/MagicMirror-Display-Controller



  • Bob thnx,

    It’s working fine now.
    just iinstalled it like a service and added the PIR.PY a litle bit just for my personal settings and my HDMI screen turns off afther 5 minutes.

    Next thing i want to do is to include it as a module in he MMM Remote Control app so i can show or hide the status and countdown time on un mobile or screen.

    tHNx again Bob.



  • @hmoed No problem, glad you got it working.


 

279
Online

6.0k
Users

4.5k
Topics

37.1k
Posts