reduce presesnce detection publish interval
This commit is contained in:
@@ -37,7 +37,7 @@ void PresenceDetection::initialize()
|
|||||||
|
|
||||||
void PresenceDetection::update()
|
void PresenceDetection::update()
|
||||||
{
|
{
|
||||||
vTaskDelay( 10000 / portTICK_PERIOD_MS);
|
vTaskDelay( 5000 / portTICK_PERIOD_MS);
|
||||||
|
|
||||||
if(_timeout < 0) return;
|
if(_timeout < 0) return;
|
||||||
if(_devices.size() == 0) return;
|
if(_devices.size() == 0) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user