Giter Club home page Giter Club logo

irelectra's Introduction

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

irelectra's People

Contributors

barakwei avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.