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

MMM-MotionDetector in parallel to MMM-Remote-Control?



  • Edit:
    Found the issue of the cam not working, but it disables MMM-Remote-Control.
    Anyone an idea about that? Details in post #2.


    Hi Guys,
    i am a bit puzzled.
    I have a RPi camera here, it works fine testing it with:

    "raspistill -o image.jpg"
    

    I installed the module MMM-MotionDetector and as described I did:

    - Open /etc/modules-load.d/modules.conf
    - Add bcm2835-v4l2 to the end of the file and save it.
    - Reboot.
    

    What I see is the following:

    • The debug output on the screen is never updated.
    • the display doesn’t go off.

    My entry in the config.js:

               {
                module: "MMM-MotionDetector",
                position: "top_left",   // Optional. This can be any of the regions. Displays debug informations.
                config: {
                        captureIntervalTime: 1000,
                        scoreThreshold: 20,
                        timeout: 6000 // timeout in ms
                        }
                },
    

    HW:
    RPi 3B+ and the RPi Camera 1 Rev. 1.3

    Any ideas or hints?



  • Okay here is the thing, I missed an hint in the readme of the module, which says it works only on

    address: "localhost",
    

    i had it set to:

    address: "0.0.0.0",
    

    to be able to use MMM-Remote-Control. Does anyone have an idea for me use both in parallel?


Log in to reply