paviro / MMM-PIR-Sensor

This module can monitor a PIR motion sensor and put your mirror to sleep.
215 stars 94 forks source link

New Feature: Time Range for activate the screen #87

Closed fdahms closed 4 years ago

fdahms commented 4 years ago

This is useful, if you dont want, that the screen turn on in the night for example. If the screen should stay turned off between 20-08 o'clock, you can configure the follow:

        {
                 module: 'MMM-PIR-Sensor',
                 config: {
                         // See 'Configuration options' for more information.
                         sensorPin: 22,
                         powerSavingDelay: 10,
                         notAfterHour: 20,
                         notBeforeHour: 6
                 }
         }