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

Data Structures

class  MitsubishiClimate
 

Enumerations

enum  SetFanMode { MITSUBISHI_FAN_3L = 0, MITSUBISHI_FAN_4L, MITSUBISHI_FAN_Q4L }
 
enum  HorizontalDirection {
  HORIZONTAL_DIRECTION_LEFT = 0x10, HORIZONTAL_DIRECTION_MIDDLE_LEFT = 0x20, HORIZONTAL_DIRECTION_MIDDLE = 0x30, HORIZONTAL_DIRECTION_MIDDLE_RIGHT = 0x40,
  HORIZONTAL_DIRECTION_RIGHT = 0x50, HORIZONTAL_DIRECTION_SPLIT = 0x80
}
 
enum  VerticalDirection {
  VERTICAL_DIRECTION_AUTO = 0x00, VERTICAL_DIRECTION_UP = 0x08, VERTICAL_DIRECTION_MIDDLE_UP = 0x10, VERTICAL_DIRECTION_MIDDLE = 0x18,
  VERTICAL_DIRECTION_MIDDLE_DOWN = 0x20, VERTICAL_DIRECTION_DOWN = 0x28
}
 

Variables

const uint8_t MITSUBISHI_OFF = 0x00
 
const uint8_t MITSUBISHI_MODE_AUTO = 0x20
 
const uint8_t MITSUBISHI_MODE_COOL = 0x18
 
const uint8_t MITSUBISHI_MODE_DRY = 0x10
 
const uint8_t MITSUBISHI_MODE_FAN_ONLY = 0x38
 
const uint8_t MITSUBISHI_MODE_HEAT = 0x08
 
const uint8_t MITSUBISHI_MODE_A_HEAT = 0x00
 
const uint8_t MITSUBISHI_MODE_A_DRY = 0x02
 
const uint8_t MITSUBISHI_MODE_A_COOL = 0x06
 
const uint8_t MITSUBISHI_MODE_A_AUTO = 0x06
 
const uint8_t MITSUBISHI_WIDE_VANE_SWING = 0xC0
 
const uint8_t MITSUBISHI_FAN_AUTO = 0x00
 
const uint8_t MITSUBISHI_VERTICAL_VANE_SWING = 0x38
 
const uint8_t MITSUBISHI_OTHERWISE = 0X40
 
const uint8_t MITSUBISHI_POWERFUL = 0x08
 
const uint8_t MITSUBISHI_ECONOCOOL = 0x20
 
const uint8_t MITSUBISHI_NIGHTMODE = 0xC1
 
const uint16_t MITSUBISHI_BIT_MARK = 430
 
const uint16_t MITSUBISHI_ONE_SPACE = 1250
 
const uint16_t MITSUBISHI_ZERO_SPACE = 390
 
const uint16_t MITSUBISHI_HEADER_MARK = 3500
 
const uint16_t MITSUBISHI_HEADER_SPACE = 1700
 
const uint16_t MITSUBISHI_MIN_GAP = 17500
 
const uint8_t MITSUBISHI_BYTE00 = 0X23
 
const uint8_t MITSUBISHI_BYTE01 = 0XCB
 
const uint8_t MITSUBISHI_BYTE02 = 0X26
 
const uint8_t MITSUBISHI_BYTE03 = 0X01
 
const uint8_t MITSUBISHI_BYTE04 = 0X00
 
const uint8_t MITSUBISHI_BYTE13 = 0X00
 
const uint8_t MITSUBISHI_BYTE16 = 0X00
 
const uint8_t MITSUBISHI_TEMP_MIN = 16
 
const uint8_t MITSUBISHI_TEMP_MAX = 31
 

Enumeration Type Documentation

◆ HorizontalDirection

Enumerator
HORIZONTAL_DIRECTION_LEFT 
HORIZONTAL_DIRECTION_MIDDLE_LEFT 
HORIZONTAL_DIRECTION_MIDDLE 
HORIZONTAL_DIRECTION_MIDDLE_RIGHT 
HORIZONTAL_DIRECTION_RIGHT 
HORIZONTAL_DIRECTION_SPLIT 

Definition at line 23 of file mitsubishi.h.

◆ SetFanMode

Enumerator
MITSUBISHI_FAN_3L 
MITSUBISHI_FAN_4L 
MITSUBISHI_FAN_Q4L 

Definition at line 15 of file mitsubishi.h.

◆ VerticalDirection

Enumerator
VERTICAL_DIRECTION_AUTO 
VERTICAL_DIRECTION_UP 
VERTICAL_DIRECTION_MIDDLE_UP 
VERTICAL_DIRECTION_MIDDLE 
VERTICAL_DIRECTION_MIDDLE_DOWN 
VERTICAL_DIRECTION_DOWN 

Definition at line 33 of file mitsubishi.h.

Variable Documentation

◆ MITSUBISHI_BIT_MARK

const uint16_t esphome::mitsubishi::MITSUBISHI_BIT_MARK = 430

Definition at line 37 of file mitsubishi.cpp.

◆ MITSUBISHI_BYTE00

const uint8_t esphome::mitsubishi::MITSUBISHI_BYTE00 = 0X23

Definition at line 45 of file mitsubishi.cpp.

◆ MITSUBISHI_BYTE01

const uint8_t esphome::mitsubishi::MITSUBISHI_BYTE01 = 0XCB

Definition at line 46 of file mitsubishi.cpp.

◆ MITSUBISHI_BYTE02

const uint8_t esphome::mitsubishi::MITSUBISHI_BYTE02 = 0X26

Definition at line 47 of file mitsubishi.cpp.

◆ MITSUBISHI_BYTE03

const uint8_t esphome::mitsubishi::MITSUBISHI_BYTE03 = 0X01

