33 lines
977 B
Markdown
Executable File
33 lines
977 B
Markdown
Executable File
# Overview
|
|
|
|
Command line script to control basic TV functions.
|
|
|
|
Includes a 'slowoff' option to gradually lower the volume before turning the TV off, intended to avoid small children realising that the TV is off.
|
|
|
|
Requirements:
|
|
- (optional) [wakeonlan](https://github.com/jpoliv/wakeonlan)
|
|
|
|
|
|
# Usage
|
|
|
|
rpearce@crom:sonytv$ ./sonytv.sh -h
|
|
usage: ./sonytv.sh [OPTIONS] command [count]
|
|
|
|
-w secs Wait x seconds between ircc sends.
|
|
|
|
Valid commands are:
|
|
on off methods ircc raw ver status setup channel slowoff
|
|
|
|
Valid shortcuts are:
|
|
|
|
volup -> ircc VolumeUp
|
|
vu -> ircc VolumeUp
|
|
voldown -> ircc VolumeDown
|
|
vu -> ircc VolumeUp
|
|
vd -> ircc VolumeDown
|
|
ir -> ircc
|
|
chan -> channel
|
|
c -> channel
|
|
soff -> slowoff
|
|
|