ESPHome  2024.11.0
Data Structures | Variables
esphome::yashima Namespace Reference

Data Structures

class  YashimaClimate
 

Variables

const uint16_t YASHIMA_STATE_LENGTH = 9
 
const uint16_t YASHIMA_BITS = YASHIMA_STATE_LENGTH * 8
 
const uint8_t YASHIMA_MODE_HEAT_BYTE0 = 0b00100000
 
const uint8_t YASHIMA_MODE_DRY_BYTE0 = 0b01100000
 
const uint8_t YASHIMA_MODE_COOL_BYTE0 = 0b11100000
 
const uint8_t YASHIMA_MODE_FAN_BYTE0 = 0b10100000
 
const uint8_t YASHIMA_MODE_AUTO_BYTE0 = 0b11100000
 
const uint8_t YASHIMA_MODE_OFF_BYTE0 = 0b11110000
 
const uint8_t YASHIMA_BASE_BYTE0 = 0b1110
 
const uint8_t YASHIMA_TEMP_MAX = 30
 
const uint8_t YASHIMA_TEMP_MIN = 16
 
const uint8_t YASHIMA_TEMP_RANGE = YASHIMA_TEMP_MAX - YASHIMA_TEMP_MIN + 1
 
const uint8_t YASHIMA_TEMP_MAP_BYTE1 [YASHIMA_TEMP_RANGE]
 
const uint8_t YASHIMA_BASE_BYTE1 = 0b11
 
const uint8_t YASHIMA_FAN_AUTO_BYTE2 = 0b11000000
 
const uint8_t YASHIMA_FAN_LOW_BYTE2 = 0b00000000
 
const uint8_t YASHIMA_FAN_MEDIUM_BYTE2 = 0b10000000
 
const uint8_t YASHIMA_FAN_HIGH_BYTE2 = 0b01000000
 
const uint8_t YASHIMA_BASE_BYTE2 = 0b111111
 
const uint8_t YASHIMA_BASE_BYTE3 = 0b11111111
 
const uint8_t YASHIMA_BASE_BYTE4 = 0b11
 
const uint8_t YASHIMA_MODE_HEAT_BYTE5 = 0b00000000
 
const uint8_t YASHIMA_MODE_DRY_BYTE5 = 0b00000000
 
const uint8_t YASHIMA_MODE_FAN_BYTE5 = 0b00000000
 
const uint8_t YASHIMA_MODE_AUTO_BYTE5 = 0b00000000
 
const uint8_t YASHIMA_MODE_COOL_BYTE5 = 0b10000000
 
const uint8_t YASHIMA_MODE_OFF_BYTE5 = 0b10000000
 
const uint8_t YASHIMA_BASE_BYTE5 = 0b11111
 
const uint8_t YASHIMA_BASE_BYTE6 = 0b11111111
 
const uint8_t YASHIMA_BASE_BYTE7 = 0b11111111
 
const uint8_t YASHIMA_BASE_BYTE8 = 0b11001111
 
const uint16_t YASHIMA_HEADER_MARK = 9035
 
const uint16_t YASHIMA_HEADER_SPACE = 4517
 
const uint16_t YASHIMA_BIT_MARK = 667
 
const uint16_t YASHIMA_ONE_SPACE = 517
 
const uint16_t YASHIMA_ZERO_SPACE = 1543
 
const uint32_t YASHIMA_GAP = YASHIMA_HEADER_SPACE
 
const uint32_t YASHIMA_CARRIER_FREQUENCY = 38000
 

Variable Documentation

◆ YASHIMA_BASE_BYTE0

const uint8_t esphome::yashima::YASHIMA_BASE_BYTE0 = 0b1110

Definition at line 19 of file yashima.cpp.

◆ YASHIMA_BASE_BYTE1

const uint8_t esphome::yashima::YASHIMA_BASE_BYTE1 = 0b11

