ESPHome  2024.11.3
Data Structures | Enumerations | Variables
esphome::toshiba Namespace Reference

Data Structures

class  ToshibaClimate
 

Enumerations

enum  Model { MODEL_GENERIC = 0, MODEL_RAC_PT1411HWRU_C = 1, MODEL_RAC_PT1411HWRU_F = 2 }
 

Variables

const uint16_t TOSHIBA_HEADER_MARK = 4380
 
const uint16_t TOSHIBA_HEADER_SPACE = 4370
 
const uint16_t TOSHIBA_GAP_SPACE = 5480
 
const uint16_t TOSHIBA_PACKET_SPACE = 10500
 
const uint16_t TOSHIBA_BIT_MARK = 540
 
const uint16_t TOSHIBA_ZERO_SPACE = 540
 
const uint16_t TOSHIBA_ONE_SPACE = 1620
 
const uint16_t TOSHIBA_CARRIER_FREQUENCY = 38000
 
const uint8_t TOSHIBA_HEADER_LENGTH = 4
 
const uint8_t TOSHIBA_COMMAND_DEFAULT = 0x01
 
const uint8_t TOSHIBA_COMMAND_TIMER = 0x02
 
const uint8_t TOSHIBA_COMMAND_POWER = 0x08
 
const uint8_t TOSHIBA_COMMAND_MOTION = 0x02
 
const uint8_t TOSHIBA_MODE_AUTO = 0x00
 
const uint8_t TOSHIBA_MODE_COOL = 0x01
 
const uint8_t TOSHIBA_MODE_DRY = 0x02
 
const uint8_t TOSHIBA_MODE_HEAT = 0x03
 
const uint8_t TOSHIBA_MODE_FAN_ONLY = 0x04
 
const uint8_t TOSHIBA_MODE_OFF = 0x07
 
const uint8_t TOSHIBA_FAN_SPEED_AUTO = 0x00
 
const uint8_t TOSHIBA_FAN_SPEED_QUIET = 0x20
 
const uint8_t TOSHIBA_FAN_SPEED_1 = 0x40
 
const uint8_t TOSHIBA_FAN_SPEED_2 = 0x60
 
const uint8_t TOSHIBA_FAN_SPEED_3 = 0x80
 
const uint8_t TOSHIBA_FAN_SPEED_4 = 0xa0
 
const uint8_t TOSHIBA_FAN_SPEED_5 = 0xc0
 
const uint8_t TOSHIBA_POWER_HIGH = 0x01
 
const uint8_t TOSHIBA_POWER_ECO = 0x03
 
const uint8_t TOSHIBA_MOTION_SWING = 0x04
 
const uint8_t TOSHIBA_MOTION_FIX = 0x00
 
const uint8_t RAC_PT1411HWRU_FLAG_FAH = 0x01
 
const uint8_t RAC_PT1411HWRU_FLAG_FRAC = 0x20
 
const uint8_t RAC_PT1411HWRU_FLAG_NEG = 0x10
 
const uint8_t RAC_PT1411HWRU_FLAG_MASK = 0x0F
 
const uint8_t RAC_PT1411HWRU_MESSAGE_HEADER0 = 0xB2
 
const uint8_t RAC_PT1411HWRU_MESSAGE_HEADER1 = 0xD5
 
const uint8_t RAC_PT1411HWRU_MESSAGE_LENGTH = 6
 
const uint8_t RAC_PT1411HWRU_CS_ENABLED = 0x40
 
const uint8_t RAC_PT1411HWRU_CS_DATA = 0x80
 
const uint8_t RAC_PT1411HWRU_CS_HEADER = 0xBA
 
const uint8_t RAC_PT1411HWRU_CS_FOOTER_AUTO = 0x7A
 
const uint8_t RAC_PT1411HWRU_CS_FOOTER_COOL = 0x72
 
const uint8_t RAC_PT1411HWRU_CS_FOOTER_HEAT = 0x7E
 
const uint8_t RAC_PT1411HWRU_SWING_HEADER = 0xB9
 
const std::vector< uint8_t > RAC_PT1411HWRU_SWING_VERTICAL {0xB9, 0x46, 0xF5, 0x0A, 0x04, 0xFB}
 
const std::vector< uint8_t > RAC_PT1411HWRU_SWING_OFF {0xB9, 0x46, 0xF5, 0x0A, 0x05, 0xFA}
 
const uint8_t RAC_PT1411HWRU_FAN_OFF = 0x7B
 
