samtvcli key

Send a key to the TV

Synopsis

Send one or several key codes to the TV device.

The available key identifiers can be displayed using the --list option.

When several keys are given, a small delay is inserted between the keys. If a bigger pause is required, the special argument '_' can be used.

samtvcli key KEY... [flags]

Examples

  samtvcli key --list
  samtvcli key KEY_VOLDOWN
  samtvcli key KEY_MENU
  samtvcli key KEY_DOWN
  samtvcli key KEY_RETURN
  samtvcli key KEY_POWEROFF
  samtvcli key KEY_MENU _ _ KEY_DOWN KEY_DOWN _ KEY_UP _ KEY_UP _ KEY_RETURN

Options

  -h, --help   help for key
  -l, --list   List keys

Options inherited from parent commands

      --config string        config file (default is $HOME/.config/samtvcli/samtvcli.yaml)
      --debug                Enable debug mode
      --device-uuid string   SmartView Device UUID
      --server string        TV IP address
      --session-id int       SmartView session ID (default -1)
      --session-key string   SmartView session key

SEE ALSO

Auto generated by spf13/cobra on 28-Sep-2018