Smart Home Automation Forum
[KC868-AG] IR not working - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: KC868-A series and Uair Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=6)
+--- Thread: [KC868-AG] IR not working (/showthread.php?tid=3214)



[KC868-AG] IR not working - NEOhidra - 08-30-2023

The short version - RF works fine, but IR does not work.

Here is my configuration:
Code:
esphome:
  name: "${name_id}"
  friendly_name: "${name}"
  comment: "${comment}"

esp32:
  board: esp32dev
  framework:
    type: arduino

logger:
  level: DEBUG

<<: !include sections/common.yaml

remote_receiver:
  - id: receiver_ir
    pin:
      number: GPIO23
      inverted: True
    dump: all

It is producing this log (config_default_log.txt) when I am pressing the same button multiple times.
The following log entry correlates with each button press:
Quote:Component remote_receiver took a long time for an operation (0.05 s).

Logged code values are always somehow random.

Trying to send, one of the received random codes is not possible. Always because of: "Inconsistent data, not sending"
The log is attached as "config_default_log_error.txt"

Am I doing something incorrectly and causing this issue?


RE: [KC868-AG] IR not working - admin - 08-30-2023

you can try:
remote_receiver:
pin: 23
dump: all


RE: [KC868-AG] IR not working - NEOhidra - 08-30-2023

Still the same issues and in addition:
Quote:[00:44:45][W][remote_receiver.esp32:058]: Remote Receiver Signal starts with a HIGH value. Usually this means you have to invert the signal using 'inverted: True' in the pin schema!

Trying to send 
Code:
0014 0026 0013 0026 0013 0026 0013 0026 0013 014A 009A 0099 0013 004C 0013 004D 0013 004D 0013 004D 0013 0027 0013 0027 0013 004D 0013 0027 0013 004D 0013 004D 0013 004D 0013 004D 0013 0027 0013 0027 0013 0027 0013 0026 0013 004D 0013 004D 0013 0027 0013 004D 0013 0026 0013 0027 0013 0027 0013 0027 0013 0181 06C3
I get
Quote:00:55:43 [E] [remote_transmitter:117] Empty data

Is there a "hard reset" for this device?


RE: [KC868-AG] IR not working - admin - 08-30-2023

Perhaps there are some interfering infrared signals in the air, you can try testing in a dark environment


RE: [KC868-AG] IR not working - NEOhidra - 08-31-2023

Changing the location does not help.
It does malfunction the same way in a dark environment.

Since it does not work I decided to open it.
RJ1 is not populated. Is it expected?


RE: [KC868-AG] IR not working - admin - 08-31-2023

open the box, take a photo.


RE: [KC868-AG] IR not working - NEOhidra - 08-31-2023

Here it is (Note: I did change the position of the antennas):
   


RE: [KC868-AG] IR not working - admin - 08-31-2023

RJ1 not need use, NC
can you replace with another USB cable for a test. what's your power supply?


RE: [KC868-AG] IR not working - NEOhidra - 08-31-2023

Till now I have been using only the cable that came with the device.
As power supply the PC I use, one generic phone charger and one known to be good.

I just changed the the cable, in a combination with a different power supply and a new location - nothing changed.
The IR functionality is faulty.


RE: [KC868-AG] IR not working - admin - 08-31-2023

Perhaps there are interference signals in your space, give me your order number and which online store you bought, you can send email to us. if you want to try, we can send you another KC868-AG for a test.