constexpr RacPt1411hwruFanSpeed RAC_PT1411HWRU_FAN_AUTO {0xBF, 0x66}
 
constexpr RacPt1411hwruFanSpeed RAC_PT1411HWRU_FAN_LOW {0x9F, 0x28}
 
constexpr RacPt1411hwruFanSpeed RAC_PT1411HWRU_FAN_MED {0x5F, 0x3C}
 
constexpr RacPt1411hwruFanSpeed RAC_PT1411HWRU_FAN_HIGH {0x3F, 0x64}
 
const RacPt1411hwruFanSpeed RAC_PT1411HWRU_NO_FAN {0x1F, 0x65}
 
const uint8_t RAC_PT1411HWRU_MODE_AUTO = 0x08
 
const uint8_t RAC_PT1411HWRU_MODE_COOL = 0x00
 
const uint8_t RAC_PT1411HWRU_MODE_DRY = 0x04
 
const uint8_t RAC_PT1411HWRU_MODE_FAN = 0x04
 
const uint8_t RAC_PT1411HWRU_MODE_HEAT = 0x0C
 
const uint8_t RAC_PT1411HWRU_MODE_OFF = 0x00
 
const uint8_t RAC_PT1411HWRU_TEMPERATURE_FAN_ONLY = 0x0E
 
const std::vector< uint8_t > RAC_PT1411HWRU_TEMPERATURE_C
 
const std::vector< uint8_t > RAC_PT1411HWRU_TEMPERATURE_F
 
const float TOSHIBA_GENERIC_TEMP_C_MIN = 17.0
 
const float TOSHIBA_GENERIC_TEMP_C_MAX = 30.0
 
const float TOSHIBA_RAC_PT1411HWRU_TEMP_C_MIN = 16.0
 
const float TOSHIBA_RAC_PT1411HWRU_TEMP_C_MAX = 30.0
 
const float TOSHIBA_RAC_PT1411HWRU_TEMP_F_MIN = 60.0
 
const float TOSHIBA_RAC_PT1411HWRU_TEMP_F_MAX = 86.0
 

Enumeration Type Documentation

◆ Model

Enumerator
MODEL_GENERIC 
MODEL_RAC_PT1411HWRU_C 
MODEL_RAC_PT1411HWRU_F 

Definition at line 9 of file toshiba.h.

Variable Documentation

◆ RAC_PT1411HWRU_CS_DATA

const uint8_t esphome::toshiba::RAC_PT1411HWRU_CS_DATA = 0x80

Definition at line 63 of file toshiba.cpp.

◆ RAC_PT1411HWRU_CS_ENABLED

const uint8_t esphome::toshiba::RAC_PT1411HWRU_CS_ENABLED = 0x40

Definition at line 62 of file toshiba.cpp.

◆ RAC_PT1411HWRU_CS_FOOTER_AUTO

const uint8_t esphome::toshiba::RAC_PT1411HWRU_CS_FOOTER_AUTO = 0x7A

Definition at line 65 of file toshiba.cpp.

◆ RAC_PT1411HWRU_CS_FOOTER_COOL

const uint8_t esphome::toshiba::RAC_PT1411HWRU_CS_FOOTER_COOL = 0x72

Definition at line 66 of file toshiba.cpp.

◆ RAC_PT1411HWRU_CS_FOOTER_HEAT

const uint8_t esphome::toshiba::RAC_PT1411HWRU_CS_FOOTER_HEAT = 0x7E

Definition at line 67 of file toshiba.cpp.

◆ RAC_PT1411HWRU_CS_HEADER

const uint8_t esphome::toshiba::RAC_PT1411HWRU_CS_HEADER = 0xBA

Definition at line 64 of file toshiba.cpp.

◆ RAC_PT1411HWRU_FAN_AUTO

constexpr RacPt1411hwruFanSpeed esphome::toshiba::RAC_PT1411HWRU_FAN_AUTO {0xBF, 0x66}

Definition at line 74 of file toshiba.cpp.

◆ RAC_PT1411HWRU_FAN_HIGH

constexpr RacPt1411hwruFanSpeed esphome::toshiba::RAC_PT1411HWRU_FAN_HIGH {0x3F, 0x64}

Definition at line 77 of file toshiba.cpp.

◆ RAC_PT1411HWRU_FAN_LOW

constexpr RacPt1411hwruFanSpeed esphome::toshiba::RAC_PT1411HWRU_FAN_LOW {0x9F, 0x28}

