Remote control with viessman air conditioner ir

Hello,
i have a viessman air conditioner. I want to control it with ir using arduino nano.

With the #include <IRremote.h> library, I got hex codes using nano receiver, but it doesn't work when I load hex codes into the transmitter circuit.

hex code: ac open code.
58587A77
1011000010110000111101001110111


1DAB8A35
11101101010111000101000110101

//#define DECODE_NEC
#include <IRremote.h>
int RECV_PIN = 11;
int led = 10;
IRrecv irrecv(RECV_PIN);
decode_results results;


void setup() {
  // put your setup code here, to run once:
  pinMode(led, OUTPUT);
  Serial.begin(2400);
  irrecv.enableIRIn();

}

void loop() {
  // put your main code here, to run repeatedly:
  if (irrecv.decode(&results)) {
    Serial.println(results.value, HEX);
    Serial.println(results.value, BIN);
    delay(100);
    //Serial.println(results.value);
    Serial.println("******");
    irrecv.resume();
  }
}

@tamerakti, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the Installation & Troubleshooting category.

Have you found a solution?

It is better to consult a technician who can do his job well in this field with such problems. I once wanted to install the entire air conditioning system in the house, but that would have taken me time and energy. Even if I know a bit of this field, it's not like calling an air conditioning installation service to create your entire system, to put the equipment that suits your home. For example, I only needed an Ac in each room in my house, but I thought I needed fans too.

I don't think that's the whole code. The commands of the air conditioners are much larger - typically over 12 bytes.

So what brings you to this forum then? :roll_eyes:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.