From b93dd47a012614a40b338f2929ab212089f53f3e Mon Sep 17 00:00:00 2001 From: gegu Date: Sun, 14 Jun 2020 13:02:04 +0200 Subject: [PATCH] Changed PIR sensor switch timeout --- usermods/PIR_sensor_switch/usermod_PIR_sensor_switch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usermods/PIR_sensor_switch/usermod_PIR_sensor_switch.h b/usermods/PIR_sensor_switch/usermod_PIR_sensor_switch.h index aa76147c..6d71a426 100644 --- a/usermods/PIR_sensor_switch/usermod_PIR_sensor_switch.h +++ b/usermods/PIR_sensor_switch/usermod_PIR_sensor_switch.h @@ -31,7 +31,7 @@ class PIRsensorSwitch : public Usermod { // notification mode for colorUpdated() const byte NotifyUpdateMode = NOTIFIER_CALL_MODE_NO_NOTIFY; // NOTIFIER_CALL_MODE_DIRECT_CHANGE // delay before switch off after the sensor state goes LOW - uint32_t m_switchOffDelay = 120000; + uint32_t m_switchOffDelay = 600000; // off timer start time uint32_t m_offTimerStart = 0; // current PIR sensor pin state