Definition at line 75 of file toshiba.cpp.

◆ RAC_PT1411HWRU_FAN_MED

constexpr RacPt1411hwruFanSpeed esphome::toshiba::RAC_PT1411HWRU_FAN_MED {0x5F, 0x3C}

Definition at line 76 of file toshiba.cpp.

◆ RAC_PT1411HWRU_FAN_OFF

const uint8_t esphome::toshiba::RAC_PT1411HWRU_FAN_OFF = 0x7B

Definition at line 73 of file toshiba.cpp.

◆ RAC_PT1411HWRU_FLAG_FAH

const uint8_t esphome::toshiba::RAC_PT1411HWRU_FLAG_FAH = 0x01

Definition at line 52 of file toshiba.cpp.

◆ RAC_PT1411HWRU_FLAG_FRAC

const uint8_t esphome::toshiba::RAC_PT1411HWRU_FLAG_FRAC = 0x20

Definition at line 53 of file toshiba.cpp.

◆ RAC_PT1411HWRU_FLAG_MASK

const uint8_t esphome::toshiba::RAC_PT1411HWRU_FLAG_MASK = 0x0F

Definition at line 56 of file toshiba.cpp.

◆ RAC_PT1411HWRU_FLAG_NEG

const uint8_t esphome::toshiba::RAC_PT1411HWRU_FLAG_NEG = 0x10

Definition at line 54 of file toshiba.cpp.

◆ RAC_PT1411HWRU_MESSAGE_HEADER0

const uint8_t esphome::toshiba::RAC_PT1411HWRU_MESSAGE_HEADER0 = 0xB2

Definition at line 58 of file toshiba.cpp.

◆ RAC_PT1411HWRU_MESSAGE_HEADER1

const uint8_t esphome::toshiba::RAC_PT1411HWRU_MESSAGE_HEADER1 = 0xD5

Definition at line 59 of file toshiba.cpp.

◆ RAC_PT1411HWRU_MESSAGE_LENGTH

const uint8_t esphome::toshiba::RAC_PT1411HWRU_MESSAGE_LENGTH = 6

Definition at line 60 of file toshiba.cpp.

◆ RAC_PT1411HWRU_MODE_AUTO

const uint8_t esphome::toshiba::RAC_PT1411HWRU_MODE_AUTO = 0x08

Definition at line 81 of file toshiba.cpp.

◆ RAC_PT1411HWRU_MODE_COOL

const uint8_t esphome::toshiba::RAC_PT1411HWRU_MODE_COOL = 0x00

Definition at line 82 of file toshiba.cpp.

◆ RAC_PT1411HWRU_MODE_DRY

const uint8_t esphome::toshiba::RAC_PT1411HWRU_MODE_DRY = 0x04

Definition at line 83 of file toshiba.cpp.

◆ RAC_PT1411HWRU_MODE_FAN

const uint8_t esphome::toshiba::RAC_PT1411HWRU_MODE_FAN = 0x04

Definition at line 84 of file toshiba.cpp.

◆ RAC_PT1411HWRU_MODE_HEAT

const uint8_t esphome::toshiba::RAC_PT1411HWRU_MODE_HEAT = 0x0C

Definition at line 85 of file toshiba.cpp.

◆ RAC_PT1411HWRU_MODE_OFF

const uint8_t esphome::toshiba::RAC_PT1411HWRU_MODE_OFF = 0x00

Definition at line 86 of file toshiba.cpp.

◆ RAC_PT1411HWRU_NO_FAN

const RacPt1411hwruFanSpeed esphome::toshiba::RAC_PT1411HWRU_NO_FAN {0x1F, 0x65}

Definition at line 79 of file toshiba.cpp.

◆ RAC_PT1411HWRU_SWING_HEADER

const uint8_t esphome::toshiba::RAC_PT1411HWRU_SWING_HEADER = 0xB9

Definition at line 69 of file toshiba.cpp.

◆ RAC_PT1411HWRU_SWING_OFF

const std::vector<uint8_t> esphome::toshiba::RAC_PT1411HWRU_SWING_OFF {0xB9, 0x46, 0xF5, 0x0A, 0x05, 0xFA}

Definition at line 71 of file toshiba.cpp.

◆ RAC_PT1411HWRU_SWING_VERTICAL

const std::vector<uint8_t> esphome::toshiba::RAC_PT1411HWRU_SWING_VERTICAL {0xB9, 0x46, 0xF5, 0x0A, 0x04, 0xFB}

