Questions tagged [cec-client]
The cec-client tag has no usage guidance.
33
questions
0
votes
0
answers
90
views
Can HDMI CEC be used with standard TV remote functions from a Pi to the TV itself?
I was wondering if I could use HDMI CEC with standard TV remote functions using a Raspberry Pi, like punching in numbers, or changing the channel, etc? I'm trying with cec-client. I suspect I would be ...
0
votes
0
answers
65
views
Wait for HDMI CEC input, then wake up AVR
Following situation:
My AppleTV 4k is connected to a HDMI audio video splitter.
The splitter has one output (video) to my 4k TV.
The other splitter output (audio) goes to my HD Denon AVR.
(The ...
0
votes
1
answer
115
views
Omxplayer not always starting with rc.local
I have trouble with my Raspberry Pi 4B configuration. I prepared RPI to work with TV - it turns on the TV and switches active source to HDMI1 with cec-client. After turning on the TV it should start ...
0
votes
0
answers
228
views
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 ...
0
votes
0
answers
515
views
How to set TV Volume to 50%?
I would like to set the TV volume to 50% how do I achieve this with the cec-client command or other. I am aware of the [volup] [voldown] but that must be a dumb API comparable to walking blind-folded....
1
vote
0
answers
264
views
Unable to turn on/off my LG-1500 projector via HDMI-CEC
I am trying (and failing) to control the power state of my LG PF-1500 projector through HDMI-CEC. According to this forum thread it should be possible. LG calls its implementation SIMPLINK, which I ...
1
vote
0
answers
123
views
CEC client Hybrid help
I hope someone can help me. I've got a pulse-eight cec adapterand my TV is my main monitor for PC.
I made 5 simple stand-alone scripts linked to F8 and up to F12 on the keyboard.
They turn tv on-off ...
3
votes
2
answers
5k
views
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
...
1
vote
1
answer
504
views
Why is my input source not changing when I send the <Active Source> message via CEC-Client?
Problem/Question
When I use CEC-Client to send the active source command to switch the TV input to a particular source, nothing happens. What am I doing wrong?
Environment
I have a Raspberry Pi 4 ...
1
vote
1
answer
283
views
Turn on tv using cec-client on RPi3
Running latest Libreelec with latest Kodi on RPi3.
I can successfully turn off the tv using:
echo "standby 0" | cec-client RPI -s -d 1
and
echo "tx 10:36" | cec-client RPI -s -d 4
But turning ...
0
votes
1
answer
1k
views
TV no longer showing up on cec-client scan
I am using a Raspberry Pi model 3 as a simple signage display (web page through Chromium in kiosk mode) and have used cec-utils to manage on/off times for the TV. I have had this same setup for about ...
2
votes
0
answers
256
views
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 ...
1
vote
1
answer
2k
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 ...
1
vote
1
answer
755
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
2
answers
575
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 ...
1
vote
1
answer
641
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
0
answers
60
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 ...
3
votes
1
answer
580
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
1
answer
661
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
1
answer
894
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
1
answer
2k
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 ...
3
votes
1
answer
4k
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 ...
3
votes
2
answers
430
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?
3
votes
1
answer
3k
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 ...
0
votes
3
answers
141
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 ...
0
votes
2
answers
3k
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 ...
1
vote
1
answer
8k
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
1
answer
809
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
1
answer
3k
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
1
answer
4k
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
0
answers
507
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
...
5
votes
1
answer
3k
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
2
answers
469
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 ...