Emulate URC7740

I will report back.

The Codeblock was only a first try. It would be interesting what ‘no success means’ in detail.
At this time I thought it needs to be send fast. With the later readings, we know we can write the file to a normal .ir file and press 1 2 3 4 5 one by one. The universal remote could send the codes too fast, that the BDR can’t prozess them.

I’ll take the risk to repeat myself: The sequence is somewhat complex and the process doesn’t give feedback in the doing.
So it is good to know what are the steps, that leads to ‘no success’. It is very likely we need some tries before success.

I did take the codes needed to dezone the BlueRay and found them in the page you posted.

All I needed then was to identify the brand/model it was referring to and try to find them in the IRDB database from the flipper.
Unfortunately not all models were in the IRDB so I had to take equivalents but that was of course not good enough !

Okay, good idea.
I still have no idea how you’re using 1 00189 - 2 00255 - 3 00095 - 4 00221 - 5 00079 on the flipper. What means I know how i could/would do it, see above. But I don’t know, from all the mentioned possibilities, what exact does not work.

But there is something missing.
As far as I follow this topic, we still have no information of the protocol or the address. We have only a command set. And there commands are somewhat special, so I don’t think any remote in the IRDB will represent the dataset we need.

I guessed the protocol, based on the remote for your BPD-5100. It still could be another protocol, maybe NEC (most common in CIR) or a raw sequence complete without protocol.

As written before, there there is no definition, of how a code is presented. In forward or in reverse. So I edited the example above as ‘standard infrared file for flipper’ not universal remote.
There are 10 buttons, 5 are forward and the same codes reversed.

Filetype: IR signals file
Version: 1
# 
name: 1_ffd
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: BA 00 00 00
# 
name: 2_ffd
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: FF 00 00 00
# 
name: 3_ffd
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 5F 00 00 00
# 
name: 4_ffd
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: D3 00 00 00
# 
name: 5_ffd
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 4F 00 00 00
# 
name:  1_rev
type:  parsed 
protocol:  SIRC20 
address:  5A 1C 00 00 
command:  5D 00 00 00
#
name:  2_rev
type:  parsed 
protocol:  SIRC20 
address:  5A 1C 00 00 
command:  FF 00 00 00
#
name:  3_rev
type:  parsed 
protocol:  SIRC20 
address:  5A 1C 00 00 
command:  FA 00 00 00
#
name:  4_rev
type:  parsed 
protocol:  SIRC20 
address:  5A 1C 00 00 
command:  CB 00 00 00
#
name:  5_rev
type:  parsed 
protocol:  SIRC20 
address:  5A 1C 00 00 
command:  F2 00 00 00

Test 1:

  1. Put the content above in a file, f.ex. BPD-5100_regionfree.ir
  2. Load the file on your SD Card in the folder \Infrared\
  3. Start at your Flipper ‘Infrared - Saved Remotes’, choose your file BPD-5100_regionfree.ir
  4. Take care of a dimmed environment.
  5. Press one by one: 1_ffd 2_ffd 3_ffd 4_ffd 5_ffd
  6. Restart your Player. …
  7. If it is not regionfree, repeat 3-5, but use the buttons 1_rev 2_rev 3_rev 4_rev 5_rev

As mentioned in the original site with the All-for-One Remote: Maybe id needs more than one try. After 3 I would say it doesn’t work.

1 Like

Let me give you an example.
We need number code 00189 in the remote. I assume this number is hard coded in the remote and therefore always the same. #189 appears twice in this doc http://xi6.com/remotes/ :
Once for Phillips/Magnavox DVD-815 (upper arrow button) and once for the Sony VEGA TV (test button). The idea was to find in the IRDB database of the flipper one of these 2 and use these strings.

I’ll run your test but for now, for a reason I don’t get, the IR file created doesn’t show any button once used in the F0. Probably a syntax issue.

1 Like

Remote is out for delivery today. Since I don’t have my own way of testing anything, here’s my plan. I’m going to capture the entirety of the remote as-is. I will then do my best to replicate the procedure to get the One-For-All set up for the unlock codes, and then I will try to capture from the buttons in step 2 from the website you linked to (2. Make sure you have a clear line of sight with the S5100. Press 1, 2, 3, 4, 5 on the OneForAll remote). I’ll then post the ir information.

Does that sound like the best course of action to everyone?

1 Like

Sounds good. I am very curious what will be the result.

1 Like

I have something to try, but I’m not sure how confident I feel. The first step the instructions say is to enter 0533. I believe this sets the device in the remote to the Sony manufacturer. My remote (URC-7880) does not accept this value. I found this site that has different manufacturer’s DVD codes: Sony DVD codes for OneForAll universal remote controls So I tried 1533. This switched the remote to broadcasting SIRC20, as read by the Flipper.

I have programmed buttons 1-5 as specified in the instructions. I can confirm that the Flipper reads different codes after following the instructions. I’ve also tested changing the first value, 1533, to other Sony brand values and the Flipper does not read anything different from the programmed 1-5 buttons.

So, here’s what I’ve got, with no way to test. https://raw.githubusercontent.com/emptythevoid/flipperzero/main/infrared/experimental_sony_unlock/1533.ir

When this file is placed inside the Infrared directory on the Flipper, you should have a new, saved remote called ‘1533.’ When you open this, you’ll have buttons 1, 2, 3, 4, 5. Follow the instructions on the original webpage you linked to, and use the Flipper to stand-in for the 1-5 buttons.

