Posts: 9,077
Threads: 1,202
Joined: Oct 2020
Reputation:
235
i don't understand you , what you want to do . can you explain in details.
Posts: 5
Threads: 0
Joined: Aug 2025
Reputation:
0
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
Posts: 5
Threads: 0
Joined: Aug 2025
Reputation:
0
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"}}
Posts: 9,077
Threads: 1,202
Joined: Oct 2020
Reputation:
235
thanks share your result. good job.