7 namespace hitachi_ac424 {
77 #define HITACHI_AC424_GETBIT8(a, b) ((a) & ((uint8_t) 1 << (b))) 78 #define HITACHI_AC424_GETBITS8(data, offset, size) \ 79 (((data) & (((uint8_t) UINT8_MAX >> (8 - (size))) << (offset))) >> (offset)) 84 : climate_ir::
ClimateIR(HITACHI_AC424_TEMP_MIN, HITACHI_AC424_TEMP_MAX, 1.0F, true, true,
91 0x01, 0x10, 0x00, 0x40, 0xBF, 0xFF, 0x00, 0xCC, 0x33, 0x92, 0x6D, 0x13, 0xEC, 0x5C, 0xA3, 0x00, 0xFF, 0x00,
92 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x53, 0xAC, 0xF1, 0x0E, 0x00, 0xFF, 0x00, 0xFF, 0x80, 0x7F, 0x03,
93 0xFC, 0x01, 0xFE, 0x88, 0x77, 0x00, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00};
101 void set_temp_(uint8_t celsius,
bool set_previous =
false);
116 bool parse_fan_(
const uint8_t remote_state[]);
The fan mode is set to Low.
const uint8_t HITACHI_AC424_BUTTON_FAN
const uint8_t HITACHI_AC424_BUTTON_BYTE
void set_swing_v_toggle_(bool on)
const uint8_t HITACHI_AC424_POWER_BYTE
const uint8_t HITACHI_AC424_BUTTON_TEMP_DOWN
const uint8_t HITACHI_AC424_FAN_HIGH
const uint16_t HITACHI_AC424_HDR_MARK
const uint8_t HITACHI_AC424_FAN_MEDIUM
void transmit_state() override
const uint16_t HITACHI_AC424_ZERO_SPACE
bool parse_state_frame_(const uint8_t frame[])
const uint8_t HITACHI_AC424_MODE_POWERFUL
const uint16_t HITACHI_AC424_HDR_SPACE
const uint8_t HITACHI_AC424_TEMP_FAN
const uint8_t HITACHI_AC424_BUTTON_SLEEP
const uint8_t HITACHI_AC424_SWINGH_BYTE
ClimateMode mode
The active mode of the climate device.
const uint8_t HITACHI_AC424_BUTTON_SWINGH
const uint8_t HITACHI_AC424_TIMER_BYTE
const uint8_t HITACHI_AC424_TEMP_SIZE
bool parse_swing_(const uint8_t remote_state[])
const uint8_t HITACHI_AC424_MODE_AUTO
const uint8_t HITACHI_AC424_MODE_FAN
const uint8_t HITACHI_AC424_POWER_OFF
const uint8_t HITACHI_AC424_SWINGV_OFFSET
const uint8_t HITACHI_AC424_POWER_ON
const uint8_t HITACHI_AC424_MILDEWPROOF_BYTE
bool parse_mode_(const uint8_t remote_state[])
const uint16_t HITACHI_AC424_ONE_SPACE
void set_fan_(uint8_t speed)
const uint8_t HITACHI_AC424_FAN_MAX
const uint16_t HITACHI_AC424_STATE_LENGTH
const uint16_t HITACHI_AC424_BIT_MARK
const uint8_t HITACHI_AC424_FAN_AUTO
const uint8_t HITACHI_AC424_FAN_MIN
The fan mode is set to Horizontal.
const uint8_t HITACHI_AC424_BUTTON_MILDEWPROOF
The fan mode is set to Auto.
const uint8_t HITACHI_AC424_TEMP_OFFSET
bool get_swing_v_toggle_()
const uint8_t HITACHI_AC424_TEMP_MIN
const uint8_t HITACHI_AC424_MODE_DRY
const uint8_t HITACHI_AC424_MODE_BYTE
void set_mode_(uint8_t mode)
const uint8_t HITACHI_AC424_SWINGH_LEFT
ClimateIR(float minimum_temperature, float maximum_temperature, float temperature_step=1.0f, bool supports_dry=false, bool supports_fan_only=false, std::set< climate::ClimateFanMode > fan_modes={}, std::set< climate::ClimateSwingMode > swing_modes={}, std::set< climate::ClimatePreset > presets={})
const uint8_t HITACHI_AC424_BUTTON_SWINGV
const uint8_t HITACHI_AC424_SWINGH_RIGHT
const uint8_t HITACHI_AC424_SWINGH_AUTO
const uint8_t HITACHI_AC424_FAN_LOW
const uint8_t HITACHI_AC424_MODE_HEAT
bool parse_fan_(const uint8_t remote_state[])
const uint8_t HITACHI_AC424_SWINGV_BYTE
const uint8_t HITACHI_AC424_MODE_COOL
const uint8_t HITACHI_AC424_SWINGH_SIZE
void set_temp_(uint8_t celsius, bool set_previous=false)
The fan mode is set to High.
The swing mode is set to Off.
bool parse_temperature_(const uint8_t remote_state[])
const uint8_t HITACHI_AC424_TEMP_MAX
const uint8_t HITACHI_AC424_SWINGH_MIDDLE
bool on_receive(remote_base::RemoteReceiveData data) override
const uint8_t HITACHI_AC424_SWINGH_RIGHT_MAX
const uint8_t HITACHI_AC424_BUTTON_TEMP_UP
Implementation of SPI Controller mode.
const uint8_t HITACHI_AC424_FAN_BYTE
const uint8_t HITACHI_AC424_FAN_MAX_DRY
const uint16_t HITACHI_AC424_BITS
const uint32_t HITACHI_AC424_MIN_GAP
void set_button_(uint8_t button)
const uint8_t HITACHI_AC424_SWINGH_OFFSET
const uint8_t HITACHI_AC424_TEMP_BYTE
The fan mode is set to Medium.
const uint8_t HITACHI_AC424_MILDEWPROOF_OFFSET
uint8_t remote_state_[HITACHI_AC424_STATE_LENGTH]
const uint8_t HITACHI_AC424_BUTTON_POWER
const uint8_t HITACHI_AC424_SWINGH_LEFT_MAX
const uint16_t HITACHI_AC424_FREQ
const uint8_t HITACHI_AC424_BUTTON_MODE
ClimateAction action
The active state of the climate device.
void set_swing_h_(uint8_t position)
void set_swing_v_(bool on)
void dump_state_(const char action[], uint8_t remote_state[])