From e2cec0207d559c69e9572cca3035c3e421e9e16b Mon Sep 17 00:00:00 2001 From: technyon Date: Wed, 6 Apr 2022 18:27:56 +0200 Subject: [PATCH] reduce presesnce detection publish interval --- PresenceDetection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PresenceDetection.cpp b/PresenceDetection.cpp index 0eafdc8..2949757 100644 --- a/PresenceDetection.cpp +++ b/PresenceDetection.cpp @@ -37,7 +37,7 @@ void PresenceDetection::initialize() void PresenceDetection::update() { - vTaskDelay( 10000 / portTICK_PERIOD_MS); + vTaskDelay( 5000 / portTICK_PERIOD_MS); if(_timeout < 0) return; if(_devices.size() == 0) return;