Capturing IR codes from Sony blu-ray remote

I’ve successfully captured and retransmitted IR codes from most of my AV device remotes, however when it comes to my Sony blu-ray player I just can’t get valid codes. The remote is Sony RMT-VB100I and what I capture for EVERY button is:

Received Sony: data=0x000FFFFF, nbits=20

I’ve tried multiple IR receivers and two different controllers. My receivers are all 38Khz, so my best guess at this point is maybe the remote is transmitting on a different frequency but I don’t have a way of testing that.

Does anyone know anything about this particular remote? And if I was to buy a different frequency receiver to capture the codes, could I retransmit these codes using the standard Remote Transmitter component along with my other 38Khz devices?

Some googling suggests that this is a 433MHz remote. IE rf not ir.

It’s definitely IR. It has the emitter on the end and the player doesn’t respond if I cover it up.

Looks like it logs that some sony data has been received.
How about any raw data? what else gets logged when pressning any remote buttons?

Also what about your configuration yaml, share that too so we can get a picture of what you have.

If you look at the emitter through your phone’s camera, you will see it flash if it’s IR.

Did you try instead of going through the boring process of learnimg them to just use RC5/hex codes avalaible on remote-central ? I have down in the past for some Oppo BD Player and also for some nasty Loewe TV and success all the time :sunglasses:
PS: Sony is one of the nice manufacturers that use always same IR codes for all devices in same family (same IR codes for all Sony TV, same for bd and so on :wink:

There are a lot of misleading adverts on amazon etc then.

I also receive pronto codes:

Received Pronto: data=0000 006D 0015 0000 005F 0015 0019 0015 0030 0015 0019 0015 0030 0015 0030 0015 0030 0015 0019 0015 0019 0016 002F 0016 0018 0016 002F 0015 0030 0016 0018 0016 002F 0016 0018 0015 0019 0015 0019 0015 0031 0015 0030 0015 0030 06C3

And raw data:

Received Raw: 2466, -534, 1271, -527, 671, -529, 1240, -559, 642, -558, 1240, -558, 670, -531, 669, -528, 644, -556, 1269, -529, 671, -529, 1270, -528, 1268, -531, 645, -554, 1271, -528, 672, -530, 671, -527, 673, -527, 1271, -527, 1272, -528, 1271

But retransmitting either of these the player doesn’t respond. I also tried all the buttons and they appear to all be the same for each button (with some minor variations with additional presses).

My full yaml is very long but here’s the relevant part:

esphome:
  name: av-control
  platform: ESP32
  board: esp32-poe-iso

ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0
  power_pin: GPIO12

  manual_ip:
    static_ip: 192.168.1.15
    gateway: 192.168.1.1
    subnet: 255.255.255.0

logger:

api:
  reboot_timeout: 60min

http_request:

mdns:
  disabled: true

remote_transmitter:
  - id: lounge_transmitter
    pin:
      number: 2
    carrier_duty_percent: 50%

  - id: tvs_transmitter
    pin:
      number: 5
    carrier_duty_percent: 50%

remote_receiver:
  - id: lounge_receiver
    pin:
      number: 4
      inverted: true
    dump: all
    tolerance: 55%
    buffer_size: 1kB
    memory_blocks: 1

  - id: kitchen_receiver
    pin:
      number: 14
      inverted: true
    tolerance: 55%
    buffer_size: 1kB
    memory_blocks: 1

I hadn’t seen that one, I’ll have a look. I did try some codes I found on another repository and succeeded in getting the player to turn on but then it wouldn’t respond to anything else, including a repeat of the power button to turn it off. Seemed like it was happy to respond to a “legacy” code to wake it up but nothing after that.

How do you send the codes to the player?
Have you configured switches etc ?

Looking at your logs, it appears that the esphome does in fact receive codes and is identified as Sony.
Strange that you get same on all buttons, even more strange that you get variations if you repeat button presses.

That to me feels like something either interfering with the receiver or you have set the tolerance, buffer_size, memory_blocks incorrectly for this Sony remote.
tolerance is default 25%
buffer_size is default 10kb on ESP32
memory_blocks is default 3

Maybe you can go back to default (just comment the settings) and see if that changes the received data.

Try it with codes from Remote Central and it’ll work. What device are you using to emit IR codes ?
Also as stated by @LCL go back at default settings and remove these from your esp code:

tolerance: 55%
buffer_size: 1kB
memory_blocks: 1

A-ha, it was the tolerance setting that was throwing things. Brought that back to the default and the correct codes came in! (I’m not sure why I had that at 55%, some of this config was brought over from a previous project and I don’t remember why that setting was changed).

Thanks for the help!