Definition at line 70 of file toshiba.cpp.

◆ RAC_PT1411HWRU_TEMPERATURE_C

const std::vector<uint8_t> esphome::toshiba::RAC_PT1411HWRU_TEMPERATURE_C
Initial value:
{0x10, 0x00, 0x01, 0x03, 0x02, 0x06, 0x07, 0x05,
0x04, 0x0C, 0x0D, 0x09, 0x08, 0x0A, 0x0B}

Definition at line 93 of file toshiba.cpp.

◆ RAC_PT1411HWRU_TEMPERATURE_F

const std::vector<uint8_t> esphome::toshiba::RAC_PT1411HWRU_TEMPERATURE_F
Initial value:
{0x10, 0x30, 0x00, 0x20, 0x01, 0x21, 0x03, 0x23, 0x02,
0x22, 0x06, 0x26, 0x07, 0x05, 0x25, 0x04, 0x24, 0x0C,
0x2C, 0x0D, 0x2D, 0x09, 0x08, 0x28, 0x0A, 0x2A, 0x0B}

Definition at line 96 of file toshiba.cpp.

◆ RAC_PT1411HWRU_TEMPERATURE_FAN_ONLY

const uint8_t esphome::toshiba::RAC_PT1411HWRU_TEMPERATURE_FAN_ONLY = 0x0E

Definition at line 88 of file toshiba.cpp.

◆ TOSHIBA_BIT_MARK

const uint16_t esphome::toshiba::TOSHIBA_BIT_MARK = 540

Definition at line 19 of file toshiba.cpp.

◆ TOSHIBA_CARRIER_FREQUENCY

const uint16_t esphome::toshiba::TOSHIBA_CARRIER_FREQUENCY = 38000

Definition at line 22 of file toshiba.cpp.

◆ TOSHIBA_COMMAND_DEFAULT

const uint8_t esphome::toshiba::TOSHIBA_COMMAND_DEFAULT = 0x01

Definition at line 25 of file toshiba.cpp.

◆ TOSHIBA_COMMAND_MOTION

const uint8_t esphome::toshiba::TOSHIBA_COMMAND_MOTION = 0x02

Definition at line 28 of file toshiba.cpp.

◆ TOSHIBA_COMMAND_POWER

const uint8_t esphome::toshiba::TOSHIBA_COMMAND_POWER = 0x08

Definition at line 27 of file toshiba.cpp.

◆ TOSHIBA_COMMAND_TIMER

const uint8_t esphome::toshiba::TOSHIBA_COMMAND_TIMER = 0x02

Definition at line 26 of file toshiba.cpp.

◆ TOSHIBA_FAN_SPEED_1

const uint8_t esphome::toshiba::TOSHIBA_FAN_SPEED_1 = 0x40

Definition at line 39 of file toshiba.cpp.

◆ TOSHIBA_FAN_SPEED_2

const uint8_t esphome::toshiba::TOSHIBA_FAN_SPEED_2 = 0x60

Definition at line 40 of file toshiba.cpp.

◆ TOSHIBA_FAN_SPEED_3

const uint8_t esphome::toshiba::TOSHIBA_FAN_SPEED_3 = 0x80

Definition at line 41 of file toshiba.cpp.

◆ TOSHIBA_FAN_SPEED_4

const uint8_t esphome::toshiba::TOSHIBA_FAN_SPEED_4 = 0xa0

Definition at line 42 of file toshiba.cpp.

◆ TOSHIBA_FAN_SPEED_5

const uint8_t esphome::toshiba::TOSHIBA_FAN_SPEED_5 = 0xc0

Definition at line 43 of file toshiba.cpp.

◆ TOSHIBA_FAN_SPEED_AUTO

const uint8_t esphome::toshiba::TOSHIBA_FAN_SPEED_AUTO = 0x00

Definition at line 37 of file toshiba.cpp.

◆ TOSHIBA_FAN_SPEED_QUIET

const uint8_t esphome::toshiba::TOSHIBA_FAN_SPEED_QUIET = 0x20

Definition at line 38 of file toshiba.cpp.

◆ TOSHIBA_GAP_SPACE

const uint16_t esphome::toshiba::TOSHIBA_GAP_SPACE = 5480

Definition at line 17 of file toshiba.cpp.

◆ TOSHIBA_GENERIC_TEMP_C_MAX

