1. Device: Xiaomi Mi TV 4S
2. Type of device: TV
3. Year: 2020
4. JP1/UEI Remote model: None
5. Do you have a JP1 cable? No
6. Still have original remote? Yes
7. Checked the file section? Yes
8. Checked Pronto file section (at R/C)? Yes
9. Partially working setup code? Yes, see below
10. Learning remote question? No
11. Have you tried the JP1 Lookup Tool? Yes, didn't find anything
12. If you have a OARUSB04G (or similar) remote, have you tried simpleset.com? n/a
Hi, im trying to find all codes for this Xiaomi TV 4S. It comes with a Bluetooth Remote but also has an IR-receiver.
Here's what I know. Some codes from the http://www.hifi-remote.com/forums/viewt ... p?t=100421 (Xiaomi Streaming Box) do work.
Those are the codes which i know to be working:
IR-PROTOCOL= XIAOMI IR (Which is a variant of RC-MM), which has a header and 20-bits
[HEADER][8-bit device code][8bit function code][xor-check 4 bit]
IRP: {36k,290,msb}<2,-2|2,-3|2,-4|2,-5>(1000u,-2,D:8,F:8,C:4,2,^30m)* {C=(D:4:4^D:4^F:4:4^F:4)} [D:0..255,F:0..255]
DEVICE CODE = 134 = 0x86
Code: Select all
Found IR codes (By bruteforce)
KEY ON REMOTE  | HEX | DECIMAL
1     = 0x86 0xc1 = 193
2     = 0x86 0xc2 = 194
3     = 0x86 0xc3 = 195
4     = 0x86 0xc4 = 196
5     = 0x86 0xc5 = 197
6     = 0x86 0xc6 = 198
7     = 0x86 0xc7 = 199
8     = 0x86 0xc8 = 200
9     = 0x86 0xc9 = 201
0     = 0x86 0xca = 202
UP    = 0x86 0x05 =   5
LEFT  = 0x86 0x0b =  11
OK    = 0x86 0x0d =  13
RIGHT = 0x86 0x0c =  12
DOWN  = 0x86 0x06 =   6
VOL+  = 0x86 0x0e =  15
VOL-  = 0x86 0x0f =  14
MUTE  = 0x86 0xa1 = 161
INPUT = 0x86 0x01 =   1
    
POWER = 0x3c 0xcc = 204 | note: different device code
FWD   = 0x86 0xa7 = 167 | note: not on original remote, secret found ;-)
REW   = 0x86 0xa8 = 168 | note: not on original remote, secret found ;-) 
When I send the IR code 0x86 0x0e for example, the OBC event for key 0073 (DECIMAL 115) is triggered on the device and the VOLUME is being raised correctly.
So now the big question: Anyone know how to determine the missing codes for IR?
List follows:
Code: Select all
Table of key-events of bluetooth remote, which seems to be triggered on the correct IR as well
key   | hex | dec
green  00a1 = 161
red    00a6 = 166
blue   00d9 = 217
yellow 019a = 410
mikey  018f = 399
back   009e = 158
menu   00ac = 172
ok     0161 = 353
down   006c = 108
up     0067 = 103
left   0069 = 105
right  006a = 106
nflix  01a0 = 416
prime  00cf = 207
chlist 0189 = 393
sett.  0241 = 577
input  00a7 = 167
 
0      000b =  11
ttx    0088 = 136
7      0008 =   8
8      0009 =   9
9      000a =  10
4      0005 =   5
5      0006 =   6
6      0007 =   7
1      0002 =   2
2      0003 =   3
3      0004 =   4
assist 0246 = 582
vol+   0073 = 115
vol-   0072 = 114

