Questions tagged [cec-client]
35 questions
5
votes
1 answer
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 1
opening a connection to the CEC…
timpone
- 151
- 1
- 2
3
votes
1 answer
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 turn on 8am and turn off 10pm or something like…
Waenger
- 31
- 2
3
votes
1 answer
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 want is to somehow grab a signal in the Pi when…
Winona Heather
- 31
- 1
- 2
3
votes
2 answers
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?
demux
- 191
- 1
- 4
3
votes
1 answer
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 remote control results in messages in the CEC debug…
demux
- 191
- 1
- 4
3
votes
2 answers
How to find out CEC commands supported by Samsung TV?
I have Samsung TV (UE46B8000XW) and Raspberry PI with OpenELEC install (cec-client is there). I found how to switch it off and how to change sources:
echo "standby 0" | cec-client -s' # switch off
echo "tx 2F:82:10:00" | cec-client -s' # hdmi1
echo…
LA_
- 141
- 1
- 6
3
votes
1 answer
RPi 4 second HDMI port does not seem to support CEC
When using the cec-utils on a Pi-4 with 2 HDMI devices connected, the one connected to HDMI1 does not respond to commands or show up in a scan.
Running cec-client -l only shows 1 device. Is there something I am missing or is there now way to control…
Brian
- 39
- 1
2
votes
1 answer
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 following error:
Error: can't open display:…
J.Doe
- 73
- 6
2
votes
0 answers
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
Building wheels for collected packages: cec
Running…
Mrk11
- 43
- 1
- 4
2
votes
2 answers
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 go a python and the cec package to see what I…
Havnar
- 1,617
- 2
- 16
- 34
2
votes
0 answers
Attempting to control a Raspberry Pi running Kodi with a LG RF remote
I'm running a Kodi application within a Raspberry Pi4 connected to an HDMI port on an LG TV with an RF remote. The problem is that I'm not able to control the Kodi application using the LG's RF remote.
On the Kodi side, I've verified that Kodi is…
Rob
- 21
- 2
2
votes
1 answer
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 aerial connected and I have had a look through the LG…
tomaytotomato
- 183
- 1
- 1
- 5
1
vote
1 answer
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 might have a better chance of discovering what…
hepcat72
- 285
- 4
- 18
1
vote
0 answers
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 to fire when i touch keyboard after 2 hours of…
csomakk
- 111
- 3
1
vote
1 answer
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 a couple of commands to send over cec-client to…
Yuri Makassiouk
- 163
- 1
- 7