const float esphome::toshiba::TOSHIBA_GENERIC_TEMP_C_MAX = 30.0

Definition at line 17 of file toshiba.h.

◆ TOSHIBA_GENERIC_TEMP_C_MIN

const float esphome::toshiba::TOSHIBA_GENERIC_TEMP_C_MIN = 17.0

Definition at line 16 of file toshiba.h.

◆ TOSHIBA_HEADER_LENGTH

const uint8_t esphome::toshiba::TOSHIBA_HEADER_LENGTH = 4

Definition at line 23 of file toshiba.cpp.

◆ TOSHIBA_HEADER_MARK

const uint16_t esphome::toshiba::TOSHIBA_HEADER_MARK = 4380

Definition at line 15 of file toshiba.cpp.

◆ TOSHIBA_HEADER_SPACE

const uint16_t esphome::toshiba::TOSHIBA_HEADER_SPACE = 4370

Definition at line 16 of file toshiba.cpp.

◆ TOSHIBA_MODE_AUTO

const uint8_t esphome::toshiba::TOSHIBA_MODE_AUTO = 0x00

Definition at line 30 of file toshiba.cpp.

◆ TOSHIBA_MODE_COOL

const uint8_t esphome::toshiba::TOSHIBA_MODE_COOL = 0x01

Definition at line 31 of file toshiba.cpp.

◆ TOSHIBA_MODE_DRY

const uint8_t esphome::toshiba::TOSHIBA_MODE_DRY = 0x02

Definition at line 32 of file toshiba.cpp.

◆ TOSHIBA_MODE_FAN_ONLY

const uint8_t esphome::toshiba::TOSHIBA_MODE_FAN_ONLY = 0x04

Definition at line 34 of file toshiba.cpp.

◆ TOSHIBA_MODE_HEAT

const uint8_t esphome::toshiba::TOSHIBA_MODE_HEAT = 0x03

Definition at line 33 of file toshiba.cpp.

◆ TOSHIBA_MODE_OFF

const uint8_t esphome::toshiba::TOSHIBA_MODE_OFF = 0x07

Definition at line 35 of file toshiba.cpp.

◆ TOSHIBA_MOTION_FIX

const uint8_t esphome::toshiba::TOSHIBA_MOTION_FIX = 0x00

Definition at line 49 of file toshiba.cpp.

◆ TOSHIBA_MOTION_SWING

const uint8_t esphome::toshiba::TOSHIBA_MOTION_SWING = 0x04

Definition at line 48 of file toshiba.cpp.

◆ TOSHIBA_ONE_SPACE

const uint16_t esphome::toshiba::TOSHIBA_ONE_SPACE = 1620

Definition at line 21 of file toshiba.cpp.

◆ TOSHIBA_PACKET_SPACE

const uint16_t esphome::toshiba::TOSHIBA_PACKET_SPACE = 10500

Definition at line 18 of file toshiba.cpp.

◆ TOSHIBA_POWER_ECO

const uint8_t esphome::toshiba::TOSHIBA_POWER_ECO = 0x03

Definition at line 46 of file toshiba.cpp.

◆ TOSHIBA_POWER_HIGH

const uint8_t esphome::toshiba::TOSHIBA_POWER_HIGH = 0x01

Definition at line 45 of file toshiba.cpp.

◆ TOSHIBA_RAC_PT1411HWRU_TEMP_C_MAX

const float esphome::toshiba::TOSHIBA_RAC_PT1411HWRU_TEMP_C_MAX = 30.0

Definition at line 19 of file toshiba.h.

◆ TOSHIBA_RAC_PT1411HWRU_TEMP_C_MIN

const float esphome::toshiba::TOSHIBA_RAC_PT1411HWRU_TEMP_C_MIN = 16.0

Definition at line 18 of file toshiba.h.

◆ TOSHIBA_RAC_PT1411HWRU_TEMP_F_MAX

const float esphome::toshiba::TOSHIBA_RAC_PT1411HWRU_TEMP_F_MAX = 86.0

Definition at line 21 of file toshiba.h.

◆ TOSHIBA_RAC_PT1411HWRU_TEMP_F_MIN

const float esphome::toshiba::TOSHIBA_RAC_PT1411HWRU_TEMP_F_MIN = 60.0

Definition at line 20 of file toshiba.h.

◆ TOSHIBA_ZERO_SPACE

const uint16_t esphome::toshiba::TOSHIBA_ZERO_SPACE = 540

Definition at line 20 of file toshiba.cpp.