If you need to find out a code from your remote enable debug on the EX-Link port:
Power Off -> Mute -> 1,8,2 -> Power On
Control -> Sub Option
RS-232 Jack -> Left = Debug
Serial Log On/Off = On
Watchdog = Off
Restart the TV (Turn it off and on again)
Connect your RS232 cable to the EX-Link port then open Putty or other terminal Use 115200 baud rate and port.
When you press the button on the remote you will see these keyVal
[A_APPCM/Fatal] 1626 : @@@[KEY_PROCESS] [DTVInputService] t_OnEvent type [20] , keyVal [0x79] <= The value we want
[A_APPCM/Fatal] 1627 : @@@[KEY_PROCESS] Send Background App [rootapp] Key [121] bSync [TRUE]
[A_APPCM/Fatal] 1628 : @@@[KEY_PROCESS] Current App[rootapp] bConsumed [0]
[A_APPCM/Fatal] 1629 : @@@[KEY_PROCESS] Send Background App [mbr] Key [121] bSync [TRUE]
That keyVal is the button pushed.
Now you just have to compute the checksum
0x08 + 0x22 + 0x0D + 0x00 + 0x00 + 0x79 = 0xB0
0x100 - 0xB0 = 0x50
0x08,0x22,0x0D,0x00,0x00,0x79,0x50I was looking for the KeyPad, SmartHub, MTS, Search, E-Manual, CC, STB, Dash which I found and is in the ESPHome YAML code in the github readme.I found a Tizen 2019 spreadsheet and the one found here for a backup for RS232 commands you can get here:
Look at the bottom of the spreadsheet it has more TV years as well not just Tizen.
[Link: github.com]The Get commands also seem to work fine with my TV model I get information back in HEX values.