Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Change TV Source over CEC
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Change TV Source over CEC
21st Apr, 2013, 06:12 AM
Post: #1
Scanto Offline
Registered
Posts: 11
Joined: Jan 2013
Reputation: 1
Change TV Source over CEC
Hi,

I wondered if it's possible to change the source of my TV over command line.

I'm controling xbmc with my cell phone so I don't need the remote of my tv anymore but I always need it to change the source on my TV.


In this thread http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=15749
I found the command

Code:
echo "as" | cec-client -s

this changed the source of my TV to HDMI where my raspberry is connected. But I couldn't find a command to change the source back to AV where my receiver is connected to watch tv again.

Could anybody help?
Thanks in advance.

Scanto
Find all posts by this user
21st Apr, 2013, 06:57 AM
Post: #2
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
Re: Change TV Source over CEC
dont think so this would be possible.
cec sending commands on active TV input or to switch TV ON or to right input where the cec device(RPi) is connected.
So to switch input on your TV to something else would required cec command from that device which is not possible in your case as you want to switch to TV tuner

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
1st May, 2013, 07:26 AM
Post: #3
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Change TV Source over CEC
if TV (signal) was active before you changed input, maybe sending "inactive source" command could work?

send is | cec-client -s

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
1st May, 2013, 08:22 AM
Post: #4
Scanto Offline
Registered
Posts: 11
Joined: Jan 2013
Reputation: 1
RE: Change TV Source over CEC
nope didn't work. but thanks for your help.

I'm thinking about connecting an IR transmitter to my RPi so I can switch the source with that.
And even control my receiver, and sound system, and LED lights, and... Smile
Find all posts by this user
1st May, 2013, 04:56 PM
Post: #5
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: Change TV Source over CEC
maybe this thread could help
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=15593

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
20th Jun, 2013, 04:36 AM
Post: #6
Isabel Offline
Registered
Posts: 8
Joined: Jun 2013
Reputation: 0
RE: Change TV Source over CEC
I never know this can be done, actually it's a rare option found here, it's really amazing, i'm going to try this. Thanks for all your discussion it becomes easier because of this.
Find all posts by this user
12th Apr, 2022, 01:25 PM
Post: #7
jimmydean Offline
Banned
Posts: 1
Joined: Apr 2022
RE: Change TV Source over CEC
But with so many options available, it can be a bit overwhelming trying to figure out which one is the best. wordle unlimited wordle
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 14th May, 2025, 06:04 AM Powered By MyBB, © 2002-2025 MyBB Group.