mirror of
https://git.beihong.wang/wangbeihong/iot-bedroom-environment-controller.git
synced 2026-04-23 22:13:05 +08:00
能用,自动没测,不想改了,崩溃了
This commit is contained in:
@@ -17,3 +17,8 @@ device_message_t g_device_message;
|
||||
float g_temperature_threshold = 28.0f;
|
||||
bool g_cooling_mode_enabled = false;
|
||||
bool g_high_temp_alerted = false;
|
||||
|
||||
// 时间段配置(昼间/夜间)
|
||||
time_period_config_t g_day_period = {.start_hour = 8, .start_minute = 0, .end_hour = 20, .end_minute = 0};
|
||||
time_period_config_t g_night_period = {.start_hour = 20, .start_minute = 0, .end_hour = 8, .end_minute = 0};
|
||||
bool g_use_time_period = false; // 是否启用时间段控制
|
||||
|
||||
Reference in New Issue
Block a user