Skip to content

BEKO AC remote cloning on ESP8266, Bug crashing or recive Dump #2206

Open
@MatejsLab

Description

@MatejsLab

Version/revision of the library used

Typically located in the library.json & src/IRremoteESP8266.h files in the root directory of the library.
e.g. v2.8.6, or 'master' as at 29th of May, 2025. etc.

Describe the bug

I laoded IRrecvDumpV3 or V2 or Demo and some more and i use ESP8266, the serial monitor gose wild and Arduino Ide 2.3.4 crashes because ou that.

I want to make IR remote clone over MQTT for Beko AC. And the doggy thing is giving me trouble to get it cloned.

I also used IRremode on Uno to recive raw data and i tried decoded it says its NEC protocol, but is seems extended. As i got 68 pulses instead of 101 that remote gives.
I was unable to record remote with this library cause it aint workin throws djibrish on serial and ide crashes, i may try older version.

To Reproduce

What steps did you do, and what did or didn't actually happen? How can we reproduce the issue?

I just installed demo program on ESP, no changes.

Then i used my code to test Raw send from IRRemote records.

#include <IRremoteESP8266.h>

#define IR_LED D1
#include <IRsend.h>
IRsend irsend(IR_LED);

const uint16_t beko_on[] = {
  9150,4150,600,1650,600,550,600,550,600,500,650,500,650,500,600,550,600,1650,600,550,600,1650,650,500,600,550,600,550,650,1600,600,550,600,550,600,550,600,500,650,500,600,1650,650,1600,650,550,600,500,650,500,650,500,600,550,600,500,650,500,650,500,600,550,650,500,600,500,650,550,600,500,650,500,650,500,600,550,600,550,600,500,650,500,600,1650,650,1600,650,550,600,1600,650,1600,650,1600,650,550,600,1600,650,1600
};

const uint16_t beko_off[] = {
  9150,4150,600,550,600,500,650,500,650,500,650,500,650,450,700,450,650,1650,600,500,650,1650,600,500,650,500,650,500,650,1600,650,500,650,500,650,450,650,550,600,500,650,1600,650,1650,650,450,650,500,650,500,650,500,650,500,650,450,650,500,650,500,650,500,650,500,650,500,600,500,700,450,650,500,650,500,650,500,650,450,700,500,600,500,650,500,650,1600,650,500,650,1600,650,1600,650,1600,700,450,650,1650,600,500
};


void setup() {
  irsend.begin();
  Serial.begin(9600);
  delay(2000);
}

void loop() {
  // Pošlji ON
  Serial.println("Pošiljam ON");
  irsend.sendRaw(beko_on, sizeof(beko_on) / sizeof(beko_on[0]), 38);
  delay(10000);

  // Pošlji OFF
  Serial.println("Pošiljam OFF");
  irsend.sendRaw(beko_off, sizeof(beko_off) / sizeof(beko_off[0]), 38);
  delay(10000);
}

What brand/model IR demodulator are you using?

Brand/Model code Tsop 1736

Circuit diagram and hardware used (if applicable)

D5 as input, 3v3 and GND.

I wanted to send RAW code as, without name of course.
Raw data ON, hex(81441800), means ON 22°C (101):
9150 -4150 600 -1650 600 -550 600 -550 600 -500 650 -500 650 -500 600 -550 600 -1650 600 -550 600 -1650 650 -500 600 -550 600 -550 650 -1600 600 -550 600 -550 600 -550 600 -500 650 -500 600 -1650 650 -1600 650 -550 600 -500 650 -500 650 -500 600 -550 600 -500 650 -500 650 -500 600 -550 650 -500 600 -500 650 -550 600 -500 650 -500 650 -500 600 -550 600 -550 600 -500 650 -500 600 -1650 650 -1600 650 -550 600 -1600 650 -1600 650 -1600 650 -550 600 -1600 650 -1600
Raw data OFF, hex(80441800), means OFF 22°C (101):
9150 -4150 600 -550 600 -500 650 -500 650 -500 650 -500 650 -450 700 -450 650 -1650 600 -500 650 -1650 600 -500 650 -500 650 -500 650 -1600 650 -500 650 -500 650 -450 650 -550 600 -500 650 -1600 650 -1650 650 -450 650 -500 650 -500 650 -500 650 -500 650 -450 650 -500 650 -500 650 -500 650 -500 650 -500 600 -500 700 -450 650 -500 650 -500 650 -500 650 -450 700 -500 600 -500 650 -500 650 -1600 650 -500 650 -1600 650 -1600 650 -1600 700 -450 650 -1650 600 -500
I wanted to use normal user codes but it lacks proper carier aparently, as meseesge insede matches othervise.
As i tried to reproduce the signals with sendNEC it was recived my multifunction tester as same userCode and DataCode, but the AC Beko unit expects full 101 pulses instead of 68 sent by NEC function.

Here are all rhe codes recorded from remote, in NEC mode, that apear to have the prorer comands but lack a the ending part aparently.


10C1800 OFF 30
810C1800 ON 30

81441800 ON 22
81441C00 ON 22 High

91441880 timer 1h
91441840 tim 2h
914418C0 tim 3h
91441820 tim 4h
914418A0 tim 5h


B1: Funkcija ON 81, OFF 01, Timer 91, sleep 85

B2: Temperatura 
16°C	0x68	0x81 68 18 00
17°C	0xE8	0x81E81800
18°C	0x18	0x81181800
19°C	0x98	0x81981800
20°C	0x04	0x81041800
21°C	0x84	0x81841800
22°C	0x44	0x81441800
23°C	0xC4	0x81C41800
24°C	0x24	0x81241800
25°C	0xA4	0x81A41800
26°C	0x64	0x81641800
27°C	0xE4	0x81E41800
28°C	0x14	0x81141800
29°C	0x94	0x81941800
30°C	0x0C	0x810C1800
31°C	0x8C	0x818C1800

B3:Ventilator LOW 18, HIGH 1C

B4: Timer
| Timer ura | Hex (zadnji bajt) |
| --------- | ----------------- |
| 1 h       | 0x80              |
| 2 h       | 0x40              |
| 3 h       | 0xC0              |
| 4 h       | 0x20              |
| 5 h       | 0xA0              |
| 8 h       | 0x10              |
| 12 h      | 0x48              |
--------------------------------------------


Received NEC: 1681800	 OFF
Received NEC: 81681800	 ON

Has this library/code previously worked as expected for you?

Yes/No. If "Yes", which version last worked for you?
Yes it worked as sender, same version, of 32 bit codes, but it seemed not workin properly in raw mode, timings were a bit off.

To sumerize as minimum i only need to turn the AC ON and OFF and set it to 22C and 30C, aka Fan only, still cooling mode for cooldown before switching off.

Thanks
Matej

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions