41#ifndef IR_MITSUBISHI_H_
42#define IR_MITSUBISHI_H_
44#define __STDC_LIMIT_MACROS
52#include "IRsend_test.h"
250#define MITSUBISHI_AC_VANE_AUTO_MOVE kMitsubishiAcVaneAutoMove
251#define MITSUBISHI_AC_VANE_AUTO kMitsubishiAcVaneAuto
252#define MITSUBISHI_AC_MIN_TEMP kMitsubishiAcMinTemp
253#define MITSUBISHI_AC_MAX_TEMP kMitsubishiAcMaxTemp
254#define MITSUBISHI_AC_HEAT kMitsubishiAcHeat
255#define MITSUBISHI_AC_FAN_SILENT kMitsubishiAcFanSilent
256#define MITSUBISHI_AC_FAN_REAL_MAX kMitsubishiAcFanRealMax
257#define MITSUBISHI_AC_FAN_MAX kMitsubishiAcFanMax
258#define MITSUBISHI_AC_FAN_AUTO kMitsubishiAcFanAuto
259#define MITSUBISHI_AC_DRY kMitsubishiAcDry
260#define MITSUBISHI_AC_COOL kMitsubishiAcCool
261#define MITSUBISHI_AC_AUTO kMitsubishiAcAuto
269 explicit IRMitsubishiAC(
const uint16_t pin,
const bool inverted =
false,
270 const bool use_modulation =
true);
273#if SEND_MITSUBISHI_AC
286 void setTemp(
const float degrees);
288 void setFan(
const uint8_t speed);
289 uint8_t
getFan(
void)
const;
290 void setMode(
const uint8_t mode);
294 void setISee(
const bool state);
304 void setVane(
const uint8_t position);
311 void setRaw(
const uint8_t* data);
349 explicit IRMitsubishi136(
const uint16_t pin,
const bool inverted =
false,
350 const bool use_modulation =
true);
352#if SEND_MITSUBISHI136
367 void setTemp(
const uint8_t degrees);
369 void setFan(
const uint8_t speed);
370 uint8_t
getFan(
void)
const;
371 void setMode(
const uint8_t mode);
378 void setRaw(
const uint8_t* data);
403 explicit IRMitsubishi112(
const uint16_t pin,
const bool inverted =
false,
404 const bool use_modulation =
true);
406#if SEND_MITSUBISHI112
419 void setTemp(
const uint8_t degrees);
421 void setFan(
const uint8_t speed);
422 uint8_t
getFan(
void)
const;
423 void setMode(
const uint8_t mode);
432 void setRaw(
const uint8_t* data);
const uint16_t kMitsubishi136StateLength
Definition IRremoteESP8266.h:1347
const uint16_t kMitsubishiACMinRepeat
Definition IRremoteESP8266.h:1346
const uint16_t kMitsubishi136MinRepeat
Definition IRremoteESP8266.h:1349
const uint16_t kMitsubishi112StateLength
Definition IRremoteESP8266.h:1350
const uint16_t kMitsubishi112MinRepeat
Definition IRremoteESP8266.h:1352
const uint16_t kMitsubishiACStateLength
Definition IRremoteESP8266.h:1344
std::string String
Definition IRremoteESP8266.h:1564
Class for handling detailed Mitsubishi 122-bit A/C messages.
Definition ir_Mitsubishi.h:401
uint8_t getTemp(void) const
Get the current temperature setting.
Definition ir_Mitsubishi.cpp:1434
void setTemp(const uint8_t degrees)
Set the temperature.
Definition ir_Mitsubishi.cpp:1426
bool getPower(void) const
Get the value of the current power setting.
Definition ir_Mitsubishi.cpp:1420
void setPower(const bool on)
Change the power setting.
Definition ir_Mitsubishi.cpp:1414
String toString(void) const
Convert the internal state into a human readable string.
Definition ir_Mitsubishi.cpp:1690
void setMode(const uint8_t mode)
Set the operating mode of the A/C.
Definition ir_Mitsubishi.cpp:1467
static stdAc::swingv_t toCommonSwingV(const uint8_t pos)
Convert a native vertical swing postion to it's common equivalent.
Definition ir_Mitsubishi.cpp:1634
static stdAc::swingh_t toCommonSwingH(const uint8_t pos)
Convert a native horizontal swing postion to it's common equivalent.
Definition ir_Mitsubishi.cpp:1648
uint8_t getFan(void) const
Get the current fan speed setting.
Definition ir_Mitsubishi.cpp:1455
void begin(void)
Set up hardware to be able to send a message.
Definition ir_Mitsubishi.cpp:1383
bool getQuiet(void) const
Get the Quiet mode of the A/C.
Definition ir_Mitsubishi.cpp:1545
static uint8_t convertFan(const stdAc::fanspeed_t speed)
Convert a stdAc::fanspeed_t enum into it's native speed.
Definition ir_Mitsubishi.cpp:1565
uint8_t getSwingV(void) const
Get the Vertical Swing mode of the A/C.
Definition ir_Mitsubishi.cpp:1502
void setRaw(const uint8_t *data)
Set the internal state from a valid code for this protocol.
Definition ir_Mitsubishi.cpp:1402
uint8_t * getRaw(void)
Get a PTR to the internal state/code for this protocol.
Definition ir_Mitsubishi.cpp:1395
Mitsubishi112Protocol _
Definition ir_Mitsubishi.h:452
void checksum(void)
Calculate the checksum for the current internal state of the remote.
Definition ir_Mitsubishi.cpp:1378
static stdAc::opmode_t toCommonMode(const uint8_t mode)
Convert a native mode into its stdAc equivalent.
Definition ir_Mitsubishi.cpp:1609
void send(const uint16_t repeat=kMitsubishi112MinRepeat)
Send the current internal state as an IR message.
Definition ir_Mitsubishi.cpp:1388
static uint8_t convertSwingV(const stdAc::swingv_t position)
Convert a stdAc::swingv_t enum into it's native setting.
Definition ir_Mitsubishi.cpp:1579
void setSwingH(const uint8_t position)
Set the Horizontal Swing mode of the A/C.
Definition ir_Mitsubishi.cpp:1508
void stateReset(void)
Reset the state of the remote to a known good state/sequence.
Definition ir_Mitsubishi.cpp:1370
void setQuiet(const bool on)
Set the Quiet mode of the A/C.
Definition ir_Mitsubishi.cpp:1535
static uint8_t convertMode(const stdAc::opmode_t mode)
Convert a stdAc::opmode_t enum into its native mode.
Definition ir_Mitsubishi.cpp:1552
static stdAc::fanspeed_t toCommonFanSpeed(const uint8_t speed)
Convert a native fan speed into its stdAc equivalent.
Definition ir_Mitsubishi.cpp:1621
static uint8_t convertSwingH(const stdAc::swingh_t position)
Convert a stdAc::swingh_t enum into it's native setting.
Definition ir_Mitsubishi.cpp:1593
void off(void)
Set the requested power state of the A/C to off.
Definition ir_Mitsubishi.cpp:1410
void setFan(const uint8_t speed)
Set the speed of the fan.
Definition ir_Mitsubishi.cpp:1440
uint8_t getSwingH(void) const
Get the Horizontal Swing mode of the A/C.
Definition ir_Mitsubishi.cpp:1528
stdAc::state_t toCommon(void) const
Convert the current internal state into its stdAc::state_t equivalent.
Definition ir_Mitsubishi.cpp:1662
void on(void)
Set the requested power state of the A/C to off.
Definition ir_Mitsubishi.cpp:1407
int8_t calibrate(void)
Run the calibration to calculate uSec timing offsets for this platform.
Definition ir_Mitsubishi.h:412
uint8_t getMode(void) const
Get the operating mode setting of the A/C.
Definition ir_Mitsubishi.cpp:1461
void setSwingV(const uint8_t position)
Set the Vertical Swing mode of the A/C.
Definition ir_Mitsubishi.cpp:1484
IRsend _irsend
Instance of the IR send class.
Definition ir_Mitsubishi.h:446
Class for handling detailed Mitsubishi 136-bit A/C messages.
Definition ir_Mitsubishi.h:347
void setSwingV(const uint8_t position)
Set the Vertical Swing mode of the A/C.
Definition ir_Mitsubishi.cpp:1081
static stdAc::opmode_t toCommonMode(const uint8_t mode)
Convert a native mode into its stdAc equivalent.
Definition ir_Mitsubishi.cpp:1159
uint8_t getMode(void) const
Get the operating mode setting of the A/C.
Definition ir_Mitsubishi.cpp:1058
void setFan(const uint8_t speed)
Set the speed of the fan.
Definition ir_Mitsubishi.cpp:1046
bool getPower(void) const
Get the value of the current power setting.
Definition ir_Mitsubishi.cpp:1026
uint8_t getSwingV(void) const
Get the Vertical Swing mode of the A/C.
Definition ir_Mitsubishi.cpp:1098
void off(void)
Set the requested power state of the A/C to off.
Definition ir_Mitsubishi.cpp:1016
void send(const uint16_t repeat=kMitsubishi136MinRepeat)
Send the current internal state as an IR message.
Definition ir_Mitsubishi.cpp:994
static uint8_t convertMode(const stdAc::opmode_t mode)
Convert a stdAc::opmode_t enum into its native mode.
Definition ir_Mitsubishi.cpp:1119
void setPower(const bool on)
Change the power setting.
Definition ir_Mitsubishi.cpp:1020
static uint8_t convertSwingV(const stdAc::swingv_t position)
Convert a stdAc::swingv_t enum into it's native setting.
Definition ir_Mitsubishi.cpp:1145
uint8_t * getRaw(void)
Get a PTR to the internal state/code for this protocol.
Definition ir_Mitsubishi.cpp:1001
static bool validChecksum(const uint8_t *data, const uint16_t len=kMitsubishi136StateLength)
Verify the checksum is valid for a given state.
Definition ir_Mitsubishi.cpp:976
void stateReset(void)
Reset the state of the remote to a known good state/sequence.
Definition ir_Mitsubishi.cpp:956
void setQuiet(const bool on)
Set the Quiet mode of the A/C.
Definition ir_Mitsubishi.cpp:1104
void on(void)
Set the requested power state of the A/C to on.
Definition ir_Mitsubishi.cpp:1013
int8_t calibrate(void)
Run the calibration to calculate uSec timing offsets for this platform.
Definition ir_Mitsubishi.h:358
static uint8_t convertFan(const stdAc::fanspeed_t speed)
Convert a stdAc::fanspeed_t enum into it's native speed.
Definition ir_Mitsubishi.cpp:1132
String toString(void) const
Convert the internal state into a human readable string.
Definition ir_Mitsubishi.cpp:1223
bool getQuiet(void) const
Get the Quiet mode of the A/C.
Definition ir_Mitsubishi.cpp:1112
void checksum(void)
Calculate the checksum for the current internal state of the remote.
Definition ir_Mitsubishi.cpp:966
void setMode(const uint8_t mode)
Set the operating mode of the A/C.
Definition ir_Mitsubishi.cpp:1064
static stdAc::fanspeed_t toCommonFanSpeed(const uint8_t speed)
Convert a native fan speed into its stdAc equivalent.
Definition ir_Mitsubishi.cpp:1172
uint8_t getTemp(void) const
Get the current temperature setting.
Definition ir_Mitsubishi.cpp:1040
void begin(void)
Set up hardware to be able to send a message.
Definition ir_Mitsubishi.cpp:989
void setRaw(const uint8_t *data)
Set the internal state from a valid code for this protocol.
Definition ir_Mitsubishi.cpp:1008
void setTemp(const uint8_t degrees)
Set the temperature.
Definition ir_Mitsubishi.cpp:1032
Mitsubishi136Protocol _
Definition ir_Mitsubishi.h:396
static stdAc::swingv_t toCommonSwingV(const uint8_t pos)
Convert a native vertical swing postion to it's common equivalent.
Definition ir_Mitsubishi.cpp:1185
IRsend _irsend
Instance of the IR send class.
Definition ir_Mitsubishi.h:390
stdAc::state_t toCommon(void) const
Convert the current internal state into its stdAc::state_t equivalent.
Definition ir_Mitsubishi.cpp:1197
uint8_t getFan(void) const
Get the current fan speed setting.
Definition ir_Mitsubishi.cpp:1052
Class for handling detailed Mitsubishi 144-bit A/C messages.
Definition ir_Mitsubishi.h:267
void setWideVane(const uint8_t position)
Set the requested wide-vane (Horizontal Swing) operation mode of the a/c.
Definition ir_Mitsubishi.cpp:583
void setTemp(const float degrees)
Set the temperature.
Definition ir_Mitsubishi.cpp:393
void setPower(const bool on)
Change the power setting.
Definition ir_Mitsubishi.cpp:380
static stdAc::swingv_t toCommonSwingV(const uint8_t pos)
Convert a native vertical swing postion to it's common equivalent.
Definition ir_Mitsubishi.cpp:747
uint8_t * getRaw(void)
Get a PTR to the internal state/code for this protocol.
Definition ir_Mitsubishi.cpp:342
void setStopClock(const uint8_t clock)
Set the desired stop time of the A/C unit.
Definition ir_Mitsubishi.cpp:625
void setStartClock(const uint8_t clock)
Set the desired start time of the A/C unit.
Definition ir_Mitsubishi.cpp:613
void send(const uint16_t repeat=kMitsubishiACMinRepeat)
Send the current internal state as an IR message.
Definition ir_Mitsubishi.cpp:335
void on(void)
Set the requested power state of the A/C to on.
Definition ir_Mitsubishi.cpp:373
void setMode(const uint8_t mode)
Set the operating mode of the A/C.
Definition ir_Mitsubishi.cpp:443
String toString(void) const
Convert the internal state into a human readable string.
Definition ir_Mitsubishi.cpp:819
void setEcocool(const bool state)
Set the requested Ecocool mode.
Definition ir_Mitsubishi.cpp:504
Mitsubishi144Protocol _
Definition ir_Mitsubishi.h:341
uint8_t getVaneLeft(void) const
Get the Left Vane (Vertical Swing) mode of the A/C.
Definition ir_Mitsubishi.cpp:579
bool getAbsenseDetect(void) const
Get the Absense Detect mode of the A/C.
Definition ir_Mitsubishi.cpp:522
void setISave10C(const bool state)
Set the iSave10C (i-SAVE) mode of the A/C.
Definition ir_Mitsubishi.cpp:478
void setFan(const uint8_t speed)
Set the speed of the fan.
Definition ir_Mitsubishi.cpp:415
void setNaturalFlow(const bool state)
Set the requested Natural Flow mode.
Definition ir_Mitsubishi.cpp:544
uint8_t getVane(void) const
Get the Vane (Vertical Swing) mode of the A/C.
Definition ir_Mitsubishi.cpp:567
static uint8_t convertFan(const stdAc::fanspeed_t speed)
Convert a stdAc::fanspeed_t enum into it's native speed.
Definition ir_Mitsubishi.cpp:663
uint8_t getTimer(void) const
Get the timers active setting of the A/C.
Definition ir_Mitsubishi.cpp:634
void setVaneLeft(const uint8_t position)
Set the requested Left Vane (Vertical Swing) operation mode of the a/c unit.
Definition ir_Mitsubishi.cpp:573
IRsend _irsend
Instance of the IR send class.
Definition ir_Mitsubishi.h:335
uint8_t getMode(void) const
Get the operating mode setting of the A/C.
Definition ir_Mitsubishi.cpp:437
uint8_t getWideVane(void) const
Get the Wide Vane (Horizontal Swing) mode of the A/C.
Definition ir_Mitsubishi.cpp:589
bool getWeeklyTimerEnabled(void) const
Get the value of the WeeklyTimer Enabled setting.
Definition ir_Mitsubishi.cpp:815
void setClock(const uint8_t clock)
Set the clock time on the A/C unit.
Definition ir_Mitsubishi.cpp:601
void checksum(void)
Calculate and set the checksum values for the internal state.
Definition ir_Mitsubishi.cpp:354
bool getEcocool(void) const
Get the Ecocool mode of the A/C.
Definition ir_Mitsubishi.cpp:510
static stdAc::opmode_t toCommonMode(const uint8_t mode)
Convert a native mode into its stdAc equivalent.
Definition ir_Mitsubishi.cpp:718
bool getISave10C(void) const
Get the iSave10C (i-SAVE) mode of the A/C.
Definition ir_Mitsubishi.cpp:486
static uint8_t convertSwingH(const stdAc::swingh_t position)
Convert a stdAc::swingh_t enum into it's native setting.
Definition ir_Mitsubishi.cpp:702
bool getNaturalFlow(void) const
Get the Natural Flow mode of the A/C.
Definition ir_Mitsubishi.cpp:550
static uint8_t convertMode(const stdAc::opmode_t mode)
Convert a stdAc::opmode_t enum into its native mode.
Definition ir_Mitsubishi.cpp:650
void stateReset(void)
Reset the state of the remote to a known good state/sequence.
Definition ir_Mitsubishi.cpp:320
int8_t calibrate(void)
Run the calibration to calculate uSec timing offsets for this platform.
Definition ir_Mitsubishi.h:279
void begin(void)
Set up hardware to be able to send a message.
Definition ir_Mitsubishi.cpp:330
static stdAc::fanspeed_t toCommonFanSpeed(const uint8_t speed)
Convert a native fan speed into its stdAc equivalent.
Definition ir_Mitsubishi.cpp:731
static uint8_t calculateChecksum(const uint8_t *data)
Calculate the checksum for a given state.
Definition ir_Mitsubishi.cpp:368
uint8_t getStartClock(void) const
Get the desired start time of the A/C unit.
Definition ir_Mitsubishi.cpp:608
static uint8_t convertSwingV(const stdAc::swingv_t position)
Convert a stdAc::swingv_t enum into it's native setting.
Definition ir_Mitsubishi.cpp:680
bool getISee(void) const
Get the iSee mode of the A/C.
Definition ir_Mitsubishi.cpp:498
void setVane(const uint8_t position)
Set the requested vane (Vertical Swing) operation mode of the a/c unit.
Definition ir_Mitsubishi.cpp:558
bool getPower(void) const
Get the value of the current power setting.
Definition ir_Mitsubishi.cpp:386
void off(void)
Set the requested power state of the A/C to off.
Definition ir_Mitsubishi.cpp:376
void setRaw(const uint8_t *data)
Set the internal state from a valid code for this protocol.
Definition ir_Mitsubishi.cpp:349
void setWeeklyTimerEnabled(const bool on)
Change the Weekly Timer Enabled setting.
Definition ir_Mitsubishi.cpp:809
void setTimer(const uint8_t timer)
Set the timers active setting of the A/C.
Definition ir_Mitsubishi.cpp:643
uint8_t getClock(void) const
Get the clock time of the A/C unit.
Definition ir_Mitsubishi.cpp:596
static stdAc::swingh_t toCommonSwingH(const uint8_t pos)
Convert a native horizontal swing postion to it's common equivalent.
Definition ir_Mitsubishi.cpp:769
static bool validChecksum(const uint8_t *data)
Verify the checksum is valid for a given state.
Definition ir_Mitsubishi.cpp:361
uint8_t getFan(void) const
Get the current fan speed setting.
Definition ir_Mitsubishi.cpp:429
uint8_t getDirectIndirect(void) const
Get the Direct/Indirect mode of the A/C.
Definition ir_Mitsubishi.cpp:538
void setAbsenseDetect(const bool state)
Set the requested Absense Detect mode.
Definition ir_Mitsubishi.cpp:516
float getTemp(void) const
Get the current temperature setting.
Definition ir_Mitsubishi.cpp:409
void setDirectIndirect(const uint8_t position)
Set the requested Direct/Indirect mode. Only works if I-See mode is ON.
Definition ir_Mitsubishi.cpp:528
void setISee(const bool state)
Set the requested iSee mode.
Definition ir_Mitsubishi.cpp:492
stdAc::state_t toCommon(void) const
Convert the current internal state into its stdAc::state_t equivalent.
Definition ir_Mitsubishi.cpp:783
uint8_t getStopClock(void) const
Get the desired stop time of the A/C unit.
Definition ir_Mitsubishi.cpp:620
Class for sending all basic IR protocols.
Definition IRsend.h:249
int8_t calibrate(uint16_t hz=38000U)
Calculate & set any offsets to account for execution times during sending.
Definition IRsend.cpp:209
const uint8_t kMitsubishiAcVaneSwing
Definition ir_Mitsubishi.h:132
const uint8_t kMitsubishi112SwingVMiddle
Definition ir_Mitsubishi.h:236
const uint8_t kMitsubishiAcNoTimer
Definition ir_Mitsubishi.h:144
const uint8_t kMitsubishi136SwingVLow
Definition ir_Mitsubishi.h:180
const uint8_t kMitsubishiAcVaneAuto
Definition ir_Mitsubishi.h:126
const uint8_t kMitsubishi112SwingVHighest
Definition ir_Mitsubishi.h:238
const uint8_t kMitsubishi112SwingVAuto
Definition ir_Mitsubishi.h:239
const uint8_t kMitsubishiAcAuto
Definition ir_Mitsubishi.h:114
const uint8_t kMitsubishi112SwingHRightMax
Definition ir_Mitsubishi.h:245
const uint8_t kMitsubishiAcWideVaneAuto
Definition ir_Mitsubishi.h:140
const uint8_t kMitsubishiAcVaneMiddle
Definition ir_Mitsubishi.h:129
const uint8_t kMitsubishi112Heat
Definition ir_Mitsubishi.h:222
const uint8_t kMitsubishi136FanMin
Definition ir_Mitsubishi.h:184
const uint8_t kMitsubishi136MaxTemp
Definition ir_Mitsubishi.h:173
const uint8_t kMitsubishiAcVaneAutoMove
Definition ir_Mitsubishi.h:133
const uint8_t kMitsubishiAcIndirect
Definition ir_Mitsubishi.h:142
const uint8_t kMitsubishiAcFanAuto
Definition ir_Mitsubishi.h:119
const uint8_t kMitsubishi136SwingVHigh
Definition ir_Mitsubishi.h:181
const uint8_t kMitsubishiAcStartTimer
Definition ir_Mitsubishi.h:145
const uint8_t kMitsubishiAcCool
Definition ir_Mitsubishi.h:115
const uint8_t kMitsubishi136FanMax
Definition ir_Mitsubishi.h:187
const uint8_t kMitsubishi136Fan
Definition ir_Mitsubishi.h:174
const uint8_t kMitsubishi112SwingHLeftMax
Definition ir_Mitsubishi.h:241
const uint8_t kMitsubishi112Dry
Definition ir_Mitsubishi.h:224
const uint8_t kMitsubishi112FanLow
Definition ir_Mitsubishi.h:230
const uint8_t kMitsubishiAcDirectOff
Definition ir_Mitsubishi.h:141
const uint8_t kMitsubishi112SwingVLow
Definition ir_Mitsubishi.h:235
const uint8_t kMitsubishiAcWideVaneRight
Definition ir_Mitsubishi.h:137
const uint8_t kMitsubishi112FanMax
Definition ir_Mitsubishi.h:232
const uint8_t kMitsubishi136SwingVHighest
Definition ir_Mitsubishi.h:182
const uint8_t kMitsubishi136MinTemp
Definition ir_Mitsubishi.h:172
const uint8_t kMitsubishiAcStopTimer
Definition ir_Mitsubishi.h:146
const uint8_t kMitsubishiAcVaneHigh
Definition ir_Mitsubishi.h:128
const uint8_t kMitsubishiAcHeat
Definition ir_Mitsubishi.h:117
const uint8_t kMitsubishiAcWideVaneWide
Definition ir_Mitsubishi.h:139
const uint8_t kMitsubishi112Auto
Definition ir_Mitsubishi.h:223
const uint8_t kMitsubishiAcFanSilent
Definition ir_Mitsubishi.h:122
const uint8_t kMitsubishi136FanMed
Definition ir_Mitsubishi.h:186
const uint8_t kMitsubishi112SwingHRight
Definition ir_Mitsubishi.h:244
const uint8_t kMitsubishi112SwingHMiddle
Definition ir_Mitsubishi.h:243
const uint8_t kMitsubishiAcFan
Definition ir_Mitsubishi.h:118
const uint8_t kMitsubishiAcWideVaneLeft
Definition ir_Mitsubishi.h:135
const uint8_t kMitsubishi136SwingVAuto
Definition ir_Mitsubishi.h:183
const uint8_t kMitsubishi112SwingHLeft
Definition ir_Mitsubishi.h:242
const uint8_t kMitsubishiAcVaneHighest
Definition ir_Mitsubishi.h:127
const uint8_t kMitsubishiAcFanQuiet
Definition ir_Mitsubishi.h:123
const uint8_t kMitsubishi136Heat
Definition ir_Mitsubishi.h:176
const uint8_t kMitsubishi136Cool
Definition ir_Mitsubishi.h:175
const uint8_t kMitsubishiAcDry
Definition ir_Mitsubishi.h:116
const uint8_t kMitsubishiAcDirect
Definition ir_Mitsubishi.h:143
const uint8_t kMitsubishiAcFanRealMax
Definition ir_Mitsubishi.h:121
const float kMitsubishiAcMaxTemp
Definition ir_Mitsubishi.h:125
const uint8_t kMitsubishi112FanMed
Definition ir_Mitsubishi.h:231
const uint8_t kMitsubishi112Cool
Definition ir_Mitsubishi.h:221
const uint8_t kMitsubishi136SwingVLowest
Definition ir_Mitsubishi.h:179
const uint8_t kMitsubishiAcWideVaneMiddle
Definition ir_Mitsubishi.h:136
const uint8_t kMitsubishiAcWideVaneRightMax
Definition ir_Mitsubishi.h:138
const uint8_t kMitsubishi112SwingHAuto
Definition ir_Mitsubishi.h:247
const uint8_t kMitsubishi112SwingVHigh
Definition ir_Mitsubishi.h:237
const uint8_t kMitsubishiAcFanMax
Definition ir_Mitsubishi.h:120
const uint8_t kMitsubishi112SwingVLowest
Definition ir_Mitsubishi.h:234
const uint8_t kMitsubishi136PowerByte
Definition ir_Mitsubishi.h:171
const uint8_t kMitsubishiAcVaneLow
Definition ir_Mitsubishi.h:130
const uint8_t kMitsubishi112MinTemp
Definition ir_Mitsubishi.h:226
const uint8_t kMitsubishi136Dry
Definition ir_Mitsubishi.h:178
const uint8_t kMitsubishi112FanMin
Definition ir_Mitsubishi.h:229
const float kMitsubishiAcMinTemp
Definition ir_Mitsubishi.h:124
const uint8_t kMitsubishiAcWideVaneLeftMax
Definition ir_Mitsubishi.h:134
const uint8_t kMitsubishi112FanQuiet
Definition ir_Mitsubishi.h:233
const uint8_t kMitsubishi136Auto
Definition ir_Mitsubishi.h:177
const uint8_t kMitsubishiAcVaneLowest
Definition ir_Mitsubishi.h:131
const uint8_t kMitsubishiAcStartStopTimer
Definition ir_Mitsubishi.h:147
const uint8_t kMitsubishi136FanLow
Definition ir_Mitsubishi.h:185
const uint8_t kMitsubishi136FanQuiet
Definition ir_Mitsubishi.h:188
const uint8_t kMitsubishi112SwingHWide
Definition ir_Mitsubishi.h:246
const uint8_t kMitsubishi112MaxTemp
Definition ir_Mitsubishi.h:227
fanspeed_t
Common A/C settings for Fan Speeds.
Definition IRsend.h:61
opmode_t
Common A/C settings for A/C operating modes.
Definition IRsend.h:49
swingh_t
Common A/C settings for Horizontal Swing.
Definition IRsend.h:100
swingv_t
Common A/C settings for Vertical Swing.
Definition IRsend.h:74
Structure to hold a common A/C state.
Definition IRsend.h:114
Native representation of a Mitsubishi 112-bit A/C message.
Definition ir_Mitsubishi.h:191
uint8_t SwingH
Definition ir_Mitsubishi.h:214
uint8_t pad0[5]
Definition ir_Mitsubishi.h:195
uint8_t Sum
Definition ir_Mitsubishi.h:217
uint8_t SwingV
Definition ir_Mitsubishi.h:208
uint8_t Temp
Definition ir_Mitsubishi.h:204
uint8_t Power
Definition ir_Mitsubishi.h:198
uint8_t raw[kMitsubishi112StateLength]
The state in code form.
Definition ir_Mitsubishi.h:192
uint8_t Mode
Definition ir_Mitsubishi.h:201
uint8_t Fan
Definition ir_Mitsubishi.h:207
uint8_t pad1[3]
Definition ir_Mitsubishi.h:211
Native representation of a Mitsubishi 136-bit A/C message.
Definition ir_Mitsubishi.h:150
uint8_t SwingV
Definition ir_Mitsubishi.h:167
uint8_t Mode
Definition ir_Mitsubishi.h:160
uint8_t pad[5]
Definition ir_Mitsubishi.h:154
uint8_t Power
Definition ir_Mitsubishi.h:157
uint8_t Temp
Definition ir_Mitsubishi.h:162
uint8_t raw[kMitsubishi136StateLength]
The state in code form.
Definition ir_Mitsubishi.h:151
uint8_t Fan
Definition ir_Mitsubishi.h:165
Native representation of a Mitsubishi 144-bit A/C message.
Definition ir_Mitsubishi.h:56
uint8_t Fan
Definition ir_Mitsubishi.h:78
uint8_t ISee
Definition ir_Mitsubishi.h:68
uint8_t Temp
Definition ir_Mitsubishi.h:71
uint8_t Timer
Definition ir_Mitsubishi.h:89
uint8_t StartClock
Definition ir_Mitsubishi.h:87
uint8_t WeeklyTimer
Definition ir_Mitsubishi.h:90
uint8_t FanAuto
Definition ir_Mitsubishi.h:81
uint8_t Sum
Definition ir_Mitsubishi.h:109
uint8_t iSave10C
Definition ir_Mitsubishi.h:100
uint8_t HalfDegree
Definition ir_Mitsubishi.h:72
uint8_t Clock
Definition ir_Mitsubishi.h:83
uint8_t Ecocool
Definition ir_Mitsubishi.h:94
uint8_t pad0[5]
Definition ir_Mitsubishi.h:60
uint8_t NaturalFlow
Definition ir_Mitsubishi.h:104
uint8_t StopClock
Definition ir_Mitsubishi.h:85
uint8_t AbsenseDetect
Definition ir_Mitsubishi.h:98
uint8_t Mode
Definition ir_Mitsubishi.h:67
uint8_t raw[kMitsubishiACStateLength]
The state in code form.
Definition ir_Mitsubishi.h:57
uint8_t VaneBit
Definition ir_Mitsubishi.h:80
uint8_t WideVane
Definition ir_Mitsubishi.h:76
uint8_t DirectIndirect
Definition ir_Mitsubishi.h:97
uint8_t VaneLeft
Definition ir_Mitsubishi.h:106
uint8_t Vane
Definition ir_Mitsubishi.h:79
uint8_t Power
Definition ir_Mitsubishi.h:63