Unknown protocol IR

Hello I have an Inventum Aircooler.
I used esphome codes but the jvc, lg, nec and pioneer codes that are received did not work when transmitted back. Tests with a colorbulb remote where working so the setup is ok.

I used the receive code from
Arduino Tutorial: IR Transmitter and IR Receiver (HX-M121, HX-53, KY-005, KY-022, Keyes, Iduino, Open Smart,...) - Michael Schoeffler and I get the next line

Protocol=PULSE_DISTANCE Address=0x0 Command=0x0 Extra=0xA20 Raw-Data=0xF807 48 bits LSB first

When I read https://github.com/Arduino-IRremote/Arduino-IRremote#protocolpulse_distance this meanse I should send 2 codes (32-bits and 16-bits)?
Can this be accomplished with esphome transmitter code?

Did you try all AC ESPhome is able to handle right now ? (Daikin, Mitsubishi…) If none of them works you might not be able to control it ! AC system uses multiple codes and basically resend all datas each time you change a setting which makes it impossible to capture :frowning:

Lucky you esphome also supports raw codes - you should at least try them :wink:

It’s a Inventum vto812wa Towerfan so not exactly an AC.

I will try that, but maybe this could be a trigger to add an extra option if the used protocol could be found.

You’ll know it when you start to capture remote ! ESPHome will automatically tells you if he recognises a known format when you capture in RAW mode :wink:

You mean dump: all? This option replied with jvc,lg, nec and pioneer but those al don’t work when I send them with the transmitter.

Not sure if it helps, but had a look at SmartIR?
It also supports ESPhome :wink:

Share your logs during capture and also when you try to send these codes please !

Example of log.

[17:20:52][D][remote.jvc:049]: Received JVC: data=0x807F
[17:20:52][D][remote.lg:054]: Received LG: data=0x807FE01F, nbits=32
[17:20:52][D][remote.nec:070]: Received NEC: address=0xFE01, command=0xF807
[17:20:52][D][remote.pioneer:149]: Received Pioneer: rc_code_X=0x8007
[17:20:53][D][remote.pronto:229]: Received Pronto: data=0000 006D 0032 0000 0158 00AC 0016 0040 0017 0014 0016 0015 0016 0015 0017 0014 0017 0014 0016 0015 0016 0015 0016 0015 0017 003F 0016 0040 0017 003F 0017 003F 0017 003F 0016 0040 0016 0040 0017 003F 0016 0040 0017 003F 0016 0015 0016 0015 0016 0015 0016 0015 0017 0014 0016 0015 0016 0015 0016 0015 0017 003F 0016 0040 0017 003F 0016 0040 0016 0040 0016 0040 0017 003F 0016 0040 0016 0015 0016 0015 0017 0014 0017 0014 0016 0015 001

This is another button. The JVC stays the same.

[17:22:42][D][remote.jvc:049]: Received JVC: data=0x807F
[17:22:42][D][remote.lg:054]: Received LG: data=0x807FC837, nbits=32
[17:22:42][D][remote.nec:070]: Received NEC: address=0xFE01, command=0xEC13
[17:22:42][D][remote.pioneer:149]: Received Pioneer: rc_code_X=0x8013
[17:22:42][D][remote.pronto:229]: Received Pronto: data=0000 006D 0032 0000 0159 00AB 0017 003F 0017 0014 0017 0014 0017 0014 0017 0014 0017 0014 0016 0015 0017 0014 0017 0014 0017 003F 0017 003F 0017 003F 0017 003F 0018 003E 0017 003F 0017 003F 0017 003F 0017 003F 0017 0014 0016 0015 0017 003F 0017 0014 0017 0014 0017 0014 0017 0014 0017 0014 0017 003F 0016 0040 0017 0014 0017 003F 0017 003F 0017 003F 0017 003F 0017 003F 0016 0015 0017 0014 0017 003F 0017 0014 0017 0014 0017 0014 001

I changed the dump to raw and used those values in the transmitter-part. No luck still non response from the towerfan.

remote_receiver:
  pin:
    number: D1
    inverted: true  
  dump: raw
remote_transmitter:
  pin: D2
  carrier_duty_percent: 50%

