Skip to content

barakwei/IRelectra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IRelectra

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:

  • Whether to turn the A/C ON or OFF (A bit tricky).
  • A/C mode: cool, heat, dry, fan or auto.
  • Fan speed: low, medium, high or auto.
  • Swing: on/off
  • Sleep mode: on/off (raise temperature by one degree every 3 hours, turn off A/C after 8 hours)

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/)

Releases

No releases published

Packages

No packages published

Languages