ESPHome  2024.10.2
Data Structures | Enumerations | Variables
esphome::gree Namespace Reference

Data Structures

class  GreeClimate
 

Enumerations

enum  Model {
  GREE_GENERIC, GREE_YAN, GREE_YAA, GREE_YAC,
  GREE_YAC1FB9, GREE_YX1FF
}
 

Variables

const uint8_t GREE_TEMP_MIN = 16
 
const uint8_t GREE_TEMP_MAX = 30
 
const uint8_t GREE_MODE_AUTO = 0x00
 
const uint8_t GREE_MODE_COOL = 0x01
 
const uint8_t GREE_MODE_HEAT = 0x04
 
const uint8_t GREE_MODE_DRY = 0x02
 
const uint8_t GREE_MODE_FAN = 0x03
 
const uint8_t GREE_MODE_OFF = 0x00
 
const uint8_t GREE_MODE_ON = 0x08
 
const uint8_t GREE_FAN_AUTO = 0x00
 
const uint8_t GREE_FAN_1 = 0x10
 
const uint8_t GREE_FAN_2 = 0x20
 
const uint8_t GREE_FAN_3 = 0x30
 
const uint32_t GREE_IR_FREQUENCY = 38000
 
const uint32_t GREE_HEADER_MARK = 9000
 
const uint32_t GREE_HEADER_SPACE = 4000
 
const uint32_t GREE_BIT_MARK = 620
 
const uint32_t GREE_ONE_SPACE = 1600
 
const uint32_t GREE_ZERO_SPACE = 540
 
const uint32_t GREE_MESSAGE_SPACE = 19000
 
const uint32_t GREE_YAC_HEADER_MARK = 6000
 
const uint32_t GREE_YAC_HEADER_SPACE = 3000
 
const uint32_t GREE_YAC_BIT_MARK = 650
 
const uint32_t GREE_YAC1FB9_HEADER_SPACE = 4500
 
const uint32_t GREE_YAC1FB9_MESSAGE_SPACE = 19980
 
const uint8_t GREE_STATE_FRAME_SIZE = 8
 
const uint8_t GREE_VDIR_AUTO = 0x00
 
const uint8_t GREE_VDIR_MANUAL = 0x00
 
const uint8_t GREE_VDIR_SWING = 0x01
 
const uint8_t GREE_VDIR_UP = 0x02
 
const uint8_t GREE_VDIR_MUP = 0x03
 
const uint8_t GREE_VDIR_MIDDLE = 0x04
 
const uint8_t GREE_VDIR_MDOWN = 0x05
 
const uint8_t GREE_VDIR_DOWN = 0x06
 
const uint8_t GREE_HDIR_AUTO = 0x00
 
const uint8_t GREE_HDIR_MANUAL = 0x00
 
const uint8_t GREE_HDIR_SWING = 0x01
 
const uint8_t GREE_HDIR_LEFT = 0x02
 
const uint8_t GREE_HDIR_MLEFT = 0x03
 
const uint8_t GREE_HDIR_MIDDLE = 0x04
 
const uint8_t GREE_HDIR_MRIGHT = 0x05
 
const uint8_t GREE_HDIR_RIGHT = 0x06
 
const uint8_t GREE_FAN_TURBO = 0x80
 
const uint8_t GREE_FAN_TURBO_BIT = 0x10
 
const uint8_t GREE_PRESET_NONE = 0x00
 
const uint8_t GREE_PRESET_SLEEP = 0x01
 
const uint8_t GREE_PRESET_SLEEP_BIT = 0x80
 

Enumeration Type Documentation

◆ Model

Enumerator
GREE_GENERIC 
GREE_YAN 
GREE_YAA 
GREE_YAC 
GREE_YAC1FB9 
GREE_YX1FF 

Definition at line 81 of file gree.h.

Variable Documentation

◆ GREE_BIT_MARK

const uint32_t esphome::gree::GREE_BIT_MARK = 620

Definition at line 33 of file gree.h.

◆ GREE_FAN_1

const uint8_t esphome::gree::GREE_FAN_1 = 0x10

Definition at line 25 of file gree.h.

◆ GREE_FAN_2

const uint8_t esphome::gree::GREE_FAN_2 = 0x20

Definition at line 26 of file gree.h.

◆ GREE_FAN_3

const uint8_t esphome::gree::GREE_FAN_3 = 0x30

Definition at line 27 of file gree.h.

◆ GREE_FAN_AUTO

const uint8_t esphome::gree::GREE_FAN_AUTO = 0x00

Definition at line 24 of file gree.h.

◆ GREE_FAN_TURBO

const uint8_t esphome::gree::GREE_FAN_TURBO = 0x80

Definition at line 74 of file gree.h.

◆ GREE_FAN_TURBO_BIT

const uint8_t esphome::gree::GREE_FAN_TURBO_BIT = 0x10

Definition at line 75 of file gree.h.

◆ GREE_HDIR_AUTO

const uint8_t esphome::gree::GREE_HDIR_AUTO = 0x00

Definition at line 63 of file gree.h.

◆ GREE_HDIR_LEFT

const uint8_t esphome::gree::GREE_HDIR_LEFT = 0x02

Definition at line 66 of file gree.h.

◆ GREE_HDIR_MANUAL

const uint8_t esphome::gree::GREE_HDIR_MANUAL = 0x00

Definition at line 64 of file gree.h.

◆ GREE_HDIR_MIDDLE

const uint8_t esphome::gree::GREE_HDIR_MIDDLE = 0x04

Definition at line 68 of file gree.h.

◆ GREE_HDIR_MLEFT

const uint8_t esphome::gree::GREE_HDIR_MLEFT = 0x03

Definition at line 67 of file gree.h.

◆ GREE_HDIR_MRIGHT