button:
  - platform: template
    name: "Fan remote, wind"
    on_press:
      - remote_transmitter.transmit_raw:
          code: [8988, -4437, 588, -1638, 590, -502, 611, -504, 610, -503, 611, -503, 586, -528, 610, -503, 610, -503, 612, -502, 611, -1618, 610, -1617, 586, -1641, 610, -1639, 590, -1615, 611, -1617, 611, -1638, 589, -1639, 589, -1638, 589, -1617, 612, -502, 600, -514, 611, -503, 587, -527, 588, -525, 612, -503, 586, -529, 611, -499, 597, -1633, 596, -1631, 611, -1617, 610, -1638, 590, -1615, 614, -1614, 614, -1636, 591, -1615, 612, -501, 613, -503, 611, -502, 611, -502, 588, -527, 588, -526, 612, -500, 588, -529, 584, -1641, 588, -1640, 587, -1662, 592, -1614, 611, -1639, 589]
  - platform: template
    name: "Fan remote, zwenk"
    on_press:
      - remote_transmitter.transmit_raw:
          code: [8971, -4441, 611, -1617, 610, -502, 612, -502, 587, -527, 612, -502, 612, -502, 611, -504, 611, -503, 610, -503, 612, -1617, 611, -1617, 611, -1616, 612, -1616, 588, -1664, 587, -1617, 612, -1615, 613, -1618, 610, -1617, 610, -504, 610, -503, 611, -1617, 611, -501, 606, -510, 611, -501, 590, -525, 612, -501, 587, -1641, 611, -1620, 610, -499, 613, -1617, 611, -1617, 611, -1617, 587, -1640, 612, -1618, 586, -526, 612, -503, 587, -1641, 587, -528, 587, -527, 612, -502, 586, -477, 638, -528, 612, -1618, 584, -1642, 587, -527, 611, -1619, 585, -1642, 586, -1643, 586]
  - platform: template
    name: "Fan remote, power"
    on_press:
      - remote_transmitter.transmit_raw:
          code: [8984, -4415, 610, -1616, 588, -526, 588, -527, 611, -502, 612, -503, 587, -527, 611, -502, 588, -528, 611, -502, 612, -1618, 584, -1641, 611, -1616, 587, -1642, 612, -1616, 587, -1641, 611, -1617, 587, -1641, 587, -1642, 585, -529, 586, -526, 587, -527, 587, -526, 588, -527, 585, -530, 585, -526, 588, -527, 586, -1642, 586, -1641, 587, -1639, 587, -1642, 611, -1616, 588, -1640, 612, -1616, 586, -1642, 585, -529, 584, -529, 585, -529, 585, -528, 611, -503, 611, -502, 586, -527, 586, -529, 612, -1616, 612, -1614, 586, -1642, 584, -1644, 585, -1642, 586, -1641, 562]
  - platform: template
    name: "Fan remote, timer"
    on_press:
      - remote_transmitter.transmit_raw:
          code: [8998, -4414, 598, -1631, 612, -502, 612, -503, 612, -503, 612, -501, 613, -502, 613, -501, 611, -504, 612, -502, 612, -1618, 611, -1617, 611, -1618, 610, -1617, 588, -1641, 610, -1617, 611, -1619, 610, -1619, 610, -1618, 611, -502, 587, -1642, 611, -502, 613, -502, 606, -508, 612, -502, 612, -503, 612, -501, 613, -1616, 612, -503, 611, -1616, 612, -1618, 587, -1641, 587, -1641, 612, -1640, 587, -1619, 611, -502, 593, -1636, 611, -503, 611, -502, 613, -501, 613, -501, 611, -504, 612, -502, 612, -1616, 612, -502, 614, -1618, 585, -1643, 610, -1619, 586, -1642, 610]
  - platform: template
    name: "Fan remote, wervel"
    on_press:
      - remote_transmitter.transmit_raw:
          code: [155, -148, 186, -8575, 8998, -4416, 610, -1617, 611, -501, 612, -503, 612, -501, 612, -502, 612, -501, 612, -506, 610, -500, 613, -501, 613, -1615, 613, -695, 213, -197, 181, -142, 800, -668, 76, -821, 664, -630, 155, -831, 612, -1641, 587, -1613, 740, -1490, 613, -1616, 611, -1617, 610, -1618, 611, -1616, 613, -501, 612, -502, 612, -502, 612, -502, 612, -501, 612, -502, 612, -503, 612, -502, 612, -1616, 612, -1616, 612, -1617, 612, -1615, 614, -1613, 614, -1617, 586, -1642, 611, -1617, 612, -501, 612, -503, 613, -501, 612, -502, 615, -498, 614, -499, 615, -501, 613, -501, 613, -1616, 611, -1618, 611, -1616, 612, -1616, 612]

You have similar results with my last capture of a remote of Oppo Bluray player. I used the NEC code and it worked fine ! Can you give it a try ? raw code is more random in term of results based on my experience…
Can you share a picture of the remote itself ?

I tried NEC code again but no luck. I add also code for a colorbulb and that is reacting so nothing wrong with the transmitter. Maybe I leave it as it is. The fan is only used on very hot days so not very often. :slight_smile: Thanks for the help. Greatly appriciated.