43#define DAIKIN_DBG_LOWER(x) ((100 - DAIKIN_DBG_TOLERANCE) * (x) / 100U)
44#define DAIKIN_DBG_UPPER(x) ((100 + DAIKIN_DBG_TOLERANCE) * (x) / 100U)
58 void setup()
override;
61 void control(
const climate::ClimateCall &
call)
override;
65 climate::ClimateTraits
traits()
override;
71 bool on_receive(remote_base::RemoteReceiveData data)
override;
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={})
void transmit_state() override
void control(const climate::ClimateCall &call) override
bool parse_state_frame_(const uint8_t frame[])
climate::ClimateTraits traits() override
uint8_t operation_mode_()
bool on_receive(remote_base::RemoteReceiveData data) override
@ CLIMATE_SWING_OFF
The swing mode is set to Off.
@ CLIMATE_SWING_HORIZONTAL
The fan mode is set to Horizontal.
@ CLIMATE_SWING_VERTICAL
The fan mode is set to Vertical.
@ CLIMATE_SWING_BOTH
The fan mode is set to Both.
@ CLIMATE_FAN_MEDIUM
The fan mode is set to Medium.
@ CLIMATE_FAN_AUTO
The fan mode is set to Auto.
@ CLIMATE_FAN_LOW
The fan mode is set to Low.
@ CLIMATE_FAN_HIGH
The fan mode is set to High.
const uint32_t DAIKIN_ZERO_SPACE
const uint32_t DAIKIN_HEADER_SPACE
const uint32_t DAIKIN_ARC_PRE_SPACE
const uint8_t DAIKIN_MODE_AUTO
const uint32_t DAIKIN_ARC_PRE_MARK
const uint32_t DAIKIN_MESSAGE_SPACE
const uint8_t DAIKIN_TEMP_MIN
const uint32_t DAIKIN_HEADER_MARK
const uint8_t DAIKIN_FAN_2
const uint8_t DAIKIN_FAN_5
const uint32_t DAIKIN_ONE_SPACE
const uint8_t DAIKIN_MODE_COOL
const uint32_t DAIKIN_BIT_MARK
const uint8_t DAIKIN_FAN_3
const uint8_t DAIKIN_FAN_4
const uint8_t DAIKIN_FAN_1
const uint32_t DAIKIN_IR_FREQUENCY
const uint8_t DAIKIN_MODE_FAN
const uint8_t DAIKIN_TEMP_MAX
const uint8_t DAIKIN_MODE_HEAT
const uint8_t DAIKIN_MODE_DRY
const uint8_t DAIKIN_STATE_FRAME_SIZE
const uint8_t DAIKIN_MODE_OFF
const uint8_t DAIKIN_FAN_SILENT
const uint8_t DAIKIN_DBG_TOLERANCE
const uint8_t DAIKIN_FAN_AUTO
const uint8_t DAIKIN_MODE_ON
Providing packet encoding functions for exchanging data with a remote host.