ESPHome 2025.5.0
Loading...
Searching...
No Matches
hon_packet.h File Reference

Go to the source code of this file.

Data Structures

struct  esphome::haier::hon_protocol::HaierPacketControl
 
struct  esphome::haier::hon_protocol::HaierPacketSensors
 
struct  esphome::haier::hon_protocol::HaierPacketBigData
 
struct  esphome::haier::hon_protocol::DeviceVersionAnswer
 

Namespaces

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  esphome::haier
 
namespace  esphome::haier::hon_protocol
 

Enumerations

enum class  esphome::haier::hon_protocol::VerticalSwingMode : uint8_t {
  esphome::haier::hon_protocol::HEALTH_UP = 0x01 , esphome::haier::hon_protocol::MAX_UP = 0x02 , esphome::haier::hon_protocol::HEALTH_DOWN = 0x03 , esphome::haier::hon_protocol::UP = 0x04 ,
  esphome::haier::hon_protocol::CENTER = 0x06 , esphome::haier::hon_protocol::DOWN = 0x08 , esphome::haier::hon_protocol::MAX_DOWN = 0x0A , esphome::haier::hon_protocol::AUTO = 0x0C ,
  esphome::haier::hon_protocol::AUTO_SPECIAL = 0x0E
}
 
enum class  esphome::haier::hon_protocol::HorizontalSwingMode : uint8_t {
  esphome::haier::hon_protocol::CENTER = 0x00 , esphome::haier::hon_protocol::MAX_LEFT = 0x03 , esphome::haier::hon_protocol::LEFT = 0x04 , esphome::haier::hon_protocol::RIGHT = 0x05 ,
  esphome::haier::hon_protocol::MAX_RIGHT = 0x06 , esphome::haier::hon_protocol::AUTO = 0x07
}
 
enum class  esphome::haier::hon_protocol::ConditioningMode : uint8_t {
  esphome::haier::hon_protocol::AUTO = 0x00 , esphome::haier::hon_protocol::COOL = 0x01 , esphome::haier::hon_protocol::DRY = 0x02 , esphome::haier::hon_protocol::HEALTHY_DRY = 0x03 ,
  esphome::haier::hon_protocol::HEAT = 0x04 , esphome::haier::hon_protocol::ENERGY_SAVING = 0x05 , esphome::haier::hon_protocol::FAN = 0x06
}
 
enum class  esphome::haier::hon_protocol::DataParameters : uint8_t {
  esphome::haier::hon_protocol::AC_POWER = 0x01 , esphome::haier::hon_protocol::SET_POINT = 0x02 , esphome::haier::hon_protocol::VERTICAL_SWING_MODE = 0x03 , esphome::haier::hon_protocol::AC_MODE = 0x04 ,
  esphome::haier::hon_protocol::FAN_MODE = 0x05 , esphome::haier::hon_protocol::USE_FAHRENHEIT = 0x07 , esphome::haier::hon_protocol::DISPLAY_STATUS = 0x09 , esphome::haier::hon_protocol::TEN_DEGREE = 0x0A ,
  esphome::haier::hon_protocol::HEALTH_MODE = 0x0B , esphome::haier::hon_protocol::HORIZONTAL_SWING_MODE = 0x0C , esphome::haier::hon_protocol::SELF_CLEANING = 0x0D , esphome::haier::hon_protocol::BEEPER_STATUS = 0x16 ,
  esphome::haier::hon_protocol::LOCK_REMOTE = 0x17 , esphome::haier::hon_protocol::QUIET_MODE = 0x19 , esphome::haier::hon_protocol::FAST_MODE = 0x1A , esphome::haier::hon_protocol::SLEEP_MODE = 0x1B
}
 
enum class  esphome::haier::hon_protocol::SpecialMode : uint8_t { esphome::haier::hon_protocol::NONE = 0x00 , esphome::haier::hon_protocol::ELDERLY = 0x01 , esphome::haier::hon_protocol::CHILDREN = 0x02 , esphome::haier::hon_protocol::PREGNANT = 0x03 }
 
enum class  esphome::haier::hon_protocol::FanMode : uint8_t { esphome::haier::hon_protocol::FAN_HIGH = 0x01 , esphome::haier::hon_protocol::FAN_MID = 0x02 , esphome::haier::hon_protocol::FAN_LOW = 0x03 , esphome::haier::hon_protocol::FAN_AUTO = 0x05 }
 
enum class  esphome::haier::hon_protocol::SubcommandsControl : uint16_t {
  esphome::haier::hon_protocol::GET_PARAMETERS = 0x4C01 , esphome::haier::hon_protocol::GET_USER_DATA = 0x4D01 , esphome::haier::hon_protocol::GET_BIG_DATA = 0x4DFE , esphome::haier::hon_protocol::SET_PARAMETERS = 0x5C01 ,
  esphome::haier::hon_protocol::SET_SINGLE_PARAMETER = 0x5D00 , esphome::haier::hon_protocol::SET_GROUP_PARAMETERS = 0x6001
}
 

Variables

const std::string esphome::haier::hon_protocol::HON_ALARM_MESSAGES []
 
constexpr size_t esphome::haier::hon_protocol::HON_ALARM_COUNT = sizeof(HON_ALARM_MESSAGES) / sizeof(HON_ALARM_MESSAGES[0])