Definition at line 48 of file mitsubishi.cpp.

◆ MITSUBISHI_BYTE04

const uint8_t esphome::mitsubishi::MITSUBISHI_BYTE04 = 0X00

Definition at line 49 of file mitsubishi.cpp.

◆ MITSUBISHI_BYTE13

const uint8_t esphome::mitsubishi::MITSUBISHI_BYTE13 = 0X00

Definition at line 50 of file mitsubishi.cpp.

◆ MITSUBISHI_BYTE16

const uint8_t esphome::mitsubishi::MITSUBISHI_BYTE16 = 0X00

Definition at line 51 of file mitsubishi.cpp.

◆ MITSUBISHI_ECONOCOOL

const uint8_t esphome::mitsubishi::MITSUBISHI_ECONOCOOL = 0x20

Definition at line 33 of file mitsubishi.cpp.

◆ MITSUBISHI_FAN_AUTO

const uint8_t esphome::mitsubishi::MITSUBISHI_FAN_AUTO = 0x00

Definition at line 24 of file mitsubishi.cpp.

◆ MITSUBISHI_HEADER_MARK

const uint16_t esphome::mitsubishi::MITSUBISHI_HEADER_MARK = 3500

Definition at line 40 of file mitsubishi.cpp.

◆ MITSUBISHI_HEADER_SPACE

const uint16_t esphome::mitsubishi::MITSUBISHI_HEADER_SPACE = 1700

Definition at line 41 of file mitsubishi.cpp.

◆ MITSUBISHI_MIN_GAP

const uint16_t esphome::mitsubishi::MITSUBISHI_MIN_GAP = 17500

Definition at line 42 of file mitsubishi.cpp.

◆ MITSUBISHI_MODE_A_AUTO

const uint8_t esphome::mitsubishi::MITSUBISHI_MODE_A_AUTO = 0x06

Definition at line 20 of file mitsubishi.cpp.

◆ MITSUBISHI_MODE_A_COOL

const uint8_t esphome::mitsubishi::MITSUBISHI_MODE_A_COOL = 0x06

Definition at line 19 of file mitsubishi.cpp.

◆ MITSUBISHI_MODE_A_DRY

const uint8_t esphome::mitsubishi::MITSUBISHI_MODE_A_DRY = 0x02

Definition at line 18 of file mitsubishi.cpp.

◆ MITSUBISHI_MODE_A_HEAT

const uint8_t esphome::mitsubishi::MITSUBISHI_MODE_A_HEAT = 0x00

Definition at line 17 of file mitsubishi.cpp.

◆ MITSUBISHI_MODE_AUTO

const uint8_t esphome::mitsubishi::MITSUBISHI_MODE_AUTO = 0x20

Definition at line 11 of file mitsubishi.cpp.

◆ MITSUBISHI_MODE_COOL

const uint8_t esphome::mitsubishi::MITSUBISHI_MODE_COOL = 0x18

Definition at line 12 of file mitsubishi.cpp.

◆ MITSUBISHI_MODE_DRY

const uint8_t esphome::mitsubishi::MITSUBISHI_MODE_DRY = 0x10

Definition at line 13 of file mitsubishi.cpp.

◆ MITSUBISHI_MODE_FAN_ONLY

const uint8_t esphome::mitsubishi::MITSUBISHI_MODE_FAN_ONLY = 0x38

Definition at line 14 of file mitsubishi.cpp.

◆ MITSUBISHI_MODE_HEAT

const uint8_t esphome::mitsubishi::MITSUBISHI_MODE_HEAT = 0x08

Definition at line 15 of file mitsubishi.cpp.

◆ MITSUBISHI_NIGHTMODE

const uint8_t esphome::mitsubishi::MITSUBISHI_NIGHTMODE = 0xC1

Definition at line 34 of file mitsubishi.cpp.

◆ MITSUBISHI_OFF

const uint8_t esphome::mitsubishi::MITSUBISHI_OFF = 0x00

Definition at line 9 of file mitsubishi.cpp.

◆ MITSUBISHI_ONE_SPACE

const uint16_t esphome::mitsubishi::MITSUBISHI_ONE_SPACE = 1250

Definition at line 38 of file mitsubishi.cpp.

◆ MITSUBISHI_OTHERWISE

const uint8_t esphome::mitsubishi::MITSUBISHI_OTHERWISE = 0X40

Definition at line 29 of file mitsubishi.cpp.

◆ MITSUBISHI_POWERFUL

const uint8_t esphome::mitsubishi::MITSUBISHI_POWERFUL = 0x08

Definition at line 30 of file mitsubishi.cpp.

◆ MITSUBISHI_TEMP_MAX

const uint8_t esphome::mitsubishi::MITSUBISHI_TEMP_MAX = 31

Definition at line 12 of file mitsubishi.h.

◆ MITSUBISHI_TEMP_MIN

const uint8_t esphome::mitsubishi::MITSUBISHI_TEMP_MIN = 16

Definition at line 11 of file mitsubishi.h.

◆ MITSUBISHI_VERTICAL_VANE_SWING

const uint8_t esphome::mitsubishi::MITSUBISHI_VERTICAL_VANE_SWING = 0x38

Definition at line 26 of file mitsubishi.cpp.

◆ MITSUBISHI_WIDE_VANE_SWING

const uint8_t esphome::mitsubishi::MITSUBISHI_WIDE_VANE_SWING = 0xC0

Definition at line 22 of file mitsubishi.cpp.

◆ MITSUBISHI_ZERO_SPACE

const uint16_t esphome::mitsubishi::MITSUBISHI_ZERO_SPACE = 390

Definition at line 39 of file mitsubishi.cpp.