Definition at line 42 of file yashima.cpp.

◆ YASHIMA_BASE_BYTE2

const uint8_t esphome::yashima::YASHIMA_BASE_BYTE2 = 0b111111

Definition at line 48 of file yashima.cpp.

◆ YASHIMA_BASE_BYTE3

const uint8_t esphome::yashima::YASHIMA_BASE_BYTE3 = 0b11111111

Definition at line 50 of file yashima.cpp.

◆ YASHIMA_BASE_BYTE4

const uint8_t esphome::yashima::YASHIMA_BASE_BYTE4 = 0b11

Definition at line 51 of file yashima.cpp.

◆ YASHIMA_BASE_BYTE5

const uint8_t esphome::yashima::YASHIMA_BASE_BYTE5 = 0b11111

Definition at line 59 of file yashima.cpp.

◆ YASHIMA_BASE_BYTE6

const uint8_t esphome::yashima::YASHIMA_BASE_BYTE6 = 0b11111111

Definition at line 61 of file yashima.cpp.

◆ YASHIMA_BASE_BYTE7

const uint8_t esphome::yashima::YASHIMA_BASE_BYTE7 = 0b11111111

Definition at line 62 of file yashima.cpp.

◆ YASHIMA_BASE_BYTE8

const uint8_t esphome::yashima::YASHIMA_BASE_BYTE8 = 0b11001111

Definition at line 63 of file yashima.cpp.

◆ YASHIMA_BIT_MARK

const uint16_t esphome::yashima::YASHIMA_BIT_MARK = 667

Definition at line 75 of file yashima.cpp.

◆ YASHIMA_BITS

const uint16_t esphome::yashima::YASHIMA_BITS = YASHIMA_STATE_LENGTH * 8

Definition at line 10 of file yashima.cpp.

◆ YASHIMA_CARRIER_FREQUENCY

const uint32_t esphome::yashima::YASHIMA_CARRIER_FREQUENCY = 38000

Definition at line 80 of file yashima.cpp.

◆ YASHIMA_FAN_AUTO_BYTE2

const uint8_t esphome::yashima::YASHIMA_FAN_AUTO_BYTE2 = 0b11000000

Definition at line 44 of file yashima.cpp.

◆ YASHIMA_FAN_HIGH_BYTE2

const uint8_t esphome::yashima::YASHIMA_FAN_HIGH_BYTE2 = 0b01000000

Definition at line 47 of file yashima.cpp.

◆ YASHIMA_FAN_LOW_BYTE2

const uint8_t esphome::yashima::YASHIMA_FAN_LOW_BYTE2 = 0b00000000

Definition at line 45 of file yashima.cpp.

◆ YASHIMA_FAN_MEDIUM_BYTE2

const uint8_t esphome::yashima::YASHIMA_FAN_MEDIUM_BYTE2 = 0b10000000

Definition at line 46 of file yashima.cpp.

◆ YASHIMA_GAP

const uint32_t esphome::yashima::YASHIMA_GAP = YASHIMA_HEADER_SPACE

Definition at line 78 of file yashima.cpp.

◆ YASHIMA_HEADER_MARK

const uint16_t esphome::yashima::YASHIMA_HEADER_MARK = 9035

Definition at line 73 of file yashima.cpp.

◆ YASHIMA_HEADER_SPACE

const uint16_t esphome::yashima::YASHIMA_HEADER_SPACE = 4517

Definition at line 74 of file yashima.cpp.

◆ YASHIMA_MODE_AUTO_BYTE0

const uint8_t esphome::yashima::YASHIMA_MODE_AUTO_BYTE0 = 0b11100000

Definition at line 17 of file yashima.cpp.

◆ YASHIMA_MODE_AUTO_BYTE5

const uint8_t esphome::yashima::YASHIMA_MODE_AUTO_BYTE5 = 0b00000000

Definition at line 56 of file yashima.cpp.