Edit: I’m anxious to hear if it worked. If it does, I’ll submit it to the IRDB repo.

2 Likes

You guys rock ! I’ll try later today and let you know.

2 Likes

Well, flipper IR works fine and I can send 1, 2, 3, 4 and 5 without problem. Unfortunately it’s a fail :weary:

  • Test 1/ Your file without any change. No reaction from the player. Tested numerous times. => FAIL
  • Test 2/ I’ve notice that protocol used in for the button 1 in your file was SIRC while others were SIRC20. I’ve tried changing it to SIRC20 without success… => FAIL
  • Test 3/ I’ve replaced the address in your file with the address used by the current remote (see below). Button 5 switch off the player but no change => FAIL

I was so sure it was going to work :cry:

Below is the ir file from the current remote if it can be of any help.

Filetype: IR signals file
Version: 1

name: Power
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 15 00 00 00

name: Play
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 1A 00 00 00

name: Stop
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 18 00 00 00

name: +}
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 56 00 00 00

name: {-
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 57 00 00 00

name: Yellow
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 69 00 00 00

name: Blue
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 66 00 00 00

name: Red
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 67 00 00 00

name: Green
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 68 00 00 00

name: Top_menu
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 2C 00 00 00

name: Menu
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 29 00 00 00

name: Options
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 3F 00 00 00

name: Up
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 39 00 00 00

name: Down
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 3A 00 00 00

name: Left
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 3B 00 00 00

name: Right
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 3C 00 00 00

name: Select
type: parsed
protocol: SIRC20
address: 5A 1C 00 00
command: 3D 00 00 00

Fascinating. I’ll see if I can get another capture tomorrow. I’m not completely surprised - for whatever reason, this specific model of remote I obtained doesn’t support that 0533 command, so I don’t know what consequences this has.

1 Like

Can you try this one? https://raw.githubusercontent.com/emptythevoid/flipperzero/main/infrared/experimental_sony_unlock/Take2.ir

1 Like

No effect :weary:

oh boo. Okay, let me think about this and see what options I’ve got

Good work, guys. Even if it don’t work, we can compare the results.

The most important information for me is in here:

The original remote from IRDB shows the following values:

protocol: SIRC20
address: 5A 1C 00 00

Yours is showing

  • 1533.ir
protocol: SIRC
address: 00 00 00 00
  • Take2.ir
protocol: SIRC20
address: 3A 09 00 00

Let’s say the address is the field, to avoid devices nearby will get the commands. so the BD device will only listen to a specific address. We should take the known address: 5A 1C 00 00 and the new command:s from your remote together in one file.
I would also go with protocol: SIRC20 here.

As you, @emptythevoid, already found out, the 0533 (1533) code could be for the protocol. Is there a list or something?
I’d like to try change to the NEC protocol and compare the command: at buttons 1 2 3 4 5. If they are different, we maybe need to change to RAW dumps instead of parsed ones.

Here’s the manual to the version of remote I have: https://www.urcsupport.com/wp-content/uploads/2020/11/urc7880_manual_en.pdf

You’ll notice that the manual doesn’t list any device codes, but it has preset buttons you can hold in that, presumably, do the same thing. That said, the fact that it accepts the codes I’ve put in from here Sony DVD codes for OneForAll universal remote controls suggest that the device code method does still work.

This silly page OFA Smart Control 8 (US) URC7880 – URC Support is able to give device codes (specific for this remote?) for various devices. I’ll try a few here in a bit. If you happen to look through this, let me know if there’s anything you want me to try. I’ll see if I can find a device code that returns NEC.

First try lucky - device code 3519 (Hisense) is showing up as NEC (and turned on my Vizio TV, while I was testing it. I’ll get you the full capture.

Interesting. The remote has a button that lets you switch devices (TV, set top box, blu ray, etc). It seems that you need a combination of the correct device chosen and the device code. What I mean is, the device code 3519 doesn’t even register if I try to program it to something other than TV on the remote. It does a slow blink instead of two fast ones. This is the same behavior I experienced trying to set up the 0533 code initially. This remote is weird.

Edit 1: I’ve made a folder of various captures (power button and 0-9) for various device codes. The files are named in this manner:

Device type as chosen by the remote_device code_protocol detected by Flipper

Edit 2: I’m just throwing all my notes here, instead of constantly updating this post: flipperzero/infrared/experimental_sony_unlock/README.md at main · emptythevoid/flipperzero · GitHub

1 Like

Thanks! I’m going to review your notes. I greatly appreciate you sharing!

This is interesting. It seems as long as the protocol is SIRC or SIRC20 0189 is always the same command. In Samsung32 it appear to increment by 1.
DVD set up as code 1633, button 1 key magic 00189 = SIRC A:0x00 C:0x7F
DVD set up as code 1516, button 1 key magic 00189 = SIRC A:0x00 C:0x7F
DVD set up as code 4009, button 1 key magic 00189 = SIRC20 A:0x12FA C:0x7F
DVD set up as code 0864, button 1 key magic 00189 = SIRC20 A:0x0A7A C:0x7F
DVD set up as code 1033, button 1 key magic 00189 = SIRC A:0x00 C: 0x7F

DVD set up as code 0741, button 1 key magic 00189 = Samsung32 A:0x2D C:0x80

1 Like

This is fun! Although I’d love it if we solve it.

I observed that, as well. Let me know what other data I can gather. I can do raw, too.

1 Like