This guide will help you understand what the USB-CEC Adapter does, get it set up, and choose the right configuration for your needs.
What Does the USB-CEC Adapter Do?
The USB-CEC Adapter connects your PC to your TV via HDMI and allows them to control each other using the HDMI-CEC standard. Once set up, you can:
- Automatically turn your TV on when your PC starts or wakes
- Automatically turn your TV off when your PC shuts down or sleeps
- Use your TV remote to control media software on your PC (Kodi, Plex, etc.)
- Send custom commands to your TV from scripts or automation software
For a full explanation of HDMI-CEC and what the adapter does, see: What is the Pulse-Eight CEC Adapter and libcec?
Step 1 — Connect the Hardware
Step 2 — Install libcec
libcec is the software that enables the adapter to communicate with your TV. Install it for your operating system:
How to install libcec (Windows) — download and run the installer, make sure all components are ticked during installation.
CEC Adapter — Using libcec with a Raspberry Pi — no adapter needed, libcec uses the Pi's built-in HDMI CEC hardware.
CEC Adapter — Setting Up libcec on macOS — install via MacPorts or build from source.
CEC Adapter — Setting Up libcec on Linux — build from source on Debian/Ubuntu.
Step 3 — Test the Connection
Before setting up any automation, confirm the adapter is working correctly by running tv_on.cmd (Windows) or echo "on 0" | cec-client -s -d 1 (Linux/macOS) manually. If your TV turns on, everything is working correctly. If not, see: CEC Adapter — Not Being Detected
Step 4 — Choose Your Setup Method
There are several ways to use the adapter depending on what you want to achieve. See the comparison guide to choose the right one for your needs:
Compares CEC-Tray, Standby Monitor, Windows Commands, and Task Scheduler — explains the differences and helps you pick the right approach.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article