Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KCS v3 for AG8 IR protocol
#11
i don't understand you , what you want to do . can you explain in details.
Reply
#12
Hello
I need to send IR codes through Home Assistant, passing the parameters directly to AG8 without having to save the commands. Below is an example of what I need to do, similar to what is possible with Tasmota or Esphome.

shipping via tasmota like this

show_name: true
show_icon: true
type: button
icon: mdi:arrow-up-bold
tap_action:
  action: call-service
  service: mqtt.publish
  data:
    topic: cmnd/ag8/IRsend
    payload: |
      {"Protocol":"RC5","Bits":20,"Data":"0x1005B","Channel":2}


I'm trying with ag8 but I'm not getting it

type: button
name: "Teste RC5 Canal 1"
tap_action:
  action: call-service
  service: mqtt.publish
  service_data:
    topic: AG8/CCBAXXXXXX/SET
    payload: >
      {"ir":{"channel":1,"protocol":"RC5","bits":12,"data":"0x1FE"}}


I'm trying with ag8 but I'm not getting it
I'm trying with ag8 but I'm not getting it
Reply
#13
solution-A: you can integrate AG8 to tasmota, our customer already successful with it.
solution-B: download KCS v3 firmware, learn IR signal by MQTT command or KCS webpage, then you can use mqtt command to send learned IR single. here is a video tour about mqtt for IR: https://youtu.be/Lw0Mn_QbV9A
Reply
#14
Hi, I've already tried installing Tasmota.ir, but the ESP32S3 isn't compatible. I need to send commands directly to the button because the code capacity I need to send is greater than the AG8's 192. Therefore, I want to send the codes directly, like Tasmota, via MQTT, something like the example I gave. I don't know if I'm doing it correctly, or if it's a different way to send this code without going through the AG8's saved codes.

payload: >
{"ir":{"channel":1,"protocol":"RC5","bits":12,"data":"0x1FE"}}
Reply
#15
https://www.kincony.com/forum/showthread.php?tid=8438
Reply
#16
I tried to install Tasmota IR, but it's not compatible esp32s3.

Isn't there code for sending commands directly via MQTT like with Esphome and Tasmota? Or could you release an update for this purpose? It would be very helpful.

(08-23-2025, 12:10 AM)admin Wrote: https://www.kincony.com/forum/showthread.php?tid=8438


Attached Files Image(s)
   
Reply
#17
Hi
I managed to solve the problem, and if anyone needs it, I'll provide a step-by-step guide.

Since the firmware on the Tasmota website doesn't have an IR version for the ESP32S3, it needs to be compiled again. I found a project on GitHub that does this easily by adding the IRsend library, thus unlocking the 8 IR outputs, allowing you to send commands or raw code directly from the Home Assistant button.

https://github.com/benzino77/tasmocompiler

Home Assistant button template after the updated .bin installation

show_name: true
show_icon: true
type: button
icon: mdi:arrow-up-bold
tap_action:
action: call-service
service: mqtt.publish
data:
topic: cmnd/ag8/IRsend
payload: "{\"Protocol\":\"NEC\",\"Bits\":32,\"Data\":\"0x20DF10EF\",\"Channel\":2}"
Reply
#18
thanks share your result. good job.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)