I mention Harmony specifically because it will know the power state of your television at all times. There's a possibility that Harmony remotes are powerful enough these days that you can add in a sleep timer for your TV. After a certain amount of time from the last button press you can turn the TV off. If you are using an infrared remote to control the TV then you could have an infrared receiver that listens for any of the buttons from the remote. Is it a smart TV? Are you using the internal smart capabilities to watch content or something external like a Chromecast? If so you could potentially send a CEC command to turn it off. See this post if you need examples pulling SNMP values from your switch, there is some calculation + statistics contemplating needed: alias: Living Room TV Off If Nobody WatchingĮntity_id: re_switch_tv_port_out_mbps Here is the automation I am using currently: # - Turn Living Room TV off if no bandwidth for 20 minutes Open to ideas here, I am new to HA so I may be missing something obvious. I haven't figured out how to get around this yet since condition: blocks in automations apparently don't support for: blocks (I get an error when I try). Fortunately we occasionally just use a computer (input labeled Computer) but can turn off this logic for that and still catch most cases.Ĭaveats: If you're using the 'Computer' input for 20 minutes then switch over to something else, and don't start moving bandwidth immediately it will turn the TV off on you. If you use live TV, or a cable box, or play video games this won't work. This works for us since 99% of our use of the TV is streaming (locally or via the Internet). Monitor the bandwidth of the TV's Ethernet switch port and turn it off if it drops below 0.5 Mbps for more than 20 minutes. Basically the same as Netflix's "Are you still there message" but instead of clicking you just have to wave your arm.Īlternative or addition to a motion sensor that may be more accurate would be a couch pressure sensor to see if anyone is sitting on the couch. The LG tv also has a notify feature so you could send a notification before powering off to alert the watcher that if they dont move in 5 minutes the tv will turn off automatically. It wont be foolproof since if they are super still it may not get them, but if you set a long enough motion free check say after 20-25minutes (one short tv show's length) of no motion assume the room is empty or the person is asleep you could power the tv off. You could add a motion sensor to the room, point it at the couch so it can tell if someone is in the room potentiallywatching the TV or not. I'd have to mess around with my LG tv to figure this out because I don't know of anything off the top of my head to figure this out, but I'm not home now so I'll at least try to help with an alternative option:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |