Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


HDMI-CEC Remote control
#5
I ran across this article that suggests all that needed is a CEC utils package.
https://timleland.com/raspberry-pi-turn-tv-onoff-cec/

sudo apt-get install cec-utils

Then CEC commands can be sent using one of the utils for example:

Turn tv on:
echo on 0 | cec-client -s -d 1

Turn tv off:
echo standby 0 | cec-client -s -d 1

Tv status:
echo pow 0 | cec-client -s -d 1

If someone wants to verify this actually works I'll include the package in moOde 4.3.

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
HDMI-CEC Remote control - by Badger - 08-26-2018, 07:41 AM
RE: HDMI-CEC Remote control - by Tim Curtis - 08-26-2018, 11:58 AM
RE: HDMI-CEC Remote control - by Badger - 08-26-2018, 07:37 PM
RE: HDMI-CEC Remote control - by rikardo1979 - 08-27-2018, 12:22 PM
RE: HDMI-CEC Remote control - by Tim Curtis - 08-27-2018, 03:28 PM
RE: HDMI-CEC Remote control - by rikardo1979 - 08-28-2018, 08:25 AM
RE: HDMI-CEC Remote control - by Badger - 08-28-2018, 07:39 PM
RE: HDMI-CEC Remote control - by rikardo1979 - 08-29-2018, 01:20 AM
RE: HDMI-CEC Remote control - by Tim Curtis - 08-29-2018, 01:57 AM
RE: HDMI-CEC Remote control - by Badger - 08-29-2018, 06:30 AM
RE: HDMI-CEC Remote control - by rikardo1979 - 08-29-2018, 12:17 PM
RE: HDMI-CEC Remote control - by shoefone - 07-17-2021, 08:27 PM
RE: HDMI-CEC Remote control - by DRONE7 - 08-29-2018, 08:29 AM
RE: HDMI-CEC Remote control - by Tim Curtis - 07-18-2021, 03:35 PM
RE: HDMI-CEC Remote control - by shoefone - 07-19-2021, 01:28 AM
RE: HDMI-CEC Remote control - by Tim Curtis - 07-19-2021, 02:12 AM
RE: HDMI-CEC Remote control - by shoefone - 07-25-2021, 10:34 PM

Forum Jump: