08-27-2018, 03:28 PM
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
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