mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
120 seconds for shower_min_duration
This commit is contained in:
@@ -610,7 +610,7 @@ let settings = {
|
||||
shower_alert: true,
|
||||
shower_alert_trigger: 7,
|
||||
shower_alert_coldshot: 10,
|
||||
shower_min_duration: 1200,
|
||||
shower_min_duration: 120,
|
||||
rx_gpio: 23,
|
||||
tx_gpio: 5,
|
||||
phy_type: 0,
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef EMSESP_DEFAULT_SHOWER_MIN_DURATION
|
||||
#define EMSESP_DEFAULT_SHOWER_MIN_DURATION 1200
|
||||
#define EMSESP_DEFAULT_SHOWER_MIN_DURATION 120
|
||||
#endif
|
||||
|
||||
#ifndef EMSESP_DEFAULT_SHOWER_ALERT_COLDSHOT
|
||||
|
||||
@@ -46,7 +46,7 @@ class Shower {
|
||||
bool shower_alert_; // true if we want the alert of cold water
|
||||
uint32_t shower_alert_trigger_; // default 7 minutes, before trigger a shot of cold water
|
||||
uint32_t shower_alert_coldshot_; // default 10 seconds for cold water before turning back hot water
|
||||
uint32_t shower_min_duration_; // default 2 minutes (1200 seconds), before recognizing its a shower
|
||||
uint32_t shower_min_duration_; // default 2 minutes (120 seconds), before recognizing its a shower
|
||||
uint32_t next_alert_;
|
||||
bool ha_configdone_ = false; // for HA MQTT Discovery
|
||||
bool shower_state_;
|
||||
|
||||
Reference in New Issue
Block a user