Closed fillmoreracer closed 2 years ago
Hi @fillmoreracer ,
So if I understand correctly, when you turn off the Apple TV you set it to turn off the TV with the help oe HDMI-CEC. If this is correct then it's not related to the homekit and any plugin will not be able to help you achieve what you want.
An option, i think (don't know if it's working) will be to disable the HDMI-CEC functionality so it will not turn off the tv and then if you could get the Apple TV status (this is what i don't know if it's possible) in the HomeKit, to create an automation that when Apple TV goes off to turn Art Mode switch ON.
@tavicu Homekit automations can not query the status of the Apple TV (as of yet). So, as far as I am aware, the only way for the Apple TV to control the power of the TV is via hdmi cec. Are you able to test my configuration (Samsung Frame with an Apple TV) with your plugin?
Unfortunately i don't have a Frame to test it. But from what you described to me it's not related to Homekit but how Samsung interprets the turn off command from HDMI-CEC (it doesn't matter if it's Apple TV, Xbox or a Playstation). And i don't think you can do anything regarding this :(
A quick search on google on how to automate things based on Apple TV status got me this: https://www.reddit.com/r/HomeKit/comments/l7keim/is_there_a_way_to_trigger_a_homekit_automation/ You could check it and try :)
The problem with adding another plug in to query the power state of the Apple TV is that the hdmi cec command to power on would also need to be addressed. Any other ideas to make an hdmi cec power off command trigger art mode on?
Sorry but no other ideas :(
You could write to Samsung (i think they need to add an option to select what you want to do when power off triggers). But i won't put much faith on it ...
Thank you so much for creating this plugin! I have searched through all of the issues for your plugin and haven’t found a similar instance to what I am encountering.
I have two Samsung tizen tv’s, one is a frame tv, both are connected through your plugin. The frame tv has only one device connected via hdmi, an Apple TV 4K. I use the Apple TV remote to power on/off the frame tv. This works fine out of the box. I’m trying to configure your plugin so that when the Apple TV powers off the frame tv (using the Apple TV remote), the frame tv will go to art mode instead of a power off state.
In the homekit home app, if I create an automation that says, “if the frame tv turns off, turn on frame tv art mode” it seems to work, however, randomly while using the Apple TV to watch anything, the plugin senses a “power off” trigger somehow and sends the frame tv into art mode. I’ve tried configuring the different frame tv specific toggles for displaying/controlling “real power” vs “art mode power”. All seem to behave similarly.
I would like the Frame TV’s CEC hdmi power off signal from the Apple TV, to put the frame tv into “art mode” instead of “power off”, without using the physical Samsung remote control. I think I’m describing this accurately, but please correct me if I am wrong. I really wish Samsung would have just included this in the programming of the tv (art mode instead of off), just like the art mode button on the physical Samsung remote control.