I just installed a couple of more Govee lights in our family room. Some strip accent lights and the TV lights that will adjust based on what is on the screen. We only want the TV lights to come on when the TV is being used. But and this is a big but, it must be done when the TV is turned on via IR remote and the lights must turn off when the TV is turned off.
Every YouTube video or other blog out there (I talking to you Paul Hibbert) uses a lighting scene from Alexa or a Dashboard to turn on their TV's and lights and then the remote to control the TV. First off I do have the lights connected via WiFi network, I didn't opt into Matter and this model doesn't support the LAN API. I can control the lights with the excellent Govee Integration 2.0. So at least I know I can control via Hubitat.
In the past I would have use my Harmony hub as the method but that went into the graveyard about a year ago. And I thought about my X1 Sofabaton remote which is also network connected but darn I can't find any integration information from them on their web site. Even Home Assistant has to hack the X1 into their platform.
My next thought was the Broadlink IR hub and a compatible remote. Question is does it support commands coming into its base station from a remote and then send those events to the Hubitat with the community written driver? Then I could activate the TV backlights.
What about plugging the TV into a Zigbee or ZWave plug with power reporting? I think you would be able to have HE rules to turn lights on when there is a power draw and off when it stops?
Yep I was thinking about that also. The Govee string remembers the last setting between power cycles. I was wondering how much stress power cycling puts on the lights and controllers.
I also found a community Roku driver here and this is a Roku TV not just a Roku Stick. I just installed it on my development hub to see what I can get out of it. It may be the solution I am looking for.
Thanks I have two spare third reality with power reporting I will set up a test bench to see what the off vs. on values are and write a rule in rule machine. I found the Roku driver to be complete but TV's never "power off" they go into standby which reports as powered on.
What @UserSeventeen said for RokuTV. If Samsung or LG download the HE apps for those devices and connect to your TV. If something else, the power monitoring outlet should do it - TV uses more power when on than in standby.
FYI - I use the HE Samsung app and have all sorts of things trigger in HE when the TV is turned off, and have some HE rules that trigger turning on the TV in art mode...it could just as easily be turning on the TV in regular mode, or the trigger could be turning on the TV....
I have installed the Roku app. On the TCL TV there are two options in power savings, one turns the TV fully off and it takes about 30 seconds to startup and the other is a "Standby" we use the Standby and using off on the remote leaves the status of the TV in Hubitat as powered on.
Between 6:58 and 11:04 I powered off via remote and you can see there is no power event in the logs: