Server migration complete, Welcome to version 2.1.1



Welcome, Guest.
Please login or register.
Forgot your password?

+-Site Stats

Total Members: 16397
Latest: Markr90
New This Month: 0
New This Week: 2
New Today: 0
Total Posts: 132079
Total Topics: 16371
Most Online Today: 68
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 3
Guests: 58
Total: 61

How to Turn a TV on and off from FPP via HDMI

Started by vcuncg, August 24, 2019, 10:40:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


I did not see anything about this on the forum, so I figured I would share this in case others might find it useful (sorry if it is a repeat).  I wanted to build a P5 tune-to sign, but did not have the time this year, so I decided to try a fairly inexpensive 32" TV with HDMI CEC control ($99 at Wal-Mart).  Since I do not want the TV on all the time, I needed to turn it on and off either by schedule or with the show.  This may be old-hat to others, but I was glad to find the process and wanted to share:

Step 1: SSH into the FPP and run the following command to get the CEC Utilities
sudo apt-get install cec-utils

Step 2: Run the following commands to turn the TV on or off:
Turn ON type: echo on 0 | cec-client -s -d 1
Turn OFF type: echo standby 0 | cec-client -s -d 1

I now have these in two separate script files that run at the start and end of the show:
echo on 0 | cec-client -s -d 1
echo standby 0 | cec-client -s -d 1

The commands were found at the following site along with a few other notes.

Hope this can help others this year as we hit crunch time!  Good luck to everyone on their shows.


Aaron Maue


Support FPP

+- Recent Topics

strang text behavior with all modell by Poporacer
Today at 07:13:42 AM

Playing video to Monitor on RPi4 by TomsLEDs
February 29, 2024, 10:08:20 PM

Problem with images in playlist. by CaptainMurdoch
February 29, 2024, 08:56:43 AM

Choosing P4 Panels / Colorlight by CaptainMurdoch
February 29, 2024, 08:52:41 AM

Struggling with media playback sync by MichaelD
February 27, 2024, 03:40:10 AM

Live video with xLights and Falcon Controllers by Laser Falcon
February 24, 2024, 01:20:52 PM

Waveshare 7" Screen by skulltronix
February 23, 2024, 03:36:17 PM

Need to expand by darylc
February 22, 2024, 11:41:01 PM

reviving a bbb on an octoscroller by starsman20
February 22, 2024, 04:34:23 PM

FPP After Hours Music Plugin has been updated by MikeKrebs
February 21, 2024, 10:24:39 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod