We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [cec-client]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
5k views

Testing CEC on Raspbian

Just installed Raspbian on a 3 B connected to a TV that supposedly supports CEC (LG 47LD450), but struggling to find any info on how to test CEC on Raspbian. I want to confirm that it works, or ...
0
votes
1answer
802 views

HDMI-CEC: switch the device to the port where Raspberry is connected

I am using my Raspberry only for a Spotify connect client (Raspotify), the device connects to an AV Receiver which has a number of HDMI ports. After 2 days of trial and error I managed to figure out ...
1
vote
1answer
103 views

RPi 4 CEC-Client with LG TV, switch from TV tuner?

So I have managed to control the LG TV (Simplink Enabled) with the cec-client library on the RPi 4. The problem is when I turn the TV back on, it defaults to the TV tuner input. There is no TV ...
1
vote
0answers
58 views

Script Using CEC-Client Will Turn on TV OR Change Input But Not Both

I'm trying to use this script to turn on a TCL TV and change the input to RPi using cec-client: echo 'on 0' | cec-client -s echo '4f:82:10:00' | cec-client -s It will turn the TV on, but not change ...
2
votes
1answer
128 views

Run turn off/on HDMI on specific time

I want to do the following: Use my raspberry pi as a smart display, kind off like what the Chromecast does when it's not streaming anything. I also want it to turn on and off at certain times, like ...
0
votes
1answer
496 views

Issue “Enabling simplink on boot automatically”

I need enable simplink on boot automatically. But, currently we have to do it manually every-time from Remote Control using the Settings->Input->Simplink->HDD Recorder. I have been stuck for almost a ...
1
vote
1answer
37 views

CEC-Client Turns TV Off, but Not On Again

I'm using the cec-utils shell commands to turn my tv on and off via RPi. echo 'on 0' | cec-client -s -d 1 echo 'standby 0' | cec-client -s -d 1 The standby/off command works fine, but the on ...
0
votes
3answers
99 views

USB video playback on my TV

I have a 4k video that I wanted to play, and while I realise RPi can't play 4k, I know that my TV does. So i plugged in USB drive into TV, and now I'm trying to figure out a way for my raspberry to ...
3
votes
1answer
785 views

Detect TV remote buttons being pressed with CEC client

My TV supports CEC and is connected to my Raspberry Pi with HDMI. I've installed cec-client on the Pi and followed this tutorial, but it only explains how to turn the TV on and off with the Pi. What I ...
0
votes
0answers
17 views

What defines “source” & “destination” when using cec-client to change HDMI inputs?

I've been poking around with the cec-client app to see what I can do with it when it comes to my magnavox TV. All I seem to be able to do is turn the TV on/off and change HDMI inputs. I feel like I ...
1
vote
0answers
37 views

trigger command on wake up

so scenario: my pi is hooked up to a tv. When I press a button on the pi`s keyboard, I want the tv to wake up. I found the echo on 0 | cec-client -s -d 1 command, but I don't know how can I wire it ...
0
votes
1answer
197 views

How can I switch the TV to the Pi's HDMI input on a key press/mouse click?

I've got a TV with an Apple TV, Pi, and a PS4 plugged into it. Both the Apple TV and the PS4 switch to their HDMI inputs when I click the remote or turn the controller on. How can I achieve the same ...
2
votes
1answer
183 views

Does 'xdotool' only work on OS with gui?

I have installed xdotool on my raspbian stretch with desktop and on there, everything works fine. But I also tried to install xdotool on raspbian stretch lite and on lite I always encounter the ...
0
votes
2answers
2k views

Problem with python cec in raspbian stretch

I have rpi 1 model b with stretch installed. I want to use python cec library. First I tried to install it. sudo apt install python-libcec But fails to import cec :: Python 2.7.13 (default, Jan 19 ...
3
votes
1answer
2k views

Using tv remote to control volume through HDMI CEC

Is this possible? I have my Raspberry Pi connected to my Philips smart tv via HDMI. I've made sure that the CEC protocol is sending and receiving messages using cec-client Various actions on the ...
2
votes
0answers
216 views

Which device (in /dev) is the HDMI CEC device?

I want to interact directly with the CEC protocol on my raspberry pi. How can I find out which device to use?
1
vote
1answer
2k views

Is there a way to get amp volume using CEC?

I noticed there is volup and voldown in cec-client commands. But how do I know the current level to make the Raspberry Pi adjust it? Or is it possible to set a percentage? I used scan, but it didn't ...
1
vote
1answer
3k views

CEC: Panasonic Viera remote with KODI

I am using KODI on a Raspberry Pi 2 B (openelec) with my Panasonic Viera plasma screen model TH-42PX81FV. I found, that not all the button presses from the remote are actually reported over the HDMI ...
2
votes
0answers
437 views

Unable to install CEC in Virtualenv with Python 3.4

I am trying to install CEC pip install cec but I am unable to do so. I get the following error: (venv) pi@MyPi3:~/my_projects_pi $ pip install cec Collecting cec Using cached cec-0.2.5.tar.gz ...
4
votes
0answers
1k views

Getting the active source via HDMI-CEC doesn't seem to work

I am very new to HDMI-CEC. I have a Pi3 and a Pi2 connected to a TV's two HDMI ports. If I run: echo scan | cec-client -s -d 1` I get the following output: OpenELEC:~ # echo scan | cec-client -s -d ...
2
votes
2answers
384 views

cec-client on Wheezy (retropie) not finding TV

I have a retropie setup (Wheezie) running, and a while back installed libcec to get my TV remote to work with the Kodi package Installed via Retropie. ( This works by the way ) I was tying to have a ...