ESPHome  2024.10.2
Data Structures | Variables
esphome::tcl112 Namespace Reference

Data Structures

class  Tcl112Climate
 

Variables

const uint16_t TCL112_STATE_LENGTH = 14
 
const uint16_t TCL112_BITS = TCL112_STATE_LENGTH * 8
 
const uint8_t TCL112_HEAT = 1
 
const uint8_t TCL112_DRY = 2
 
const uint8_t TCL112_COOL = 3
 
const uint8_t TCL112_FAN = 7
 
const uint8_t TCL112_AUTO = 8
 
const uint8_t TCL112_FAN_AUTO = 0
 
const uint8_t TCL112_FAN_LOW = 2
 
const uint8_t TCL112_FAN_MED = 3
 
const uint8_t TCL112_FAN_HIGH = 5
 
const uint8_t TCL112_VSWING_MASK = 0x38
 
const uint8_t TCL112_POWER_MASK = 0x04
 
const uint8_t TCL112_HALF_DEGREE = 0b00100000
 
const uint16_t TCL112_HEADER_MARK = 3100
 
const uint16_t TCL112_HEADER_SPACE = 1650
 
const uint16_t TCL112_BIT_MARK = 500
 
const uint16_t TCL112_ONE_SPACE = 1100
 
const uint16_t TCL112_ZERO_SPACE = 350
 
const uint32_t TCL112_GAP = TCL112_HEADER_SPACE
 
const float TCL112_TEMP_MAX = 31.0
 
const float TCL112_TEMP_MIN = 16.0
 

Variable Documentation

◆ TCL112_AUTO

const uint8_t esphome::tcl112::TCL112_AUTO = 8

Definition at line 16 of file tcl112.cpp.

◆ TCL112_BIT_MARK

const uint16_t esphome::tcl112::TCL112_BIT_MARK = 500

Definition at line 30 of file tcl112.cpp.

◆ TCL112_BITS

const uint16_t esphome::tcl112::TCL112_BITS = TCL112_STATE_LENGTH * 8

Definition at line 10 of file tcl112.cpp.

◆ TCL112_COOL

const uint8_t esphome::tcl112::TCL112_COOL = 3

Definition at line 14 of file tcl112.cpp.

◆ TCL112_DRY

const uint8_t esphome::tcl112::TCL112_DRY = 2

Definition at line 13 of file tcl112.cpp.

◆ TCL112_FAN

const uint8_t esphome::tcl112::TCL112_FAN = 7

Definition at line 15 of file tcl112.cpp.

◆ TCL112_FAN_AUTO

const uint8_t esphome::tcl112::TCL112_FAN_AUTO = 0

Definition at line 18 of file tcl112.cpp.

◆ TCL112_FAN_HIGH

const uint8_t esphome::tcl112::TCL112_FAN_HIGH = 5

Definition at line 21 of file tcl112.cpp.

◆ TCL112_FAN_LOW

const uint8_t esphome::tcl112::TCL112_FAN_LOW = 2

Definition at line 19 of file tcl112.cpp.

◆ TCL112_FAN_MED

const uint8_t esphome::tcl112::TCL112_FAN_MED = 3

Definition at line 20 of file tcl112.cpp.

◆ TCL112_GAP

const uint32_t esphome::tcl112::TCL112_GAP = TCL112_HEADER_SPACE

Definition at line 33 of file tcl112.cpp.

◆ TCL112_HALF_DEGREE

const uint8_t esphome::tcl112::TCL112_HALF_DEGREE = 0b00100000

Definition at line 26 of file tcl112.cpp.

◆ TCL112_HEADER_MARK

const uint16_t esphome::tcl112::TCL112_HEADER_MARK = 3100

Definition at line 28 of file tcl112.cpp.

◆ TCL112_HEADER_SPACE

const uint16_t esphome::tcl112::TCL112_HEADER_SPACE = 1650

Definition at line 29 of file tcl112.cpp.

◆ TCL112_HEAT

const uint8_t esphome::tcl112::TCL112_HEAT = 1

Definition at line 12 of file tcl112.cpp.

◆ TCL112_ONE_SPACE

const uint16_t esphome::tcl112::TCL112_ONE_SPACE = 1100

Definition at line 31 of file tcl112.cpp.

◆ TCL112_POWER_MASK

const uint8_t esphome::tcl112::TCL112_POWER_MASK = 0x04

Definition at line 24 of file tcl112.cpp.

◆ TCL112_STATE_LENGTH

const uint16_t esphome::tcl112::TCL112_STATE_LENGTH = 14

Definition at line 9 of file tcl112.cpp.

◆ TCL112_TEMP_MAX

const float esphome::tcl112::TCL112_TEMP_MAX = 31.0

Definition at line 9 of file tcl112.h.

◆ TCL112_TEMP_MIN

const float esphome::tcl112::TCL112_TEMP_MIN = 16.0

Definition at line 10 of file tcl112.h.

◆ TCL112_VSWING_MASK

const uint8_t esphome::tcl112::TCL112_VSWING_MASK = 0x38

Definition at line 23 of file tcl112.cpp.

◆ TCL112_ZERO_SPACE

const uint16_t esphome::tcl112::TCL112_ZERO_SPACE = 350

Definition at line 32 of file tcl112.cpp.