◆ YASHIMA_MODE_COOL_BYTE0

const uint8_t esphome::yashima::YASHIMA_MODE_COOL_BYTE0 = 0b11100000

Definition at line 15 of file yashima.cpp.

◆ YASHIMA_MODE_COOL_BYTE5

const uint8_t esphome::yashima::YASHIMA_MODE_COOL_BYTE5 = 0b10000000

Definition at line 57 of file yashima.cpp.

◆ YASHIMA_MODE_DRY_BYTE0

const uint8_t esphome::yashima::YASHIMA_MODE_DRY_BYTE0 = 0b01100000

Definition at line 14 of file yashima.cpp.

◆ YASHIMA_MODE_DRY_BYTE5

const uint8_t esphome::yashima::YASHIMA_MODE_DRY_BYTE5 = 0b00000000

Definition at line 54 of file yashima.cpp.

◆ YASHIMA_MODE_FAN_BYTE0

const uint8_t esphome::yashima::YASHIMA_MODE_FAN_BYTE0 = 0b10100000

Definition at line 16 of file yashima.cpp.

◆ YASHIMA_MODE_FAN_BYTE5

const uint8_t esphome::yashima::YASHIMA_MODE_FAN_BYTE5 = 0b00000000

Definition at line 55 of file yashima.cpp.

◆ YASHIMA_MODE_HEAT_BYTE0

const uint8_t esphome::yashima::YASHIMA_MODE_HEAT_BYTE0 = 0b00100000

Definition at line 13 of file yashima.cpp.

◆ YASHIMA_MODE_HEAT_BYTE5

const uint8_t esphome::yashima::YASHIMA_MODE_HEAT_BYTE5 = 0b00000000

Definition at line 53 of file yashima.cpp.

◆ YASHIMA_MODE_OFF_BYTE0

const uint8_t esphome::yashima::YASHIMA_MODE_OFF_BYTE0 = 0b11110000

Definition at line 18 of file yashima.cpp.

◆ YASHIMA_MODE_OFF_BYTE5

const uint8_t esphome::yashima::YASHIMA_MODE_OFF_BYTE5 = 0b10000000

Definition at line 58 of file yashima.cpp.

◆ YASHIMA_ONE_SPACE

const uint16_t esphome::yashima::YASHIMA_ONE_SPACE = 517

Definition at line 76 of file yashima.cpp.

◆ YASHIMA_STATE_LENGTH

const uint16_t esphome::yashima::YASHIMA_STATE_LENGTH = 9

Definition at line 9 of file yashima.cpp.

◆ YASHIMA_TEMP_MAP_BYTE1

const uint8_t esphome::yashima::YASHIMA_TEMP_MAP_BYTE1[YASHIMA_TEMP_RANGE]
Initial value:
= {
0b01100100,
0b10100100,
0b00100100,
0b11000100,
0b01000100,
0b10000100,
0b00000100,
0b11111000,
0b01111000,
0b10111000,
0b00111000,
0b11011000,
0b01011000,
0b10011000,
0b00011000,
}

Definition at line 25 of file yashima.cpp.

◆ YASHIMA_TEMP_MAX

const uint8_t esphome::yashima::YASHIMA_TEMP_MAX = 30

Definition at line 21 of file yashima.cpp.

◆ YASHIMA_TEMP_MIN

const uint8_t esphome::yashima::YASHIMA_TEMP_MIN = 16

Definition at line 22 of file yashima.cpp.

◆ YASHIMA_TEMP_RANGE

const uint8_t esphome::yashima::YASHIMA_TEMP_RANGE = YASHIMA_TEMP_MAX - YASHIMA_TEMP_MIN + 1

Definition at line 23 of file yashima.cpp.

◆ YASHIMA_ZERO_SPACE

const uint16_t esphome::yashima::YASHIMA_ZERO_SPACE = 1543

Definition at line 77 of file yashima.cpp.