Need help - esphome config for IR transmitter - Daikin (airco)

Hi

I would like to control my daikin airco (BRP069C4x) with an IR transmitter and of course via esphome/home assistant.
I struggle a bit with the esphome config, is there anyone who uses this and has it working and wants to share it with me? I would really appreciate that!

How far I’ve come so far:

esphome:
  name: espairco
  friendly_name: ESPAirco

esp32:
  board: esp32dev
  framework:
    type: arduino

logger:

api:
  encryption:
    key: "xxx"

ota:
  - platform: esphome
    password: "xxx"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

captive_portal:

remote_receiver:
  id: rcvr
  pin:
    number: 13
    inverted: true
    mode:
      input: true
      pullup: true
  dump: all
  tolerance: 25%

remote_transmitter:
  pin: 15
  carrier_duty_percent: 50%

climate:
  - platform: daikin
    name: "ESPairco"
    receiver_id: rcvr
    visual:
      min_temperature: 18
      max_temperature: 25
      min_humidity: 30%
      max_humidity: 99%
      temperature_step:
        target_temperature: 0.5
        current_temperature: 0.1

button:
  - platform: template
    name: "On/Off"
    on_press:
      - remote_transmitter.transmit_jvc:

When I put the Esp/transmitter next the airco and try to use the climate sensor in HA, it just not responds. I see in the Esphome log that it sends something but it just ignores it.
so I’m wondering if my esphome config is not correct?
I’m also experimenting with the button at the bottom, does anyone has an example for this? for instance to put the airco on.

This is how the log looks like, that the receiver generates when I press the "on’ button with the official Daikin remote:

[13:53:01][W][component:238]: Components should block for at most 30 ms.
[13:53:31][I][remote.pronto:231]: Received Pronto: data=
[13:53:31][I][remote.pronto:233]: 0000 006D 0006 0000 0013 000F 0012 0010 0013 000F 0013 000F 0011 0010 0013 0181 
[13:53:31][I][remote.pronto:231]: Received Pronto: data=
[13:53:31][I][remote.pronto:233]: 0000 006D 0042 0000 0088 0041 0013 0030 0013 0010 0011 0011 0011 0011 0010 0032 0011 0012 000F 0012 000F 0012 000F 0012 000F 0032 0010 0012 000F 0032 0011 0033 0011 0012 000F 0033 0010 0032 0011 0032 0010 0032 0010 0033 0010 0012 
[13:53:31][I][remote.pronto:233]: 000F 0012 000F 0032 0011 0012 000F 0011 0010 0011 0010 0012 000F 0011 0010 0011 0010 0012 000F 0012 000F 0012 000F 0011 0010 0032 0011 0012 000F 0033 0010 0012 000F 0012 000F 0011 0010 0032 0011 0033 0010 0012 000F 0011 0010 0012 
[13:53:31][I][remote.pronto:233]: 000F 0011 0010 0011 0010 0012 000F 0011 0010 0011 0010 0012 000F 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0012 000F 0032 0010 0033 0010 0033 0010 0011 0010 0032 0010 0012 000F 0032 0011 0033 0010 0181 
[13:53:31][I][remote.panasonic:070]: Received Panasonic: address=0x885B, command=0xE400A300
[13:53:31][I][remote.aeha:098]: Received AEHA: address=0x885B, data=[0xE4,0x00,0xA3,0x00,0x00,0xEB]
[13:53:31][W][component:237]: Component remote_receiver took a long time for an operation (86 ms).
[13:53:31][W][component:238]: Components should block for at most 30 ms.
[13:53:31][I][remote.pronto:231]: Received Pronto: data=
[13:53:31][I][remote.pronto:233]: 0000 006D 0042 0000 0083 0043 0011 0032 0010 0011 0010 0011 0010 0011 0010 0032 0011 0011 0010 0011 0010 0011 0010 0012 000F 0032 0011 0012 000F 0032 0011 0032 0010 0012 000F 0032 0010 0032 0011 0032 0010 0032 0010 0032 0011 0011 
[13:53:31][I][remote.pronto:233]: 0010 0011 0010 0033 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0033 0010 0011 0010 0011 0010 0011 0010 0011 0010 0032 0011 0011 0010 0011 0010 0011 0010 0011 
[13:53:31][I][remote.pronto:233]: 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0033 0010 0011 0010 0032 0011 0011 0010 0032 0010 0011 0010 0181 
[13:53:31][I][remote.panasonic:070]: Received Panasonic: address=0x885B, command=0xE4004200
[13:53:31][I][remote.aeha:098]: Received AEHA: address=0x885B, data=[0xE4,0x00,0x42,0x00,0x00,0x2A]
[13:53:31][W][component:237]: Component remote_receiver took a long time for an operation (89 ms).

so I guess that I need the address, and data codes, but not sure how to use it properly in the esphome config.

Hi

I would start with the basics. Have you checked your IR transmitter ESP based is woriking properly ? try to pilot something a lot easier to check :wink:
Why do you use some JVC commands in your sketch ?

Vincèn

thanks for the reply! JVC should be AEHA (when I see the logs) but when I change it to AEHA and adapt all changes that belongs to this (Remote Transmitter — ESPHome) it stil doesn’t work.
But what I just found out is that this part is sufficient:

climate:
  - platform: daikin
    name: "ESPairco"
    receiver_id: rcvr
    visual:
      min_temperature: 18
      max_temperature: 25
      min_humidity: 30%
      max_humidity: 99%
      temperature_step:
        target_temperature: 0.5
        current_temperature: 0.1

my issue was that you actually need to point to the airco to let it move :smiley:
I was testing but had the transmitter just in my hand (pointing nowhere)