const uint8_t esphome::gree::GREE_HDIR_MRIGHT = 0x05

Definition at line 69 of file gree.h.

◆ GREE_HDIR_RIGHT

const uint8_t esphome::gree::GREE_HDIR_RIGHT = 0x06

Definition at line 70 of file gree.h.

◆ GREE_HDIR_SWING

const uint8_t esphome::gree::GREE_HDIR_SWING = 0x01

Definition at line 65 of file gree.h.

◆ GREE_HEADER_MARK

const uint32_t esphome::gree::GREE_HEADER_MARK = 9000

Definition at line 31 of file gree.h.

◆ GREE_HEADER_SPACE

const uint32_t esphome::gree::GREE_HEADER_SPACE = 4000

Definition at line 32 of file gree.h.

◆ GREE_IR_FREQUENCY

const uint32_t esphome::gree::GREE_IR_FREQUENCY = 38000

Definition at line 30 of file gree.h.

◆ GREE_MESSAGE_SPACE

const uint32_t esphome::gree::GREE_MESSAGE_SPACE = 19000

Definition at line 36 of file gree.h.

◆ GREE_MODE_AUTO

const uint8_t esphome::gree::GREE_MODE_AUTO = 0x00

Definition at line 14 of file gree.h.

◆ GREE_MODE_COOL

const uint8_t esphome::gree::GREE_MODE_COOL = 0x01

Definition at line 15 of file gree.h.

◆ GREE_MODE_DRY

const uint8_t esphome::gree::GREE_MODE_DRY = 0x02

Definition at line 17 of file gree.h.

◆ GREE_MODE_FAN

const uint8_t esphome::gree::GREE_MODE_FAN = 0x03

Definition at line 18 of file gree.h.

◆ GREE_MODE_HEAT

const uint8_t esphome::gree::GREE_MODE_HEAT = 0x04

Definition at line 16 of file gree.h.

◆ GREE_MODE_OFF

const uint8_t esphome::gree::GREE_MODE_OFF = 0x00

Definition at line 20 of file gree.h.

◆ GREE_MODE_ON

const uint8_t esphome::gree::GREE_MODE_ON = 0x08

Definition at line 21 of file gree.h.

◆ GREE_ONE_SPACE

const uint32_t esphome::gree::GREE_ONE_SPACE = 1600

Definition at line 34 of file gree.h.

◆ GREE_PRESET_NONE

const uint8_t esphome::gree::GREE_PRESET_NONE = 0x00

Definition at line 76 of file gree.h.

◆ GREE_PRESET_SLEEP

const uint8_t esphome::gree::GREE_PRESET_SLEEP = 0x01

Definition at line 77 of file gree.h.

◆ GREE_PRESET_SLEEP_BIT

const uint8_t esphome::gree::GREE_PRESET_SLEEP_BIT = 0x80

Definition at line 78 of file gree.h.

◆ GREE_STATE_FRAME_SIZE

const uint8_t esphome::gree::GREE_STATE_FRAME_SIZE = 8

Definition at line 48 of file gree.h.

◆ GREE_TEMP_MAX

const uint8_t esphome::gree::GREE_TEMP_MAX = 30

Definition at line 11 of file gree.h.

◆ GREE_TEMP_MIN

const uint8_t esphome::gree::GREE_TEMP_MIN = 16

Definition at line 10 of file gree.h.

◆ GREE_VDIR_AUTO

const uint8_t esphome::gree::GREE_VDIR_AUTO = 0x00

Definition at line 52 of file gree.h.

◆ GREE_VDIR_DOWN

const uint8_t esphome::gree::GREE_VDIR_DOWN = 0x06

Definition at line 59 of file gree.h.

◆ GREE_VDIR_MANUAL

const uint8_t esphome::gree::GREE_VDIR_MANUAL = 0x00

Definition at line 53 of file gree.h.

◆ GREE_VDIR_MDOWN

const uint8_t esphome::gree::GREE_VDIR_MDOWN = 0x05

Definition at line 58 of file gree.h.

◆ GREE_VDIR_MIDDLE

const uint8_t esphome::gree::GREE_VDIR_MIDDLE = 0x04

Definition at line 57 of file gree.h.

◆ GREE_VDIR_MUP

const uint8_t esphome::gree::GREE_VDIR_MUP = 0x03

Definition at line 56 of file gree.h.

◆ GREE_VDIR_SWING

const uint8_t esphome::gree::GREE_VDIR_SWING = 0x01

Definition at line 54 of file gree.h.

◆ GREE_VDIR_UP

const uint8_t esphome::gree::GREE_VDIR_UP = 0x02

Definition at line 55 of file gree.h.

◆ GREE_YAC1FB9_HEADER_SPACE

const uint32_t esphome::gree::GREE_YAC1FB9_HEADER_SPACE = 4500

Definition at line 44 of file gree.h.

◆ GREE_YAC1FB9_MESSAGE_SPACE

const uint32_t esphome::gree::GREE_YAC1FB9_MESSAGE_SPACE = 19980

Definition at line 45 of file gree.h.

◆ GREE_YAC_BIT_MARK

const uint32_t esphome::gree::GREE_YAC_BIT_MARK = 650

Definition at line 41 of file gree.h.

◆ GREE_YAC_HEADER_MARK

const uint32_t esphome::gree::GREE_YAC_HEADER_MARK = 6000

Definition at line 39 of file gree.h.

◆ GREE_YAC_HEADER_SPACE

const uint32_t esphome::gree::GREE_YAC_HEADER_SPACE = 3000

Definition at line 40 of file gree.h.

◆ GREE_ZERO_SPACE

const uint32_t esphome::gree::GREE_ZERO_SPACE = 540

Definition at line 35 of file gree.h.