CEC-CLIENT(1)

πŸ’– NAME πŸ’–

cec-client β€” the CEC connection client utility, aka your lil bestie that talks to your TV over HDMI-CEC πŸ¦‹


✨ DESCRIPTION ✨

okay so picture this: you wanna talk to your TV, your soundbar, your whole HDMI-CEC squad, and you wanna do it from a terminal like the main character you are. That's cec-client. It's a General Commands Manual girlie and she's ready πŸ’…

Here's the whole vibe, synopsis-style:

cec-client {-h|--help|-l|--list-devices|[COM PORT]}

πŸŽ€ parameters:

  • -h, --help β€” shows this help text. iconic, self-explanatory, we love a queen who explains herself πŸ’–
  • -l, --list-devices β€” lists all the devices on this system. go off, inventory ✨
  • -t, --type {p|r|t|a} β€” the device type to use. and get this, you can use more than one. no cap, multiple types at once 🌈
  • -p, --port {int} β€” the HDMI port to use as active source. pick your port, claim your throne πŸ‘‘
  • -b, --base {int} β€” the logical address of the device that this adapter is connected to 🫢
  • -f, --log-file {file} β€” writes all libCEC log messages to a file. receipts, bestie πŸ“
  • -sf, --short-log-file {file} β€” writes all libCEC log messages without timestamps and log levels to a file. same receipts, just the short version βœ‚οΈ
  • -d, --log-level {level} β€” sets the log level. see cectypes.h for values πŸ“
  • -s, --single-command β€” execute a single command and exit. does not power on devices on startup and power them off on exit. one and done, in and out, no strings πŸ’€
  • [COM PORT] β€” the com port to connect to. and if no COM port is given, the client tries to connect to the first device that is detected. it'll find someone, it always does πŸ™ˆ

lowkey important: type h or help and press enter after starting the client to display all the available commands. yes, after. read the room, then read the commands πŸ’…

k that's the whole thing, you ate that. This was the cec-client page from the General Commands Manual, filed under User Commands, dated January 2012 β€” yeah she's vintage, she's still serving tho 🌸✨ bye bestie, go control some HDMI πŸ’œ