Thanks for sharing this, I knew this could be done but it's been at least 10 years since I messed with libcec and I was hoping someone had already done this for FPP
I was a little shocked their wasn't a command or script already made. I need to learn how to add to the fpp script repo so this is available for more people.
Thanks for sharing this, I added a TV to my display this year. The 'On' script on the Google drive still references the "standby" command, easily changed to "on" and everything works for me. Also the comments below on the Falcon smart receivers.... these do not run the FPP player software. They connect directly to Falcon hardware controllers. FPP has to run on a SBC of some sort.
Thanks for this video, it's the closest I have found to what I am trying to do. TVs used to have a "last state power on" feature. We have a security Monitor in a lobby that we want to power on when we flip the switch on for the lights so no one has to find the remote (yes, completely dummy proofing). I'm looking for a device (even if i have to do it myself) that will power on the tv with CEC commands since tvs don't have this feature anymore. Basically, if X in-line HDMI device receives power, send power on command, and vice versa. Could anyone point me in the right direction?
I thought this would work, as another CEC utility script that I found wasn't making it happen. When I run the Standby script, the TV powers off. However, the On script will not turn on the TV. And, yes, I changed the wording in the On script to say 'on' and not 'standby' (as another commenter said, both scripts in your Google drive tell the TV to go to standby). Sadly, this isn't working for me, so I'm doing workarounds this year. However, thanks for doing this work. I appreciate your videos!
You may want to check the TV's settings as Energy saving modes can cause issues with how standby works with CEC commands raspberrypi.stackexchange.com/questions/100053/cec-client-turns-tv-off-but-not-on-again Thanks for pointing out the issue with the script, that should be updated as well.
@@fppshorts A 55" Hisense I bought from Costco because it was < $300 and was one of the lightest I could find (I mounted the TV in a box I made and hung it over my single garage door).
@FPP Shorts awesome although I've already got a heap of them using them this year. Just mentioned it because there has been a few question asked about them on various xlights forums and when I searched couldn't find any videos explaining them to post a link to
I keep my resolution pretty low and don't actually run any MP4 or other video files. They are all within an FSEQ file like any other sequence. You should be able to run almost any video file from the zero. I use mine for Tune-To signs so they are pretty "light weight"
thanks, I have not done scripting in fpp - I have mulktiple CEC devices I want to control can I just add multiple lines of the /usr/bin/curl in the remote run script?
I guess I am not following your question 100%. If you are wanting to put the script to turn the CEC device On/Off on the master controller, their would be a bit more work that has to go into it for it to run a bash script that is in the URL. It would probably be easier just installing the script on the remote device, and calling that script to be ran by the master.
IF the echo 'scan' | cec-client -s -d 1 command never comes back does that mean my device is not CEC compatible? I have a Pi 4B trying to control a projector
Sorry it took so long to respond. Was a busy summer. If you don't get any response back, try swapping for a different HDMI cable. If you still don't you should be able to look up the model of TV you have and see if that is deep in the specs somewhere.
Thanks for sharing this, I knew this could be done but it's been at least 10 years since I messed with libcec and I was hoping someone had already done this for FPP
I was a little shocked their wasn't a command or script already made. I need to learn how to add to the fpp script repo so this is available for more people.
Thanks for sharing this, I added a TV to my display this year. The 'On' script on the Google drive still references the "standby" command, easily changed to "on" and everything works for me. Also the comments below on the Falcon smart receivers.... these do not run the FPP player software. They connect directly to Falcon hardware controllers. FPP has to run on a SBC of some sort.
I got the script fixed and thanks for pointing that out.
Thanks for this video, it's the closest I have found to what I am trying to do. TVs used to have a "last state power on" feature. We have a security Monitor in a lobby that we want to power on when we flip the switch on for the lights so no one has to find the remote (yes, completely dummy proofing). I'm looking for a device (even if i have to do it myself) that will power on the tv with CEC commands since tvs don't have this feature anymore. Basically, if X in-line HDMI device receives power, send power on command, and vice versa.
Could anyone point me in the right direction?
I thought this would work, as another CEC utility script that I found wasn't making it happen. When I run the Standby script, the TV powers off. However, the On script will not turn on the TV. And, yes, I changed the wording in the On script to say 'on' and not 'standby' (as another commenter said, both scripts in your Google drive tell the TV to go to standby). Sadly, this isn't working for me, so I'm doing workarounds this year. However, thanks for doing this work. I appreciate your videos!
You may want to check the TV's settings as Energy saving modes can cause issues with how standby works with CEC commands
raspberrypi.stackexchange.com/questions/100053/cec-client-turns-tv-off-but-not-on-again
Thanks for pointing out the issue with the script, that should be updated as well.
I'm pretty sure I checked my power & Eco settings, but that's something I can check. I sure appreciate your help.
@@baughhumbuglights8860 Worth a check. What kind of TV is it?
@@fppshorts A 55" Hisense I bought from Costco because it was < $300 and was one of the lightest I could find (I mounted the TV in a box I made and hung it over my single garage door).
@@baughhumbuglights8860 Did you ever get it to work?
Thank you for this content! I have a probably stupid question. Would the address change if you swap the monitor or projector plugged in to the Pi?
If you change devices, you will want to run the identify script process again. It probably wouldn't change, but there is a chance it could.
You should do a video on the Falcon V4 smart differential receivers, there isn't any out there for the V4s
I don't have any of the new receivers but will pick some up just for you, and maybe next year's show. 😉
@FPP Shorts awesome although I've already got a heap of them using them this year.
Just mentioned it because there has been a few question asked about them on various xlights forums and when I searched couldn't find any videos explaining them to post a link to
Do you have trouble syncing hi def video on the zero to the main player sequnces? It has enough horsepower for that?
I keep my resolution pretty low and don't actually run any MP4 or other video files. They are all within an FSEQ file like any other sequence. You should be able to run almost any video file from the zero. I use mine for Tune-To signs so they are pretty "light weight"
thanks, I have not done scripting in fpp - I have mulktiple CEC devices I want to control can I just add multiple lines of the /usr/bin/curl in the remote run script?
I guess I am not following your question 100%. If you are wanting to put the script to turn the CEC device On/Off on the master controller, their would be a bit more work that has to go into it for it to run a bash script that is in the URL. It would probably be easier just installing the script on the remote device, and calling that script to be ran by the master.
IF the echo 'scan' | cec-client -s -d 1 command never comes back does that mean my device is not CEC compatible? I have a Pi 4B trying to control a projector
Sorry it took so long to respond. Was a busy summer.
If you don't get any response back, try swapping for a different HDMI cable. If you still don't you should be able to look up the model of TV you have and see if that is deep in the specs somewhere.
Why would the CEC-Utils installation fail? "E: Unable to locate package cec-utils"
I got it to work. It was the browsers response to the paste command. It added some characters?
@@pauldibley7457 good catch. Glad you got it to work