Skip to content
Detect Motion from PiCamera and send Notification
JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore implementing inontime Jul 8, 2019
CONTRIBUTING.md Create CONTRIBUTING.md Jul 3, 2019
LICENSE add first draft for my module Jun 6, 2019
MMM-MotionControl.js fixing some issues with moment Jul 8, 2019
README.md implementing inontime Jul 8, 2019
package-lock.json implementing inontime Jul 8, 2019
package.json implementing inontime Jul 8, 2019

README.md

MMM-MotionControl

Detect motion on mirror and control the tv with my other Module MMM-CECControl

I try to implement different other modules as a hub. You can use MMM-Facial-Recognition-OCV3, this module receive the notification and turn the tv on or off.

Added following module as well, MMM-Face-Reco-DNN.

Screenshot

We can't do a Screenshot because it runs in the background :) It's only react on some events to turn the TV on and off.

Setup the Module

Config Description
delay Delay to turn the TV off after the off notification was sent.
Default Value: 15000
interval Interval to check modules.
Default Value: 5000
useFacialRecognitionOCV3 Use the module MMM-Facial-Recognition-OCV3 to control the TV
Default Value: false
useMMMFaceRecoDNN Use the module MMM-Face-Reco-DNN to control the TV
Default Value: false
ontime Time where TV is always on. Array with times ['0700-1200', '1300-2000'].
Default Value: []

Full configuration of the module

{
    module: 'MMM-MotionControl',
    config: {
        // Delay to turn the TV off
        delay: 15000,
        // Interval to check modules
        interval: 5000,
        // Use the module MMM-Facial-Recognition-OCV3
        useFacialRecognitionOCV3: false,
        // Use the module MMM-Face-Reco-DNN
        useMMMFaceRecoDNN: false,
        // Array where tv should be on
        ontime: []
    }
}
You can’t perform that action at this time.