IRremoteESP8266
Classes | Variables
ir_LG.h File Reference

Support for LG protocols. More...

Go to the source code of this file.

Classes

union  LGProtocol
 Native representation of a LG A/C message. More...
 
class  IRLgAc
 Class for handling detailed LG A/C messages. More...
 

Variables

const uint8_t kLgAcFanLowest = 0
 
const uint8_t kLgAcFanLow = 1
 
const uint8_t kLgAcFanMedium = 2
 
const uint8_t kLgAcFanMax = 4
 
const uint8_t kLgAcFanAuto = 5
 
const uint8_t kLgAcFanLowAlt = 9
 
const uint8_t kLgAcFanHigh = 10
 
const uint8_t kLgAcFanEntries = kLgAcFanHigh + 1
 
const uint8_t kLgAcTempAdjust = 15
 
const uint8_t kLgAcMinTemp = 16
 
const uint8_t kLgAcMaxTemp = 30
 
const uint8_t kLgAcCool = 0
 
const uint8_t kLgAcDry = 1
 
const uint8_t kLgAcFan = 2
 
const uint8_t kLgAcAuto = 3
 
const uint8_t kLgAcHeat = 4
 
const uint8_t kLgAcPowerOff = 3
 
const uint8_t kLgAcPowerOn = 0
 
const uint8_t kLgAcSignature = 0x88
 
const uint32_t kLgAcOffCommand = 0x88C0051
 
const uint32_t kLgAcLightToggle = 0x88C00A6
 
const uint32_t kLgAcSwingVToggle = 0x8810001
 
const uint32_t kLgAcSwingSignature = 0x8813
 
const uint32_t kLgAcSwingVLowest = 0x8813048
 
const uint32_t kLgAcSwingVLow = 0x8813059
 
const uint32_t kLgAcSwingVMiddle = 0x881306A
 
const uint32_t kLgAcSwingVUpperMiddle = 0x881307B
 
const uint32_t kLgAcSwingVHigh = 0x881308C
 
const uint32_t kLgAcSwingVHighest = 0x881309D
 
const uint32_t kLgAcSwingVSwing = 0x8813149
 
const uint32_t kLgAcSwingVAuto = kLgAcSwingVSwing
 
const uint32_t kLgAcSwingVOff = 0x881315A
 
const uint8_t kLgAcSwingVLowest_Short = 0x04
 
const uint8_t kLgAcSwingVLow_Short = 0x05
 
const uint8_t kLgAcSwingVMiddle_Short = 0x06
 
const uint8_t kLgAcSwingVUpperMiddle_Short = 0x07
 
const uint8_t kLgAcSwingVHigh_Short = 0x08
 
const uint8_t kLgAcSwingVHighest_Short = 0x09
 
const uint8_t kLgAcSwingVSwing_Short = 0x14
 
const uint8_t kLgAcSwingVAuto_Short = kLgAcSwingVSwing_Short
 
const uint8_t kLgAcSwingVOff_Short = 0x15
 
const uint32_t kLgAcSwingHAuto = 0x881316B
 
const uint32_t kLgAcSwingHOff = 0x881317C
 
const uint8_t kLgAcVaneSwingVHighest = 1
 0b001 More...
 
const uint8_t kLgAcVaneSwingVHigh = 2
 0b010 More...
 
const uint8_t kLgAcVaneSwingVUpperMiddle = 3
 0b011 More...
 
const uint8_t kLgAcVaneSwingVMiddle = 4
 0b100 More...
 
const uint8_t kLgAcVaneSwingVLow = 5
 0b101 More...
 
const uint8_t kLgAcVaneSwingVLowest = 6
 0b110 More...
 
const uint8_t kLgAcVaneSwingVSize = 8
 
const uint8_t kLgAcSwingVMaxVanes = 4
 Max Nr. of Vanes. More...
 

Detailed Description

Support for LG protocols.

See also
https://github.com/arendst/Tasmota/blob/54c2eb283a02e4287640a4595e506bc6eadbd7f2/sonoff/xdrv_05_irremote.ino#L327-438
https://github.com/crankyoldgit/IRremoteESP8266/issues/1513

Variable Documentation

◆ kLgAcAuto

const uint8_t kLgAcAuto = 3

◆ kLgAcCool

const uint8_t kLgAcCool = 0

◆ kLgAcDry

const uint8_t kLgAcDry = 1

◆ kLgAcFan

const uint8_t kLgAcFan = 2

◆ kLgAcFanAuto

const uint8_t kLgAcFanAuto = 5

◆ kLgAcFanEntries

const uint8_t kLgAcFanEntries = kLgAcFanHigh + 1

◆ kLgAcFanHigh

const uint8_t kLgAcFanHigh = 10

