Created
May 30, 2014 21:09
-
-
Save ludwigm/5d51b6ae823d045ed1db to your computer and use it in GitHub Desktop.
CEC commands usable by raspberry pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# libcec compile tutorial: http://nyxi.eu/blog/2013/04/15/raspbian-libcec/ | |
# switch off TV | |
echo "tx 10 36" | cec-client -s | |
# switch on TV | |
echo "on 0" | cec-client -s | |
# or | |
echo "tx F0 36" | cec-client -s | |
# switch to raspberry source | |
echo "as" | cec-client -s | |
# switch to a specific HDMI source (source 4 here) | |
echo "tx 1f 82 40 00" | cec-client -s | |
# build own command: http://www.cec-o-matic.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment