Now added possibility to remotely start a widget on TV, given its ID (not implemented in T-HKMFK firmwares (?)).
Code: Select all
rccli v0.2 for Samsung TV series K/M/Q by zoelechat @ SamyGO
Usage: rccli <TV_IP|HOSTNAME> <KEY_NAME>|<-w|--widget=WidgetID> [-t|--timeout=ms] [-d|--debug]
Sample usages:
Code: Select all
./rccli 192.168.1.7 KEY_GUIDE
./rccli UE49KS7000 KEY_MENU -t1000 -d
./rccli 192.168.1.9 KEY_INFO ; ./rccli 192.168.1.9 KEY_FACTORY # access extended service menu? not tested :)
./rccli 192.168.1.7 -w org.tizen.browser # starts web browser
Code: Select all
BD_KEY_POWER
KEY_0
KEY_1
KEY_2
KEY_3
KEY_4
KEY_5
KEY_6
KEY_7
KEY_8
KEY_9
KEY_16_9
KEY_3D
KEY_3SPEED
KEY_AD
KEY_ADDDEL
KEY_ANGLE
KEY_ANTENA
KEY_ANYVIEW
KEY_APP_LIST
KEY_ASPECT
KEY_AUTO_PROGRAM
* KEY_BLUE
KEY_BT_COLOR_MECHA
KEY_BT_CONTENTSBAR
KEY_BT_DEVICE
KEY_BT_DUALVIEW
KEY_BT_HOTKEY
KEY_BT_NUMBER
KEY_BT_SAMSUNG_APPS
KEY_BT_TRIGGER
KEY_BT_VOICE
KEY_CAMERA
KEY_CAPTION
KEY_CHDOWN
KEY_CHUP
KEY_CH_LIST
KEY_CLEAR
* KEY_COLOR
KEY_CONTENTS
KEY_CONVERGENCE
KEY_CYAN
KEY_DOWN
KEY_DTV
KEY_DTV_SIGNAL
KEY_DVR
KEY_EMANUAL
KEY_ENTER
KEY_ESAVING
KEY_EXIT
KEY_EXTRA
KEY_FACTORY
KEY_FAMILYHUB
KEY_FAVCH
KEY_FF
KEY_FF_
KEY_FUNCTIONS_AMAZON
KEY_FUNCTIONS_NETFLIX
KEY_GAME
KEY_GREEN
KEY_GUIDE
KEY_HDMI
KEY_HOME
KEY_INFO
KEY_JOYSTICK_DOWN
KEY_JOYSTICK_LEFT
KEY_JOYSTICK_OK
KEY_JOYSTICK_RIGHT
KEY_JOYSTICK_UP
KEY_LEFT
KEY_LINK
KEY_MBR_BDDVD_POWER
KEY_MBR_BD_POPUP
KEY_MBR_SETUP
KEY_MBR_SETUP_CONFIRM
KEY_MBR_SETUP_FAILURE
KEY_MBR_STBBD_MENU
KEY_MBR_STB_GUIDE
KEY_MBR_TV
KEY_MBR_WATCH_MOVIE
KEY_MBR_WATCH_TV
KEY_MENU
KEY_MINUS
KEY_MORE
KEY_MTS
KEY_MUTE
* KEY_OK
KEY_PAGE_LEFT
KEY_PAGE_RIGHT
KEY_PAUSE
KEY_PIP_CHDOWN
KEY_PIP_CHUP
KEY_PIP_ONOFF
KEY_PLAY
KEY_PLAY_BACK
KEY_PLUS100
KEY_PMODE
KEY_POWER
KEY_PRECH
KEY_REC
KEY_RECOMMEND_SEARCH_TOGGLE
KEY_RED
KEY_REPEAT
KEY_RETURN
KEY_REWIND
KEY_REWIND_
KEY_RIGHT
KEY_SEARCH
KEY_SLEEP
KEY_SMODE
KEY_SOCCER_MODE
KEY_SOURCE
KEY_SRS
KEY_STB_POWER
KEY_STILL_PICTURE
KEY_STOP
KEY_SUB_TITLE
KEY_TOOLS
KEY_TTX_MIX
KEY_TV
KEY_TV_SNS
KEY_UP
KEY_USBHUB_SWITCH
KEY_VOLDOWN
KEY_VOLUP
KEY_WHEEL_LEFT
KEY_WHEEL_RIGHT
KEY_WIFI_PAIRING
KEY_W_LINK
KEY_YELLOW
KEY_ZOOM1
- Archive contains much ready to use builds (check out-* folders): win32, MacOS, i386 and x86_64 Linux, arm and mips including static ones that should work e.g. on old TVs, most routers/NAS, Raspberry Pi etc.
- In case you want to build yourself for another platform, requires libwebsockets (←that old fork I used) for linking.
- UPDATE: M series firmwares up to 1240. Then Samsung removed feature as usual (never upgrade!!)
Note that on first launch from every new device, TV will popup to ask if you agree to receive from "rccli" device yes/no.
Code: Select all
19/4/2018
v0.2 - Added widget launch
28/2/2018
v0.1 - Initial release