◆ kLgAcFanLow

const uint8_t kLgAcFanLow = 1

◆ kLgAcFanLowAlt

const uint8_t kLgAcFanLowAlt = 9

◆ kLgAcFanLowest

const uint8_t kLgAcFanLowest = 0

◆ kLgAcFanMax

const uint8_t kLgAcFanMax = 4

◆ kLgAcFanMedium

const uint8_t kLgAcFanMedium = 2

◆ kLgAcHeat

const uint8_t kLgAcHeat = 4

◆ kLgAcLightToggle

const uint32_t kLgAcLightToggle = 0x88C00A6

◆ kLgAcMaxTemp

const uint8_t kLgAcMaxTemp = 30

◆ kLgAcMinTemp

const uint8_t kLgAcMinTemp = 16

◆ kLgAcOffCommand

const uint32_t kLgAcOffCommand = 0x88C0051

◆ kLgAcPowerOff

const uint8_t kLgAcPowerOff = 3

◆ kLgAcPowerOn

const uint8_t kLgAcPowerOn = 0

◆ kLgAcSignature

const uint8_t kLgAcSignature = 0x88

◆ kLgAcSwingHAuto

const uint32_t kLgAcSwingHAuto = 0x881316B

◆ kLgAcSwingHOff

const uint32_t kLgAcSwingHOff = 0x881317C

◆ kLgAcSwingSignature

const uint32_t kLgAcSwingSignature = 0x8813

◆ kLgAcSwingVAuto

const uint32_t kLgAcSwingVAuto = kLgAcSwingVSwing

◆ kLgAcSwingVAuto_Short

const uint8_t kLgAcSwingVAuto_Short = kLgAcSwingVSwing_Short

◆ kLgAcSwingVHigh

const uint32_t kLgAcSwingVHigh = 0x881308C

◆ kLgAcSwingVHigh_Short

const uint8_t kLgAcSwingVHigh_Short = 0x08

◆ kLgAcSwingVHighest

const uint32_t kLgAcSwingVHighest = 0x881309D

◆ kLgAcSwingVHighest_Short

const uint8_t kLgAcSwingVHighest_Short = 0x09

◆ kLgAcSwingVLow

const uint32_t kLgAcSwingVLow = 0x8813059

◆ kLgAcSwingVLow_Short

const uint8_t kLgAcSwingVLow_Short = 0x05

◆ kLgAcSwingVLowest

const uint32_t kLgAcSwingVLowest = 0x8813048

◆ kLgAcSwingVLowest_Short

const uint8_t kLgAcSwingVLowest_Short = 0x04

◆ kLgAcSwingVMaxVanes

const uint8_t kLgAcSwingVMaxVanes = 4

Max Nr. of Vanes.

◆ kLgAcSwingVMiddle

const uint32_t kLgAcSwingVMiddle = 0x881306A

◆ kLgAcSwingVMiddle_Short

const uint8_t kLgAcSwingVMiddle_Short = 0x06

◆ kLgAcSwingVOff

const uint32_t kLgAcSwingVOff = 0x881315A

◆ kLgAcSwingVOff_Short

const uint8_t kLgAcSwingVOff_Short = 0x15

◆ kLgAcSwingVSwing

const uint32_t kLgAcSwingVSwing = 0x8813149

◆ kLgAcSwingVSwing_Short

const uint8_t kLgAcSwingVSwing_Short = 0x14

◆ kLgAcSwingVToggle

const uint32_t kLgAcSwingVToggle = 0x8810001

◆ kLgAcSwingVUpperMiddle

const uint32_t kLgAcSwingVUpperMiddle = 0x881307B

◆ kLgAcSwingVUpperMiddle_Short

const uint8_t kLgAcSwingVUpperMiddle_Short = 0x07

◆ kLgAcTempAdjust

const uint8_t kLgAcTempAdjust = 15

◆ kLgAcVaneSwingVHigh

const uint8_t kLgAcVaneSwingVHigh = 2

0b010

◆ kLgAcVaneSwingVHighest

const uint8_t kLgAcVaneSwingVHighest = 1

0b001

◆ kLgAcVaneSwingVLow

const uint8_t kLgAcVaneSwingVLow = 5

0b101

◆ kLgAcVaneSwingVLowest

const uint8_t kLgAcVaneSwingVLowest = 6

0b110

◆ kLgAcVaneSwingVMiddle

const uint8_t kLgAcVaneSwingVMiddle = 4

0b100

◆ kLgAcVaneSwingVSize

const uint8_t kLgAcVaneSwingVSize = 8

◆ kLgAcVaneSwingVUpperMiddle

const uint8_t kLgAcVaneSwingVUpperMiddle = 3

0b011