Consumer Electronics Control - Using a remote control to control devices through HDMI
Questions tagged [hdmi-cec]
32 questions
13
votes
1 answer
HDMI CEC on Android
I've been facing a problem to access to HDMI CEC on this Android dongle.
I'm trying to turn on the tv and change the input source of the tv but I was unable to do it.
Android API Approach
I'm running a system app and I have settled

Eduardo Pinheiro
- 3,409
- 3
- 30
- 39
9
votes
1 answer
Use libCEC + USB dongle in Android app
My goal is to send HDMI CEC commands from a standard (i.e non-system) app running on an Android box equipped with Pulse-Eight's USB dongle.
Following these instructions I successfully managed to compile libcec for Android and execute it as root on…

sdabet
- 18,360
- 11
- 89
- 158
5
votes
2 answers
Detect changes in power status of a TV connected to an Android device via HDMI
I'm building an Android media player application that I intend to use to play media (videos, pictures, etc.) on a TV while connected via an HDMI cable.
I want to have the media player app pause when the TV's power status is OFF and want it to play…

Raunaqss
- 1,265
- 12
- 17
4
votes
1 answer
HDMI CEC command for shutdown not working on Android
I am sending HDMI CEC command to Power on and Standby my LG LED TV 2015 make. The device is a Amlogic S922x based SBC running Android 9. The Power On commands work but the Standby commands don't. Can someone tell me what is wrong with this?
Power ON…

Debasish Mitra
- 1,394
- 1
- 14
- 17
4
votes
2 answers
HDMI-CEC Android TV turn-off TV
I have a Android TV box and I would like to use HDMI-CEC to turn on and off my TV, I'm using android shell commands to power on tv like: 'echo 0x40 0x04 > /sys/class/cec/cmd' and it works ok.
But when I use 'echo 0x40 0x36 > /sys/class/cec/cmd' to…

Juan Isaac Huertas
- 43
- 1
- 6
3
votes
0 answers
Turn off (Stand by) android tv using HDMI CEC command is not working with Amlogic MBOX
I am trying to turn off my samsung tv through android app using HDMI CEC for android i used Amlogic MBOX
Samsung Tv HDMI CEC already turned on.
Amlogic MBOX HDMI CEC also turned on.
Code snippet how i execute command in android
fun…

Vishal Bhimporwala
- 59
- 2
- 12
3
votes
1 answer
How to send HDMI-CEC commands from Amlogic 905x board to the TV using sysfs
I want to send raw HDMI-CEC commands (adb shell) from an Amlogic 905x ARM board (Android 6) to test the functionality. The board is rooted (tested, 'adb root' works) and connected to a TV with CEC capabilities (enabled, tested with video game…

orouwk
- 355
- 3
- 13
3
votes
2 answers
2
votes
0 answers
HDMI CEC not working when switching to TV 0.0.0.0 using iobroker docker, node red, and pulse eight adapter
I am attempting to control my HDMI CEC-enabled devices using iobroker running in a docker container on my pc, along with node red and the node red cec plugin. I am using a pulse eight adapter to facilitate communication between the devices.
I have…

Unregistreirt
- 21
- 3
2
votes
1 answer
Why is my input source not changing when I send the 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 running Raspbian plugged into a Vizio TV. I've…

UrsineRaven
- 56
- 1
- 7
2
votes
0 answers
Control TV from Android app through HDMI CEC
I am trying to control (volume control and perhaps on/off) a Samsung TV over CEC from an Amlogic Android box.
The Android docs explain the theory of it but there is no actual code to implement, I have seen users communicate through cmd commands in…

sgtpotatoe
- 340
- 6
- 17
2
votes
0 answers
HDMI-CEC Working on some commands using adb
I have mecool tv box connected with hdmi and samsung tv connected as well. when i gave standby command using adb my tv goes to standby but when i gave any other commands it can't work.
e.g
# echo 0x40 0x36 > /sys/class/cec/cmd
this command working…

Zaigham Raza
- 364
- 2
- 3
- 14
1
vote
0 answers
How to get libCEC for Python (PyCharm on Windows)?
I am unfortunately an absolute beginner in programming.
First of all, I'm programming with the PyCharm IDE on a Windows computer, but the script will later run on a RaspberryPi.
I want to turn on my TV with a Python script via HDMI-CEC and I came…

ODE4
- 11
- 2
1
vote
0 answers
Android system apis using reflection
HDMI CEC on android
Hello in regard of the above post I have some questions Please first go through the above mentioned link.
Reflection has been used to access the HDMI cec apis in android I want to send power ON/OFF command through android tv…

Sameer Meena
- 11
- 3
1
vote
1 answer
Raspberry Pi turn on AV Receiver CEC
I have an AV Receiver that I want to turn on from standby using cec-client on raspberry pi. The physicall setup is as follows:
RPI --HDMI--> AV Receiver
TV <--ARC_HDMI--> AV Receiver
Scanning my HDMI devices with echo "scan" | cec-client -s -d 1 I…

Charles David Mupende
- 145
- 2
- 7