#include <pd_pioneer_data.h>
Definition at line 16 of file pd_pioneer_data.h.
◆ ControlData()
| esphome::pd_pioneer_ir::ControlData::ControlData |
( |
| ) |
|
◆ even()
| const PDPioneerData & esphome::pd_pioneer_ir::ControlData::even |
( |
| ) |
const |
|
inline |
◆ finalize()
| void esphome::pd_pioneer_ir::ControlData::finalize |
( |
| ) |
|
Write the fan and swing positions, which share bytes, then the checksums.
Definition at line 76 of file pd_pioneer_data.cpp.
◆ get_eco()
| static bool esphome::pd_pioneer_ir::ControlData::get_eco |
( |
const PDPioneerData & | even | ) |
|
|
inlinestatic |
◆ get_fan_mode()
◆ get_horizontal_swing()
| static bool esphome::pd_pioneer_ir::ControlData::get_horizontal_swing |
( |
const PDPioneerData & | odd | ) |
|
|
inlinestatic |
Only the odd burst carries horizontal swing; the even burst carries vertical swing.
Definition at line 43 of file pd_pioneer_data.h.
◆ get_mode()
◆ get_swing_mode()
◆ get_temp()
| static float esphome::pd_pioneer_ir::ControlData::get_temp |
( |
const PDPioneerData & | even | ) |
|
|
inlinestatic |
Clamped to the set point range, so a frame from a sibling remote cannot publish an impossible value.
Definition at line 34 of file pd_pioneer_data.h.
◆ odd()
| const PDPioneerData & esphome::pd_pioneer_ir::ControlData::odd |
( |
| ) |
const |
|
inline |
◆ set_eco()
| void esphome::pd_pioneer_ir::ControlData::set_eco |
( |
bool | enabled | ) |
|
|
inline |
◆ set_fan_mode()
| void esphome::pd_pioneer_ir::ControlData::set_fan_mode |
( |
ClimateFanMode | mode | ) |
|
|
inline |
◆ set_mode()
| void esphome::pd_pioneer_ir::ControlData::set_mode |
( |
ClimateMode | mode | ) |
|
◆ set_swing_mode()
◆ set_temp()
| void esphome::pd_pioneer_ir::ControlData::set_temp |
( |
float | temp_c | ) |
|
◆ even_
◆ fan_
◆ MODE_AUTO
| uint8_t esphome::pd_pioneer_ir::ControlData::MODE_AUTO = 0x08 |
|
staticconstexprprotected |
◆ MODE_COOL
| uint8_t esphome::pd_pioneer_ir::ControlData::MODE_COOL = 0x03 |
|
staticconstexprprotected |
◆ MODE_DRY
| uint8_t esphome::pd_pioneer_ir::ControlData::MODE_DRY = 0x02 |
|
staticconstexprprotected |
◆ MODE_FAN_ONLY
| uint8_t esphome::pd_pioneer_ir::ControlData::MODE_FAN_ONLY = 0x07 |
|
staticconstexprprotected |
◆ MODE_HEAT
| uint8_t esphome::pd_pioneer_ir::ControlData::MODE_HEAT = 0x01 |
|
staticconstexprprotected |
◆ odd_
◆ PWR_ECO
| uint8_t esphome::pd_pioneer_ir::ControlData::PWR_ECO = 0x25 |
|
staticconstexprprotected |
◆ PWR_OFF
| uint8_t esphome::pd_pioneer_ir::ControlData::PWR_OFF = 0xA0 |
|
staticconstexprprotected |
◆ PWR_ON
| uint8_t esphome::pd_pioneer_ir::ControlData::PWR_ON = 0x24 |
|
staticconstexprprotected |
◆ swing_
| uint8_t esphome::pd_pioneer_ir::ControlData::swing_ {0} |
|
protected |
Odd-burst position 7: SWING_VERTICAL and SWING_HORIZONTAL flags.
Definition at line 66 of file pd_pioneer_data.h.
◆ SWING_HORIZONTAL
| uint8_t esphome::pd_pioneer_ir::ControlData::SWING_HORIZONTAL = 0x90 |
|
staticconstexprprotected |
◆ SWING_VERTICAL
| uint8_t esphome::pd_pioneer_ir::ControlData::SWING_VERTICAL = 0x08 |
|
staticconstexprprotected |
◆ SWING_VERTICAL_EVEN_MASK
| uint8_t esphome::pd_pioneer_ir::ControlData::SWING_VERTICAL_EVEN_MASK = 0x38 |
|
staticconstexprprotected |
Vertical swing also sets this mask on even frame position 8 (fan sub-code).
Definition at line 60 of file pd_pioneer_data.h.
The documentation for this class was generated from the following files: