Electra A/C IR Encoder for IRremote
The project can be used to control Electra A/C that are common is Israel.
It doesn't has all the features that exist in the original remote, but only a subset.
You can control:
Other features like timers or "I feel" are not supported.
IRelectra uses IRremote to do the heavy lifting.
Usage:
#include "IRremote.h"
#include "IRelectra.h"
void loop()
{
IRsend irsend(D3);
IRelectra e(&irsend);
e.SendElectra(POWER_OFF, MODE_COOL, FAN_LOW, 24, SWING_ON, SLEEP_OFF);
}
The code has been tested on Spark core and is agnostic to IRremote implementation as long as it implements the sendRaw method as declared here. The demo code uses the IRremote implementation for Spark core from here, the deme code might need to change according to the implementation you're using.
Big thanks for Chris from AnalysIR (http://www.analysir.com/)