homebridge-bravia-tvos
homebridge-bravia-tvos copied to clipboard
Sleep Timer Presets
Launching the "Timers" app via this plugin's TV accessory displays this, which is great, a step in the right direction!
But then I need to switch to the Sony remote to actually select one of the options. So I was thinking, how great would it be if these options could be exposed as preset distinct commands, in HomeKit?
Gamechanger! The possibilities are endless :)
Added in 4.1.2. Simply create the right macro with the right commands to achieve the desired result
This is fantastic! Again, thanks so much. I am now trying to create some working "sleep timer" macros, that don't exit the screen I'm watching.
Unfortunately, at least on my my Bravia TV model, invoking the Sleep timer isn't possible from the Action/Top Menu.
I don't see a way to launch the "Timers" application via a macro command, I can only launch it by adding it under "Applications."
I tested some other commands, but the "Sleep" command puts the TV to sleep immediately and "SleepTimer" command just turns off the Sleep Timer off.
If I can somehow launch the Timers app within the macro, I can handle the rest via "Up" and "Confirm" commands. I do see some apps listed there, but not the Timers app. And I see "PartnerApp1" all the way through "PartnerApp16." Can these be customized, or is there a way to add "Timers" to the available list of apps/commands that can be strung together in a macro?
Hello @Fofer
The custom ui offers you all the applications and commands your TV can handle. If there is no application or command to open the timer list, there is no way for me to create one.
Yes, perhaps my wording wasn't clear. The application is called "Timers."
This application appears in the Applications list. I can invoke it from there, and it works. That's how I got to the screenshot in the first post of this report.
This application does NOT appear in the Commands list so I am not able to string it together in a Macro.
What are these PartnerApps? Can I use one of these slots to launch the "Timers" app?
Or can Macros be configured, to include an Application launch, followed by a series of Commands?
@Fofer
It seems your tv has also ircc commands to open partner. What kind of apps these are idk.
Thats nothing what i have coded. The plugin just lists everything what your tv offers
Ok I understand.
So is there a way for me to create a macro that first launches the Timers app, and then issues these commands : up + up + enter?
Because right now the only way I can do is is with two separate commands, the first being an app launch and the second being a macro.
Hi, just to add more information for anyone following along. I've managed to use the iOS "Shortcuts" app to string together the separate commands that this plugin offers to HomeKit.
The first step of my Shortcut automation sends the "Launch Timers App" command to the Sony TV. Then it waits a second, and sends the Macro command sequence of "down, DpadCenter, Up, Up, DpadCenter, TV, Sleep Timer." The last two commands exit the Timers app, and display the Sleep status in a small label at the bottom of the screen. The end result is a shortcut that puts my TV into 30 minute sleep mode. Via iPhone tap or Siri voice command.
It would be great if "app launches" could be included with "Macro" command sequences via this Homebridge plugin to start. Then Macros would be infinitely more powerful and could be used inside apps, while being natively accessible via the iOS Home app too.
Happy to share that saving this combination shortcut to my iOS home screen is a suitable alternative in the meantime.
Thanks again for your great work on this, @SeydX.
Maybe I will revise the macros for the next version so that you can also open apps/channels and even set the "delay" between commands
Oh wow that would be AMAZING! It would open up all sorts of new possibilities because then macros could easily be used inside apps we launch. Thanks for the consideration and your excellent continued work on this absolute game-changer of a plugin. Happy holidays.