IRremoteESP8266
IRac.h
Go to the documentation of this file.
1 #ifndef IRAC_H_
2 #define IRAC_H_
3 
4 // Copyright 2019 David Conran
5 
6 #ifndef UNIT_TEST
7 #include <Arduino.h>
8 #endif
9 #include "IRremoteESP8266.h"
10 #include "ir_Airwell.h"
11 #include "ir_Amcor.h"
12 #include "ir_Argo.h"
13 #include "ir_Carrier.h"
14 #include "ir_Coolix.h"
15 #include "ir_Corona.h"
16 #include "ir_Daikin.h"
17 #include "ir_Delonghi.h"
18 #include "ir_Fujitsu.h"
19 #include "ir_Electra.h"
20 #include "ir_Goodweather.h"
21 #include "ir_Gree.h"
22 #include "ir_Haier.h"
23 #include "ir_Hitachi.h"
24 #include "ir_Kelvinator.h"
25 #include "ir_LG.h"
26 #include "ir_Midea.h"
27 #include "ir_Mitsubishi.h"
28 #include "ir_MitsubishiHeavy.h"
29 #include "ir_Neoclima.h"
30 #include "ir_Panasonic.h"
31 #include "ir_Samsung.h"
32 #include "ir_Sanyo.h"
33 #include "ir_Sharp.h"
34 #include "ir_Tcl.h"
35 #include "ir_Teco.h"
36 #include "ir_Toshiba.h"
37 #include "ir_Trotec.h"
38 #include "ir_Vestel.h"
39 #include "ir_Voltas.h"
40 #include "ir_Whirlpool.h"
41 
42 // Constants
43 const int8_t kGpioUnused = -1;
44 
45 // Class
47 class IRac {
48  public:
49  explicit IRac(const uint16_t pin, const bool inverted = false,
50  const bool use_modulation = true);
51  static bool isProtocolSupported(const decode_type_t protocol);
52  static void initState(stdAc::state_t *state,
53  const decode_type_t vendor, const int16_t model,
54  const bool power, const stdAc::opmode_t mode,
55  const float degrees, const bool celsius,
56  const stdAc::fanspeed_t fan,
57  const stdAc::swingv_t swingv,
58  const stdAc::swingh_t swingh,
59  const bool quiet, const bool turbo, const bool econo,
60  const bool light, const bool filter, const bool clean,
61  const bool beep, const int16_t sleep,
62  const int16_t clock);
63  static void initState(stdAc::state_t *state);
64  void markAsSent(void);
65  bool sendAc(void);
66  bool sendAc(const stdAc::state_t desired, const stdAc::state_t *prev = NULL);
67  bool sendAc(const decode_type_t vendor, const int16_t model,
68  const bool power, const stdAc::opmode_t mode, const float degrees,
69  const bool celsius, const stdAc::fanspeed_t fan,
70  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
71  const bool quiet, const bool turbo, const bool econo,
72  const bool light, const bool filter, const bool clean,
73  const bool beep, const int16_t sleep = -1,
74  const int16_t clock = -1);
75  static bool cmpStates(const stdAc::state_t a, const stdAc::state_t b);
76  static bool strToBool(const char *str, const bool def = false);
77  static int16_t strToModel(const char *str, const int16_t def = -1);
79  const char *str, const stdAc::opmode_t def = stdAc::opmode_t::kAuto);
81  const char *str,
84  const char *str, const stdAc::swingv_t def = stdAc::swingv_t::kOff);
86  const char *str, const stdAc::swingh_t def = stdAc::swingh_t::kOff);
87  static String boolToString(const bool value);
88  static String opmodeToString(const stdAc::opmode_t mode);
89  static String fanspeedToString(const stdAc::fanspeed_t speed);
90  static String swingvToString(const stdAc::swingv_t swingv);
91  static String swinghToString(const stdAc::swingh_t swingh);
94  bool hasStateChanged(void);
96 #ifndef UNIT_TEST
97 
98  private:
99 #endif
100  uint16_t _pin;
101  bool _inverted;
102  bool _modulation;
104 #if SEND_AIRWELL
105  void airwell(IRAirwellAc *ac,
106  const bool on, const stdAc::opmode_t mode, const float degrees,
107  const stdAc::fanspeed_t fan);
108 #endif // SEND_AIRWELL
109 #if SEND_AMCOR
110  void amcor(IRAmcorAc *ac,
111  const bool on, const stdAc::opmode_t mode, const float degrees,
112  const stdAc::fanspeed_t fan);
113 #endif // SEND_AMCOR
114 #if SEND_ARGO
115  void argo(IRArgoAC *ac,
116  const bool on, const stdAc::opmode_t mode, const float degrees,
117  const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv,
118  const bool turbo, const int16_t sleep = -1);
119 #endif // SEND_ARGO
120 #if SEND_CARRIER_AC64
121 void carrier64(IRCarrierAc64 *ac,
122  const bool on, const stdAc::opmode_t mode,
123  const float degrees, const stdAc::fanspeed_t fan,
124  const stdAc::swingv_t swingv, const int16_t sleep = -1);
125 #endif // SEND_CARRIER_AC64
126 #if SEND_COOLIX
127  void coolix(IRCoolixAC *ac,
128  const bool on, const stdAc::opmode_t mode, const float degrees,
129  const stdAc::fanspeed_t fan,
130  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
131  const bool turbo, const bool light, const bool clean,
132  const int16_t sleep = -1);
133 #endif // SEND_COOLIX
134 #if SEND_CORONA_AC
135  void corona(IRCoronaAc *ac,
136  const bool on, const stdAc::opmode_t mode,
137  const float degrees, const stdAc::fanspeed_t fan,
138  const stdAc::swingv_t swingv, const bool econo);
139 #endif // SEND_CORONA_AC
140 #if SEND_DAIKIN
141  void daikin(IRDaikinESP *ac,
142  const bool on, const stdAc::opmode_t mode, const float degrees,
143  const stdAc::fanspeed_t fan,
144  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
145  const bool quiet, const bool turbo, const bool econo,
146  const bool clean);
147 #endif // SEND_DAIKIN
148 #if SEND_DAIKIN128
149  void daikin128(IRDaikin128 *ac,
150  const bool on, const stdAc::opmode_t mode,
151  const float degrees, const stdAc::fanspeed_t fan,
152  const stdAc::swingv_t swingv,
153  const bool quiet, const bool turbo, const bool light,
154  const bool econo, const int16_t sleep = -1,
155  const int16_t clock = -1);
156 #endif // SEND_DAIKIN128
157 #if SEND_DAIKIN152
158  void daikin152(IRDaikin152 *ac,
159  const bool on, const stdAc::opmode_t mode,
160  const float degrees, const stdAc::fanspeed_t fan,
161  const stdAc::swingv_t swingv,
162  const bool quiet, const bool turbo, const bool econo);
163 #endif // SEND_DAIKIN152
164 #if SEND_DAIKIN160
165  void daikin160(IRDaikin160 *ac,
166  const bool on, const stdAc::opmode_t mode,
167  const float degrees, const stdAc::fanspeed_t fan,
168  const stdAc::swingv_t swingv);
169 #endif // SEND_DAIKIN160
170 #if SEND_DAIKIN176
171  void daikin176(IRDaikin176 *ac,
172  const bool on, const stdAc::opmode_t mode,
173  const float degrees, const stdAc::fanspeed_t fan,
174  const stdAc::swingh_t swingh);
175 #endif // SEND_DAIKIN176
176 #if SEND_DAIKIN2
177  void daikin2(IRDaikin2 *ac,
178  const bool on, const stdAc::opmode_t mode,
179  const float degrees, const stdAc::fanspeed_t fan,
180  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
181  const bool quiet, const bool turbo, const bool light,
182  const bool econo, const bool filter, const bool clean,
183  const bool beep, const int16_t sleep = -1,
184  const int16_t clock = -1);
185 #endif // SEND_DAIKIN2
186 #if SEND_DAIKIN216
187 void daikin216(IRDaikin216 *ac,
188  const bool on, const stdAc::opmode_t mode,
189  const float degrees, const stdAc::fanspeed_t fan,
190  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
191  const bool quiet, const bool turbo);
192 #endif // SEND_DAIKIN216
193 #if SEND_DAIKIN64
194  void daikin64(IRDaikin64 *ac,
195  const bool on, const stdAc::opmode_t mode,
196  const float degrees, const stdAc::fanspeed_t fan,
197  const stdAc::swingv_t swingv,
198  const bool quiet, const bool turbo,
199  const int16_t sleep = -1, const int16_t clock = -1);
200 #endif // SEND_DAIKIN64
201 #if SEND_DELONGHI_AC
202  void delonghiac(IRDelonghiAc *ac,
203  const bool on, const stdAc::opmode_t mode, const bool celsius,
204  const float degrees, const stdAc::fanspeed_t fan,
205  const bool turbo, const int16_t sleep = -1);
206 #endif // SEND_DELONGHI_AC
207 #if SEND_ELECTRA_AC
208 void electra(IRElectraAc *ac,
209  const bool on, const stdAc::opmode_t mode,
210  const float degrees, const stdAc::fanspeed_t fan,
211  const stdAc::swingv_t swingv,
212  const stdAc::swingh_t swingh, const bool turbo,
213  const bool lighttoggle, const bool clean);
214 #endif // SEND_ELECTRA_AC
215 #if SEND_FUJITSU_AC
216  void fujitsu(IRFujitsuAC *ac, const fujitsu_ac_remote_model_t model,
217  const bool on, const stdAc::opmode_t mode, const float degrees,
218  const stdAc::fanspeed_t fan,
219  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
220  const bool quiet, const bool turbo, const bool econo,
221  const bool filter, const bool clean);
222 #endif // SEND_FUJITSU_AC
223 #if SEND_GOODWEATHER
224  void goodweather(IRGoodweatherAc *ac,
225  const bool on, const stdAc::opmode_t mode,
226  const float degrees,
227  const stdAc::fanspeed_t fan,
228  const stdAc::swingv_t swingv,
229  const bool turbo, const bool light,
230  const int16_t sleep = -1);
231 #endif // SEND_GOODWEATHER
232 #if SEND_GREE
233  void gree(IRGreeAC *ac, const gree_ac_remote_model_t model,
234  const bool on, const stdAc::opmode_t mode, const bool celsius,
235  const float degrees, const stdAc::fanspeed_t fan,
236  const stdAc::swingv_t swingv, const bool turbo, const bool light,
237  const bool clean, const int16_t sleep = -1);
238 #endif // SEND_GREE
239 #if SEND_HAIER_AC
240  void haier(IRHaierAC *ac,
241  const bool on, const stdAc::opmode_t mode, const float degrees,
242  const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv,
243  const bool filter, const int16_t sleep = -1,
244  const int16_t clock = -1);
245 #endif // SEND_HAIER_AC
246 #if SEND_HAIER_AC_YRW02
247  void haierYrwo2(IRHaierACYRW02 *ac,
248  const bool on, const stdAc::opmode_t mode,
249  const float degrees, const stdAc::fanspeed_t fan,
250  const stdAc::swingv_t swingv,
251  const bool turbo, const bool filter,
252  const int16_t sleep = -1);
253 #endif // SEND_HAIER_AC_YRW02
254 #if SEND_HITACHI_AC
255  void hitachi(IRHitachiAc *ac,
256  const bool on, const stdAc::opmode_t mode,
257  const float degrees, const stdAc::fanspeed_t fan,
258  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh);
259 #endif // SEND_HITACHI_AC
260 #if SEND_HITACHI_AC1
261  void hitachi1(IRHitachiAc1 *ac, const hitachi_ac1_remote_model_t model,
262  const bool on, const bool power_toggle,
263  const stdAc::opmode_t mode,
264  const float degrees, const stdAc::fanspeed_t fan,
265  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
266  const bool swing_toggle, const int16_t sleep = -1);
267 #endif // SEND_HITACHI_AC1
268 #if SEND_HITACHI_AC344
269  void hitachi344(IRHitachiAc344 *ac,
270  const bool on, const stdAc::opmode_t mode,
271  const float degrees, const stdAc::fanspeed_t fan,
272  const stdAc::swingv_t swingv,
273  const stdAc::swingh_t swingh);
274 #endif // SEND_HITACHI_AC344
275 #if SEND_HITACHI_AC424
276  void hitachi424(IRHitachiAc424 *ac,
277  const bool on, const stdAc::opmode_t mode,
278  const float degrees, const stdAc::fanspeed_t fan,
279  const stdAc::swingv_t swingv);
280 #endif // SEND_HITACHI_AC424
281 #if SEND_KELVINATOR
282  void kelvinator(IRKelvinatorAC *ac,
283  const bool on, const stdAc::opmode_t mode,
284  const float degrees, const stdAc::fanspeed_t fan,
285  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
286  const bool quiet, const bool turbo, const bool light,
287  const bool filter, const bool clean);
288 #endif // SEND_KELVINATOR
289 #if SEND_LG
290  void lg(IRLgAc *ac, const lg_ac_remote_model_t model,
291  const bool on, const stdAc::opmode_t mode,
292  const float degrees, const stdAc::fanspeed_t fan);
293 #endif // SEND_LG
294 #if SEND_MIDEA
295  void midea(IRMideaAC *ac,
296  const bool on, const stdAc::opmode_t mode, const bool celsius,
297  const float degrees, const stdAc::fanspeed_t fan,
298  const stdAc::swingv_t swingv, const bool econo,
299  const int16_t sleep = -1);
300 #endif // SEND_MIDEA
301 #if SEND_MITSUBISHI_AC
302  void mitsubishi(IRMitsubishiAC *ac,
303  const bool on, const stdAc::opmode_t mode,
304  const float degrees,
305  const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv,
306  const stdAc::swingh_t swingh,
307  const bool quiet, const int16_t clock = -1);
308 #endif // SEND_MITSUBISHI_AC
309 #if SEND_MITSUBISHI112
311  const bool on, const stdAc::opmode_t mode,
312  const float degrees, const stdAc::fanspeed_t fan,
313  const stdAc::swingv_t swingv,
314  const stdAc::swingh_t swingh,
315  const bool quiet);
316 #endif // SEND_MITSUBISHI112
317 #if SEND_MITSUBISHI136
319  const bool on, const stdAc::opmode_t mode,
320  const float degrees, const stdAc::fanspeed_t fan,
321  const stdAc::swingv_t swingv, const bool quiet);
322 #endif // SEND_MITSUBISHI136
323 #if SEND_MITSUBISHIHEAVY
325  const bool on, const stdAc::opmode_t mode,
326  const float degrees, const stdAc::fanspeed_t fan,
327  const stdAc::swingv_t swingv,
328  const stdAc::swingh_t swingh,
329  const bool turbo, const bool econo, const bool clean);
331  const bool on, const stdAc::opmode_t mode,
332  const float degrees, const stdAc::fanspeed_t fan,
333  const stdAc::swingv_t swingv,
334  const stdAc::swingh_t swingh,
335  const bool quiet, const bool turbo, const bool econo,
336  const bool filter, const bool clean,
337  const int16_t sleep = -1);
338 #endif // SEND_MITSUBISHIHEAVY
339 #if SEND_NEOCLIMA
340  void neoclima(IRNeoclimaAc *ac, const bool on, const stdAc::opmode_t mode,
341  const float degrees, const stdAc::fanspeed_t fan,
342  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
343  const bool turbo, const bool light, const bool filter,
344  const int16_t sleep = -1);
345 #endif // SEND_NEOCLIMA
346 #if SEND_PANASONIC_AC
348  const bool on, const stdAc::opmode_t mode, const float degrees,
349  const stdAc::fanspeed_t fan,
350  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
351  const bool quiet, const bool turbo, const bool filter,
352  const int16_t clock = -1);
353 #endif // SEND_PANASONIC_AC
354 #if SEND_SAMSUNG_AC
355  void samsung(IRSamsungAc *ac,
356  const bool on, const stdAc::opmode_t mode, const float degrees,
357  const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv,
358  const bool quiet, const bool turbo, const bool light,
359  const bool filter, const bool clean,
360  const bool beep, const bool prevpower = true,
361  const bool forcepower = true);
362 #endif // SEND_SAMSUNG_AC
363 #if SEND_SANYO_AC
364  void sanyo(IRSanyoAc *ac,
365  const bool on, const stdAc::opmode_t mode, const float degrees,
366  const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv,
367  const bool beep, const int16_t sleep = -1);
368 #endif // SEND_SANYO_AC
369 #if SEND_SHARP_AC
370  void sharp(IRSharpAc *ac,
371  const bool on, const bool prev_power, const stdAc::opmode_t mode,
372  const float degrees, const stdAc::fanspeed_t fan,
373  const stdAc::swingv_t swingv, const bool turbo, const bool filter,
374  const bool clean);
375 #endif // SEND_SHARP_AC
376 #if SEND_TCL112AC
377  void tcl112(IRTcl112Ac *ac,
378  const bool on, const stdAc::opmode_t mode, const float degrees,
379  const stdAc::fanspeed_t fan,
380  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
381  const bool turbo, const bool light, const bool econo,
382  const bool filter);
383 #endif // SEND_TCL112AC
384 #if SEND_TECO
385  void teco(IRTecoAc *ac,
386  const bool on, const stdAc::opmode_t mode, const float degrees,
387  const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv,
388  const bool light, const int16_t sleep = -1);
389 #endif // SEND_TECO
390 #if SEND_TOSHIBA_AC
391  void toshiba(IRToshibaAC *ac,
392  const bool on, const stdAc::opmode_t mode, const float degrees,
393  const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv,
394  const bool turbo, const bool econo);
395 #endif // SEND_TOSHIBA_AC
396 #if SEND_TROTEC
397  void trotec(IRTrotecESP *ac,
398  const bool on, const stdAc::opmode_t mode, const float degrees,
399  const stdAc::fanspeed_t fan, const int16_t sleep = -1);
400 #endif // SEND_TROTEC
401 #if SEND_VESTEL_AC
402  void vestel(IRVestelAc *ac,
403  const bool on, const stdAc::opmode_t mode, const float degrees,
404  const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv,
405  const bool turbo, const bool filter,
406  const int16_t sleep = -1, const int16_t clock = -1,
407  const bool sendNormal = true);
408 #endif // SEND_VESTEL_AC
409 #if SEND_VOLTAS
410  void voltas(IRVoltas *ac, const voltas_ac_remote_model_t model,
411  const bool on, const stdAc::opmode_t mode,
412  const float degrees, const stdAc::fanspeed_t fan,
413  const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
414  const bool turbo, const bool econo, const bool light,
415  const int16_t sleep = -1);
416 #endif // SEND_VOLTAS
417 #if SEND_WHIRLPOOL_AC
419  const bool on, const stdAc::opmode_t mode, const float degrees,
420  const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv,
421  const bool turbo, const bool light,
422  const int16_t sleep = -1, const int16_t clock = -1);
423 #endif // SEND_WHIRLPOOL_AC
424 static stdAc::state_t cleanState(const stdAc::state_t state);
425 static stdAc::state_t handleToggles(const stdAc::state_t desired,
426  const stdAc::state_t *prev = NULL);
427 }; // IRac class
428 
430 namespace IRAcUtils {
431  String resultAcToString(const decode_results * const results);
432  bool decodeToState(const decode_results *decode, stdAc::state_t *result,
433  const stdAc::state_t *prev = NULL);
434 } // namespace IRAcUtils
435 #endif // IRAC_H_
IRPanasonicAc
Class for handling detailed Panasonic A/C messages.
Definition: ir_Panasonic.h:98
IRac::airwell
void airwell(IRAirwellAc *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan)
Send an Airwell A/C message with the supplied settings.
Definition: IRac.cpp:291
ir_Kelvinator.h
Support for Kelvinator A/C protocols.
IRSamsungAc
Class for handling detailed Samsung A/C messages.
Definition: ir_Samsung.h:97
IRac::hitachi
void hitachi(IRHitachiAc *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh)
Send a Hitachi A/C message with the supplied settings.
Definition: IRac.cpp:1060
IRToshibaAC
Class for handling detailed Toshiba A/C messages.
Definition: ir_Toshiba.h:100
decode_type_t
decode_type_t
Enumerator for defining and numbering of supported IR protocol.
Definition: IRremoteESP8266.h:736
IRac::getStatePrev
stdAc::state_t getStatePrev(void)
Get the previous internal A/C climate state that should have already been sent to the device....
Definition: IRac.cpp:131
IRac::getState
stdAc::state_t getState(void)
Get the current internal A/C climate state.
Definition: IRac.cpp:126
IRMitsubishiHeavy152Ac
Class for handling detailed Mitsubishi Heavy 152-bit A/C messages.
Definition: ir_MitsubishiHeavy.h:133
IRac::strToSwingH
static stdAc::swingh_t strToSwingH(const char *str, const stdAc::swingh_t def=stdAc::swingh_t::kOff)
Convert the supplied str into the appropriate enum.
Definition: IRac.cpp:2664
IRac::hitachi344
void hitachi344(IRHitachiAc344 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh)
Send a Hitachi 344-bit A/C message with the supplied settings.
Definition: IRac.cpp:1136
stdAc::opmode_t::kAuto
@ kAuto
ir_Electra.h
Support for Electra A/C protocols.
IRac::markAsSent
void markAsSent(void)
Update the previous state to the current one.
Definition: IRac.cpp:2527
stdAc::swingv_t
swingv_t
Common A/C settings for Vertical Swing.
Definition: IRsend.h:70
ir_Airwell.h
Airwell "Manchester code" based protocol. Some other Airwell products use the COOLIX protocol.
IRac::daikin2
void daikin2(IRDaikin2 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool quiet, const bool turbo, const bool light, const bool econo, const bool filter, const bool clean, const bool beep, const int16_t sleep=-1, const int16_t clock=-1)
Send a Daikin2 A/C message with the supplied settings.
Definition: IRac.cpp:680
ir_Trotec.h
Support for Trotec protocols.
IRac::sanyo
void sanyo(IRSanyoAc *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool beep, const int16_t sleep=-1)
Send a Toshiba A/C message with the supplied settings.
Definition: IRac.cpp:1629
IRDaikinESP
Class for handling detailed Daikin 280-bit A/C messages.
Definition: ir_Daikin.h:526
IRac::lg
void lg(IRLgAc *ac, const lg_ac_remote_model_t model, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan)
Send a LG A/C message with the supplied settings.
Definition: IRac.cpp:1242
IRDelonghiAc
Class for handling detailed Delonghi A/C messages.
Definition: ir_Delonghi.h:102
IRCoronaAc
Class for handling detailed Corona A/C messages.
Definition: ir_Corona.h:93
IRac::kelvinator
void kelvinator(IRKelvinatorAC *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool quiet, const bool turbo, const bool light, const bool filter, const bool clean)
Send a Kelvinator A/C message with the supplied settings.
Definition: IRac.cpp:1208
IRDaikin2
Class for handling detailed Daikin 312-bit A/C messages.
Definition: ir_Daikin.h:608
ir_Neoclima.h
Support for Neoclima protocols. Analysis by crankyoldgit & AndreyShpilevoy.
IRDaikin128
Class for handling detailed Daikin 128-bit A/C messages.
Definition: ir_Daikin.h:869
stdAc::fanspeed_t
fanspeed_t
Common A/C settings for Fan Speeds.
Definition: IRsend.h:58
ir_Sharp.h
Support for Sharp protocols.
IRac::fanspeedToString
static String fanspeedToString(const stdAc::fanspeed_t speed)
Convert the supplied fan speed enum into the appropriate String.
Definition: IRac.cpp:2814
whirlpool_ac_remote_model_t
whirlpool_ac_remote_model_t
Whirlpool A/C model numbers.
Definition: IRsend.h:158
ir_Carrier.h
Carrier A/C.
IRac::whirlpool
void whirlpool(IRWhirlpoolAc *ac, const whirlpool_ac_remote_model_t model, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool turbo, const bool light, const int16_t sleep=-1, const int16_t clock=-1)
Send a Whirlpool A/C message with the supplied settings.
Definition: IRac.cpp:1948
decode_results
Results returned from the decoder.
Definition: IRrecv.h:92
IRac::daikin64
void daikin64(IRDaikin64 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool quiet, const bool turbo, const int16_t sleep=-1, const int16_t clock=-1)
Send a Daikin 64-bit A/C message with the supplied settings.
Definition: IRac.cpp:749
IRac::voltas
void voltas(IRVoltas *ac, const voltas_ac_remote_model_t model, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool turbo, const bool econo, const bool light, const int16_t sleep=-1)
Send a Voltas A/C message with the supplied settings.
Definition: IRac.cpp:1907
IRac::tcl112
void tcl112(IRTcl112Ac *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool turbo, const bool light, const bool econo, const bool filter)
Send a TCL 112-bit A/C message with the supplied settings.
Definition: IRac.cpp:1723
IRac::sendAc
bool sendAc(void)
Send an A/C message based soley on our internal state.
Definition: IRac.cpp:2533
IRac::cmpStates
static bool cmpStates(const stdAc::state_t a, const stdAc::state_t b)
Compare two AirCon states.
Definition: IRac.cpp:2544
ir_Midea.h
Support for Midea protocols. Midea added by crankyoldgit & bwze.
ir_Daikin.h
Support for Daikin A/C protocols.
gree_ac_remote_model_t
gree_ac_remote_model_t
Gree A/C model numbers.
Definition: IRsend.h:129
IRDaikin64
Class for handling detailed Daikin 64-bit A/C messages.
Definition: ir_Daikin.h:1003
ir_Coolix.h
IRac::vestel
void vestel(IRVestelAc *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool turbo, const bool filter, const int16_t sleep=-1, const int16_t clock=-1, const bool sendNormal=true)
Send a Vestel A/C message with the supplied settings.
Definition: IRac.cpp:1865
IRHitachiAc424
Class for handling detailed Hitachi 53-byte/424-bit A/C messages.
Definition: ir_Hitachi.h:313
IRac::daikin
void daikin(IRDaikinESP *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool quiet, const bool turbo, const bool econo, const bool clean)
Send a Daikin A/C message with the supplied settings.
Definition: IRac.cpp:516
IRac::IRac
IRac(const uint16_t pin, const bool inverted=false, const bool use_modulation=true)
Class constructor.
Definition: IRac.cpp:52
IRDaikin216
Class for handling detailed Daikin 216-bit A/C messages.
Definition: ir_Daikin.h:704
IRVoltas
Class for handling detailed Voltas A/C messages.
Definition: ir_Voltas.h:90
hitachi_ac1_remote_model_t
hitachi_ac1_remote_model_t
HITACHI_AC1 A/C model numbers.
Definition: IRsend.h:135
IRac::samsung
void samsung(IRSamsungAc *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool quiet, const bool turbo, const bool light, const bool filter, const bool clean, const bool beep, const bool prevpower=true, const bool forcepower=true)
Send a Samsung A/C message with the supplied settings.
Definition: IRac.cpp:1588
IRac::daikin128
void daikin128(IRDaikin128 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool quiet, const bool turbo, const bool light, const bool econo, const int16_t sleep=-1, const int16_t clock=-1)
Send a Daikin 128-bit A/C message with the supplied settings.
Definition: IRac.cpp:556
IRHitachiAc
Class for handling detailed Hitachi 224-bit A/C messages.
Definition: ir_Hitachi.h:188
kGpioUnused
const int8_t kGpioUnused
A placeholder for not using an actual GPIO.
Definition: IRac.h:43
IRAcUtils
Common functions for use with all A/Cs supported by the IRac class.
Definition: IRac.cpp:2883
IRSanyoAc
Class for handling detailed Sanyo A/C messages.
Definition: ir_Sanyo.h:98
IRac::haier
void haier(IRHaierAC *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool filter, const int16_t sleep=-1, const int16_t clock=-1)
Send a Haier A/C message with the supplied settings.
Definition: IRac.cpp:991
IRWhirlpoolAc
Class for handling detailed Whirlpool A/C messages.
Definition: ir_Whirlpool.h:91
IRHitachiAc344
Class for handling detailed Hitachi 344-bit A/C messages.
Definition: ir_Hitachi.h:401
IRac::boolToString
static String boolToString(const bool value)
Convert the supplied boolean into the appropriate String.
Definition: IRac.cpp:2785
IRac::next
stdAc::state_t next
The state we want the device to be in after we send.
Definition: IRac.h:95
String
std::string String
Definition: IRremoteESP8266.h:1128
IRMitsubishiAC
Class for handling detailed Mitsubishi 144-bit A/C messages.
Definition: ir_Mitsubishi.h:168
IRac::trotec
void trotec(IRTrotecESP *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const int16_t sleep=-1)
Send a Trotec A/C message with the supplied settings.
Definition: IRac.cpp:1828
IRac::strToModel
static int16_t strToModel(const char *str, const int16_t def=-1)
Convert the supplied str into the appropriate enum.
Definition: IRac.cpp:2704
IRAmcorAc
Class for handling detailed Amcor A/C messages.
Definition: ir_Amcor.h:81
IRMitsubishi112
Class for handling detailed Mitsubishi 122-bit A/C messages.
Definition: ir_Mitsubishi.h:286
IRTcl112Ac
Class for handling detailed TCL A/C messages.
Definition: ir_Tcl.h:63
IRac::daikin176
void daikin176(IRDaikin176 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingh_t swingh)
Send a Daikin 176-bit A/C message with the supplied settings.
Definition: IRac.cpp:648
IRElectraAc
Class for handling detailed Electra A/C messages.
Definition: ir_Electra.h:80
ir_Tcl.h
Support for TCL protocols.
IRac::hasStateChanged
bool hasStateChanged(void)
Check if the internal state has changed from what was previously sent.
Definition: IRac.cpp:2556
IRac::haierYrwo2
void haierYrwo2(IRHaierACYRW02 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool turbo, const bool filter, const int16_t sleep=-1)
Send a Haier YRWO2 A/C message with the supplied settings.
Definition: IRac.cpp:1028
IRac::daikin216
void daikin216(IRDaikin216 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool quiet, const bool turbo)
Send a Daikin 216-bit A/C message with the supplied settings.
Definition: IRac.cpp:719
ir_Hitachi.h
Support for Hitachi A/C protocols.
ir_Panasonic.h
Support for Panasonic protocols.
IRac::handleToggles
static stdAc::state_t handleToggles(const stdAc::state_t desired, const stdAc::state_t *prev=NULL)
Create a new state base on desired & previous states but handle any state changes for options that ne...
Definition: IRac.cpp:1992
IRMitsubishi136
Class for handling detailed Mitsubishi 136-bit A/C messages.
Definition: ir_Mitsubishi.h:232
panasonic_ac_remote_model_t
panasonic_ac_remote_model_t
Panasonic A/C model numbers.
Definition: IRsend.h:141
IRremoteESP8266.h
stdAc::swingh_t
swingh_t
Common A/C settings for Horizontal Swing.
Definition: IRsend.h:83
IRac::mitsubishi112
void mitsubishi112(IRMitsubishi112 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool quiet)
Send a Mitsubishi 112-bit A/C message with the supplied settings.
Definition: IRac.cpp:1350
IRAcUtils::decodeToState
bool decodeToState(const decode_results *decode, stdAc::state_t *result, const stdAc::state_t *prev)
Convert a valid IR A/C remote message that we understand enough into a Common A/C state.
Definition: IRac.cpp:3227
IRHitachiAc1
Class for handling detailed Hitachi 104-bit A/C messages.
Definition: ir_Hitachi.h:245
IRac::hitachi424
void hitachi424(IRHitachiAc424 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv)
Send a Hitachi 424-bit A/C message with the supplied settings.
Definition: IRac.cpp:1170
ir_Samsung.h
Support for Samsung protocols. Samsung originally added from https://github.com/shirriff/Arduino-IRre...
IRAcUtils::resultAcToString
String resultAcToString(const decode_results *const result)
Display the human readable state of an A/C message if we can.
Definition: IRac.cpp:2889
IRac::daikin152
void daikin152(IRDaikin152 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool quiet, const bool turbo, const bool econo)
Send a Daikin 152-bit A/C message with the supplied settings.
Definition: IRac.cpp:593
fujitsu_ac_remote_model_t
fujitsu_ac_remote_model_t
Fujitsu A/C model numbers.
Definition: IRsend.h:120
ir_Gree.h
Support for Gree A/C protocols.
IRCarrierAc64
Class for handling detailed Carrier 64 bit A/C messages.
Definition: ir_Carrier.h:74
IRMideaAC
Class for handling detailed Midea A/C messages.
Definition: ir_Midea.h:99
IRKelvinatorAC
Class for handling detailed Kelvinator A/C messages.
Definition: ir_Kelvinator.h:137
IRac::_inverted
bool _inverted
IR LED is lit when GPIO is LOW (true) or HIGH (false)?
Definition: IRac.h:101
IRFujitsuAC
Class for handling detailed Fujitsu A/C messages.
Definition: ir_Fujitsu.h:101
ir_MitsubishiHeavy.h
Support for Mitsubishi Heavy Industry protocols. Code to emulate Mitsubishi Heavy Industries A/C IR r...
IRCoolixAC
Class for handling detailed Coolix A/C messages.
Definition: ir_Coolix.h:105
IRac::panasonic
void panasonic(IRPanasonicAc *ac, const panasonic_ac_remote_model_t model, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool quiet, const bool turbo, const bool filter, const int16_t clock=-1)
Send a Panasonic A/C message with the supplied settings.
Definition: IRac.cpp:1544
IRac::swingvToString
static String swingvToString(const stdAc::swingv_t swingv)
Convert the supplied enum into the appropriate String.
Definition: IRac.cpp:2836
ir_Mitsubishi.h
Support for Mitsubishi protocols. Mitsubishi (TV) decoding added from https://github....
IRac
A universal/common/generic interface for controling supported A/Cs.
Definition: IRac.h:47
ir_Teco.h
Support for Teco protocols.
IRac::gree
void gree(IRGreeAC *ac, const gree_ac_remote_model_t model, const bool on, const stdAc::opmode_t mode, const bool celsius, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool turbo, const bool light, const bool clean, const int16_t sleep=-1)
Send a Gree A/C message with the supplied settings.
Definition: IRac.cpp:953
ir_Delonghi.h
Delonghi A/C.
IRac::electra
void electra(IRElectraAc *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool turbo, const bool lighttoggle, const bool clean)
Send an Electra A/C message with the supplied settings.
Definition: IRac.cpp:806
IRac::cleanState
static stdAc::state_t cleanState(const stdAc::state_t state)
Create a new state base on the provided state that has been suitably fixed.
Definition: IRac.cpp:1979
ir_Argo.h
Support for Argo Ulisse 13 DCI Mobile Split ACs.
IRac::mitsubishi
void mitsubishi(IRMitsubishiAC *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool quiet, const int16_t clock=-1)
Send a Mitsubishi A/C message with the supplied settings.
Definition: IRac.cpp:1315
IRac::amcor
void amcor(IRAmcorAc *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan)
Send an Amcor A/C message with the supplied settings.
Definition: IRac.cpp:319
IRAirwellAc
Class for handling detailed Airwell A/C messages.
Definition: ir_Airwell.h:58
ir_Voltas.h
Support for Voltas A/C protocol.
IRDaikin152
Class for handling detailed Daikin 152-bit A/C messages.
Definition: ir_Daikin.h:943
IRLgAc
Class for handling detailed LG A/C messages.
Definition: ir_LG.h:64
ir_Fujitsu.h
Support for Fujitsu A/C protocols. Fujitsu A/C support added by Jonny Graham.
IRHaierAC
Class for handling detailed Haier A/C messages.
Definition: ir_Haier.h:244
IRDaikin160
Class for handling detailed Daikin 160-bit A/C messages.
Definition: ir_Daikin.h:760
IRac::opmodeToString
static String opmodeToString(const stdAc::opmode_t mode)
Convert the supplied operation mode into the appropriate String.
Definition: IRac.cpp:2792
IRSharpAc
Class for handling detailed Sharp A/C messages.
Definition: ir_Sharp.h:108
IRac::toshiba
void toshiba(IRToshibaAC *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool turbo, const bool econo)
Send a Toshiba A/C message with the supplied settings.
Definition: IRac.cpp:1792
ir_Goodweather.h
Support for Goodweather compatible HVAC protocols.
IRac::argo
void argo(IRArgoAC *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool turbo, const int16_t sleep=-1)
Send an Argo A/C message with the supplied settings.
Definition: IRac.cpp:351
lg_ac_remote_model_t
lg_ac_remote_model_t
LG A/C model numbers.
Definition: IRsend.h:164
IRac::mitsubishi136
void mitsubishi136(IRMitsubishi136 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool quiet)
Send a Mitsubishi 136-bit A/C message with the supplied settings.
Definition: IRac.cpp:1386
stdAc::fanspeed_t::kAuto
@ kAuto
IRac::_modulation
bool _modulation
Is frequency modulation to be used?
Definition: IRac.h:102
IRac::teco
void teco(IRTecoAc *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool light, const int16_t sleep=-1)
Send a Teco A/C message with the supplied settings.
Definition: IRac.cpp:1759
IRac::strToOpmode
static stdAc::opmode_t strToOpmode(const char *str, const stdAc::opmode_t def=stdAc::opmode_t::kAuto)
Convert the supplied str into the appropriate enum.
Definition: IRac.cpp:2562
ir_Sanyo.h
Support for Sanyo protocols. Sanyo LC7461 support originally by marcosamarinho Sanyo SA 8650B origina...
IRac::hitachi1
void hitachi1(IRHitachiAc1 *ac, const hitachi_ac1_remote_model_t model, const bool on, const bool power_toggle, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool swing_toggle, const int16_t sleep=-1)
Send a Hitachi1 A/C message with the supplied settings.
Definition: IRac.cpp:1097
stdAc::swingh_t::kOff
@ kOff
ir_Whirlpool.h
Support for Whirlpool protocols. Decoding help from: @redmusicxd, @josh929800, @raducostea.
IRac::strToBool
static bool strToBool(const char *str, const bool def=false)
Convert the supplied str into the appropriate boolean value.
Definition: IRac.cpp:2767
IRac::mitsubishiHeavy88
void mitsubishiHeavy88(IRMitsubishiHeavy88Ac *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool turbo, const bool econo, const bool clean)
Send a Mitsubishi Heavy 88-bit A/C message with the supplied settings.
Definition: IRac.cpp:1421
IRac::strToSwingV
static stdAc::swingv_t strToSwingV(const char *str, const stdAc::swingv_t def=stdAc::swingv_t::kOff)
Convert the supplied str into the appropriate enum.
Definition: IRac.cpp:2623
IRVestelAc
Class for handling detailed Vestel A/C messages.
Definition: ir_Vestel.h:116
IRac::neoclima
void neoclima(IRNeoclimaAc *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool turbo, const bool light, const bool filter, const int16_t sleep=-1)
Send a Neoclima A/C message with the supplied settings.
Definition: IRac.cpp:1504
IRTrotecESP
Class for handling detailed Trotec A/C messages.
Definition: ir_Trotec.h:76
IRTecoAc
Class for handling detailed Teco A/C messages.
Definition: ir_Teco.h:107
IRac::swinghToString
static String swinghToString(const stdAc::swingh_t swingh)
Convert the supplied enum into the appropriate String.
Definition: IRac.cpp:2860
IRac::delonghiac
void delonghiac(IRDelonghiAc *ac, const bool on, const stdAc::opmode_t mode, const bool celsius, const float degrees, const stdAc::fanspeed_t fan, const bool turbo, const int16_t sleep=-1)
Send a Delonghi A/C message with the supplied settings.
Definition: IRac.cpp:779
IRac::_prev
stdAc::state_t _prev
The state we expect the device to currently be in.
Definition: IRac.h:103
IRHaierACYRW02
Class for handling detailed Haier ACYRW02 A/C messages.
Definition: ir_Haier.h:314
IRac::daikin160
void daikin160(IRDaikin160 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv)
Send a Daikin 160-bit A/C message with the supplied settings.
Definition: IRac.cpp:626
IRac::corona
void corona(IRCoronaAc *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool econo)
Send a Corona A/C message with the supplied settings.
Definition: IRac.cpp:481
IRac::initState
static void initState(stdAc::state_t *state, const decode_type_t vendor, const int16_t model, const bool power, const stdAc::opmode_t mode, const float degrees, const bool celsius, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool quiet, const bool turbo, const bool econo, const bool light, const bool filter, const bool clean, const bool beep, const int16_t sleep, const int16_t clock)
Initialse the given state with the supplied settings.
Definition: IRac.cpp:83
IRac::mitsubishiHeavy152
void mitsubishiHeavy152(IRMitsubishiHeavy152Ac *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool quiet, const bool turbo, const bool econo, const bool filter, const bool clean, const int16_t sleep=-1)
Send a Mitsubishi Heavy 152-bit A/C message with the supplied settings.
Definition: IRac.cpp:1462
stdAc::swingv_t::kOff
@ kOff
ir_Haier.h
Support for Haier A/C protocols. The specifics of reverse engineering the protocols details:
IRMitsubishiHeavy88Ac
Class for handling detailed Mitsubishi Heavy 88-bit A/C messages.
Definition: ir_MitsubishiHeavy.h:220
IRGreeAC
Class for handling detailed Gree A/C messages.
Definition: ir_Gree.h:130
IRac::coolix
void coolix(IRCoolixAC *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool turbo, const bool light, const bool clean, const int16_t sleep=-1)
Send a Coolix A/C message with the supplied settings.
Definition: IRac.cpp:420
IRac::strToFanspeed
static stdAc::fanspeed_t strToFanspeed(const char *str, const stdAc::fanspeed_t def=stdAc::fanspeed_t::kAuto)
Convert the supplied str into the appropriate enum.
Definition: IRac.cpp:2592
IRac::midea
void midea(IRMideaAC *ac, const bool on, const stdAc::opmode_t mode, const bool celsius, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool econo, const int16_t sleep=-1)
Send a Midea A/C message with the supplied settings.
Definition: IRac.cpp:1277
ir_Toshiba.h
Support for Toshiba protocols.
IRac::sharp
void sharp(IRSharpAc *ac, const bool on, const bool prev_power, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool turbo, const bool filter, const bool clean)
Send a Sharp A/C message with the supplied settings.
Definition: IRac.cpp:1671
IRac::goodweather
void goodweather(IRGoodweatherAc *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const bool turbo, const bool light, const int16_t sleep=-1)
Send a Goodweather A/C message with the supplied settings.
Definition: IRac.cpp:911
stdAc::state_t
Structure to hold a common A/C state.
Definition: IRsend.h:97
IRGoodweatherAc
Class for handling detailed Goodweather A/C messages.
Definition: ir_Goodweather.h:90
ir_Vestel.h
Support for Vestel protocols. Vestel added by Erdem U. Altinyurt.
ir_Corona.h
IRArgoAC
Class for handling detailed Argo A/C messages.
Definition: ir_Argo.h:129
IRac::fujitsu
void fujitsu(IRFujitsuAC *ac, const fujitsu_ac_remote_model_t model, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const stdAc::swingh_t swingh, const bool quiet, const bool turbo, const bool econo, const bool filter, const bool clean)
Send a Fujitsu A/C message with the supplied settings.
Definition: IRac.cpp:848
IRNeoclimaAc
Class for handling detailed Neoclima A/C messages.
Definition: ir_Neoclima.h:86
IRac::isProtocolSupported
static bool isProtocolSupported(const decode_type_t protocol)
Is the given protocol supported by the IRac class?
Definition: IRac.cpp:136
IRDaikin176
Class for handling detailed Daikin 176-bit A/C messages.
Definition: ir_Daikin.h:812
ir_Amcor.h
Amcor A/C protocol.
IRac::_pin
uint16_t _pin
The GPIO to use to transmit messages from.
Definition: IRac.h:100
voltas_ac_remote_model_t
voltas_ac_remote_model_t
Voltas A/C model numbers.
Definition: IRsend.h:152
ir_LG.h
Support for LG protocols.
IRac::carrier64
void carrier64(IRCarrierAc64 *ac, const bool on, const stdAc::opmode_t mode, const float degrees, const stdAc::fanspeed_t fan, const stdAc::swingv_t swingv, const int16_t sleep=-1)
Send a Carrier 64-bit A/C message with the supplied settings.
Definition: IRac.cpp:383
stdAc::opmode_t
opmode_t
Common A/C settings for A/C operating modes.
Definition: IRsend.h:46