|
ESPHome 2025.12.0-dev
|
Namespaces | |
| namespace | hon_protocol |
| namespace | smartair2_protocol |
Data Structures | |
| class | BeeperOffAction |
| class | BeeperOnAction |
| class | BeeperSwitch |
| class | DisplayOffAction |
| class | DisplayOnAction |
| class | DisplaySwitch |
| class | HaierAlarmEndTrigger |
| class | HaierAlarmStartTrigger |
| struct | HaierBaseSettings |
| class | HaierClimateBase |
| class | HealthModeSwitch |
| class | HealthOffAction |
| class | HealthOnAction |
| class | HonClimate |
| struct | HonSettings |
| class | HorizontalAirflowAction |
| class | PowerOffAction |
| class | PowerOnAction |
| class | PowerToggleAction |
| class | QuietModeSwitch |
| class | SelfCleaningButton |
| class | Smartair2Climate |
| class | StartSelfCleaningAction |
| class | StartSteriCleaningAction |
| class | StatusMessageTrigger |
| class | SteriCleaningButton |
| class | VerticalAirflowAction |
Enumerations | |
| enum class | ActionRequest : uint8_t { SEND_CUSTOM_COMMAND = 0 , TURN_POWER_ON = 1 , TURN_POWER_OFF = 2 , TOGGLE_POWER = 3 , START_SELF_CLEAN = 4 , START_STERI_CLEAN = 5 } |
| enum class | CleaningState : uint8_t { NO_CLEANING = 0 , SELF_CLEAN = 1 , STERI_CLEAN = 2 } |
| enum class | HonControlMethod { MONITOR_ONLY = 0 , SET_GROUP_PARAMETERS , SET_SINGLE_PARAMETER } |
Functions | |
| bool | check_timeout (std::chrono::steady_clock::time_point now, std::chrono::steady_clock::time_point tpoint, size_t timeout) |
| void | esphome_logger (haier_protocol::HaierLogLevel level, const char *tag, const char *message) |
| void | init_haier_protocol_logging () |
Variables | |
| constexpr size_t | COMMUNICATION_TIMEOUT_MS = 60000 |
| constexpr size_t | STATUS_REQUEST_INTERVAL_MS = 5000 |
| constexpr size_t | PROTOCOL_INITIALIZATION_INTERVAL = 10000 |
| constexpr size_t | DEFAULT_MESSAGES_INTERVAL_MS = 2000 |
| constexpr size_t | CONTROL_MESSAGES_INTERVAL_MS = 400 |
| constexpr size_t | SIGNAL_LEVEL_UPDATE_INTERVAL_MS = 10000 |
| constexpr int | PROTOCOL_OUTDOOR_TEMPERATURE_OFFSET = -64 |
| constexpr uint8_t | CONTROL_MESSAGE_RETRIES = 5 |
| constexpr std::chrono::milliseconds | CONTROL_MESSAGE_RETRIES_INTERVAL = std::chrono::milliseconds(500) |
| constexpr size_t | ALARM_STATUS_REQUEST_INTERVAL_MS = 600000 |
| const uint8_t | ONE_BUF [] = {0x00, 0x01} |
| const uint8_t | ZERO_BUF [] = {0x00, 0x00} |
| constexpr uint8_t | INIT_REQUESTS_RETRY = 2 |
| constexpr std::chrono::milliseconds | INIT_REQUESTS_RETRY_INTERVAL = std::chrono::milliseconds(2000) |
|
strong |
| Enumerator | |
|---|---|
| SEND_CUSTOM_COMMAND | |
| TURN_POWER_ON | |
| TURN_POWER_OFF | |
| TOGGLE_POWER | |
| START_SELF_CLEAN | |
| START_STERI_CLEAN | |
Definition at line 17 of file haier_base.h.
|
strong |
| Enumerator | |
|---|---|
| NO_CLEANING | |
| SELF_CLEAN | |
| STERI_CLEAN | |
Definition at line 23 of file hon_climate.h.
|
strong |
| Enumerator | |
|---|---|
| MONITOR_ONLY | |
| SET_GROUP_PARAMETERS | |
| SET_SINGLE_PARAMETER | |
Definition at line 29 of file hon_climate.h.
| bool esphome::haier::check_timeout | ( | std::chrono::steady_clock::time_point | now, |
| std::chrono::steady_clock::time_point | tpoint, | ||
| size_t | timeout ) |
Definition at line 47 of file haier_base.cpp.
| void esphome::haier::esphome_logger | ( | haier_protocol::HaierLogLevel | level, |
| const char * | tag, | ||
| const char * | message ) |
Definition at line 7 of file logger_handler.cpp.
| void esphome::haier::init_haier_protocol_logging | ( | ) |
Definition at line 30 of file logger_handler.cpp.
|
constexpr |
Definition at line 20 of file hon_climate.cpp.
|
constexpr |
Definition at line 17 of file haier_base.cpp.
|
constexpr |
Definition at line 18 of file hon_climate.cpp.
|
constexpr |
Definition at line 19 of file hon_climate.cpp.
|
constexpr |
Definition at line 21 of file haier_base.cpp.
|
constexpr |
Definition at line 20 of file haier_base.cpp.
|
constexpr |
Definition at line 17 of file smartair2_climate.cpp.
|
constexpr |
Definition at line 18 of file smartair2_climate.cpp.
| const uint8_t esphome::haier::ONE_BUF[] = {0x00, 0x01} |
Definition at line 21 of file hon_climate.cpp.
|
constexpr |
Definition at line 19 of file haier_base.cpp.
|
constexpr |
Definition at line 17 of file hon_climate.cpp.
|
constexpr |
Definition at line 16 of file hon_climate.cpp.
|
constexpr |
Definition at line 18 of file haier_base.cpp.
| const uint8_t esphome::haier::ZERO_BUF[] = {0x00, 0x00} |
Definition at line 22 of file hon_climate.cpp.