daleos
Posts: 1
Joined: Mon Jul 08, 2019 11:23 am

Turn Raspberry Pi on/off with TV

Mon Jul 08, 2019 11:33 am

My Chromecast turns on and off with my TV. It uses USB power from the TV for this to work.

I would like something similar from my Raspberry Pi 4 but as the power requirements of the Pi 4 are more than my TV's USB port can provide, is there another way I can do this? Is there a "wake on USB" function or some sort of project/board I could make/buy that could switch the Pi on and off whenever the TV is on/off?

Like I mentioned, the Chromecast does this by being connected to the USB port on the TV so I imagine I could use a USB port on the TV to signal the Pi (or some other device powering the Pi) to switch on.

drgeoff
Posts: 9366
Joined: Wed Jan 25, 2012 6:39 pm

Re: Turn Raspberry Pi on/off with TV

Mon Jul 08, 2019 7:02 pm

There is rather more to it than just removing power from the RPi. The OS should be shut down first.

Andyroo
Posts: 3327
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Turn Raspberry Pi on/off with TV

Mon Jul 08, 2019 9:20 pm

If the USB ports on the TV have power cut when the TV is turned of you may be able to cable the power from the USB via a level sifter to a Pi GPIO and when that changes you issue the power down command.
Need Pi spray - these things are breeding in my house...

Return to “Media centres”