From 8091bd1ba2be4d4a3dbf5d1e1c438e742321a459 Mon Sep 17 00:00:00 2001 From: Alexey Zholtikov Date: Wed, 17 Jul 2024 08:30:04 +0300 Subject: [PATCH] Reduced ZH_SENSOR_STATUS_MESSAGE_FREQUENCY --- main/zh_espnow_switch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/zh_espnow_switch.h b/main/zh_espnow_switch.h index 3453321..7cad0d0 100644 --- a/main/zh_espnow_switch.h +++ b/main/zh_espnow_switch.h @@ -48,7 +48,7 @@ #define ZH_SWITCH_KEEP_ALIVE_MESSAGE_FREQUENCY 10 // Frequency of sending a switch keep alive message to the gateway (in seconds). #define ZH_SWITCH_ATTRIBUTES_MESSAGE_FREQUENCY 60 // Frequency of sending a switch attributes message to the gateway (in seconds). -#define ZH_SENSOR_STATUS_MESSAGE_FREQUENCY 300 // // Frequency of sending a sensor status message to the gateway (in seconds). +#define ZH_SENSOR_STATUS_MESSAGE_FREQUENCY 60 // Frequency of sending a sensor status message to the gateway (in seconds). #define ZH_SENSOR_ATTRIBUTES_MESSAGE_FREQUENCY 60 // Frequency of sending a sensor attributes message to the gateway (in seconds). #define ZH_GPIO_TASK_PRIORITY 3 // Prioritize the task of GPIO processing.