File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ static gdo_status_t g_status = {
86
86
.close_ms = 0 ,
87
87
.door_position = -1 ,
88
88
.door_target = -1 ,
89
- .client_id = 0x666 ,
89
+ .client_id = 0x5AFE ,
90
90
.rolling_code = 0 ,
91
91
};
92
92
@@ -101,7 +101,7 @@ static esp_timer_handle_t motion_detect_timer;
101
101
static esp_timer_handle_t door_position_sync_timer ;
102
102
static esp_timer_handle_t obst_timer ;
103
103
static void * g_user_cb_arg ;
104
- static uint32_t g_tx_delay_ms = 50 ;
104
+ static uint32_t g_tx_delay_ms = 250 ; // Less than 250 is too frequent and brownouts many wall controllers
105
105
static portMUX_TYPE gdo_spinlock = portMUX_INITIALIZER_UNLOCKED ;
106
106
107
107
@@ -753,7 +753,7 @@ esp_err_t gdo_set_close_duration(uint16_t ms) {
753
753
* @return ESP_OK on success, ESP_ERR_INVALID_ARG if the time is invalid.
754
754
*/
755
755
esp_err_t gdo_set_min_command_interval (uint32_t ms ) {
756
- if (ms < 50 ) {
756
+ if (ms < 250 ) {
757
757
ESP_LOGE (TAG , "Invalid minimum command interval: %" PRIu32 , ms );
758
758
return ESP_ERR_INVALID_ARG ;
759
759
}
You can’t perform that action at this time.
0 commit comments