I am having a bit of a problem that I cannot quite solve.
I have three TVs (non-smart) that each have a Firestick attached.
We seem to have a bit of an issue whereby, after five minutes, the Firesticks turn the screen black and then nobody realises that the TV is left on for hours.
I am trying to find a way that the Firestick can turn the TV off, rather than make the screen go black.
My initial thought would be a smart switch on the TV’s socket but I am not sure it is particularly good for a TV to be turned off that way.
I (think) it should be fine to use a smartplug, if you can fit it of course. Or use a smartsocket.
You could also use a IR receiver (like those tuya/moes ones or the rf broadcom (no experience with those), get a remote that works in the app, get a button for on/off and put that as a scene in HA.
The IR receiver idea is really interesting, combined with the Android TV integration - i.e. if HA can tell that the Firestick that it has been idle for, say, 5 minutes, it can then send a signal on the IR receiver to turn the TV off.
Then, when HA receives anything but idle from the Firestick, it can then turn the TV back on.
Annoyingly, none of the TVs appear to turn off if they have no source - which is really odd.
One quick issue, though, with IR - as the same signal is used to switch between on and off (as opposed) to a separate signal for each, is there a possibility for a circumstance whereby the opposite starts to happen if someone turns off the TV manually? If that were the case, might I need some way for HA to sense whether the TV were on already?
We use chromecasts in our household. I use ir to power on the TV and androidtv to turn off the smart TV that doesn’t have CEC. But i found a discreet On for that TV, no discreet off.
Dumb TV… Makes it abit harder… Power monitoring smart plug, to supply power usage might help.
I ordered one of these to control my sons TV.
The plan is to use the IR transmitter to send the power button, and I will use one of the available GPIOs to read the voltage of the USB port of the TV to see what state the TV is in.
That way I can use this as a condition to not send power off if the TV is off already.
Hmm this looks interesting. Do you have an existing ESPhome template for this already? I don’t see where the USB port is on this thing? Does it go from thisdevice->subpart to tv->subport ?
I used to use the USB sensing on an old TV but when I replaced it, the new one’s USB is on all the time, even when the TV is on standby. I use a cheap wifi plug (Athom) running ESPhome to determine if it is on.