This is a simple bash script for controlling a Medion TV which is capable of receiving netcat commands via port 4660.
Usage of the script:
medion power # turns on TV
medion 1 # press button 1
There is also an interactive mode where the tv can be controled with the keyboard by pressing keys.
medion # turns on TV
<KEYPRESS M>
mute
0123456789menuemuteupleftokrightdownvolupvoldownvol <number>(set volume level to number)powerreturninfoexitsourceepgpup(page up)pdown(page down)program(returns the current program info)volume(returns the current volume level)activechannellist(active channel list)greenyellowredblueplaystoppause<NO FLAG>(interactive mode)
See script for detailed information.