tavicu / homebridge-samsung-tizen

Homebridge plugin for Samsung TV's with Tizen OS
MIT License
638 stars 86 forks source link

Pause doesn't work #626

Open LeBrunton opened 1 year ago

LeBrunton commented 1 year ago

I'm able to turn on / off my tv using Siri. I'm able to pause my tv using the Apple Remote app, but I can't get Siri to pause the tv with 'hey siri, pause Tv'

tavicu commented 1 year ago

Hi. Siri is not able to do this.

What you could do is create a custom switch that calls command KEY_PAUSE, name it "Pause TV" and then maybe Siri will understand ...

https://tavicu.github.io/homebridge-samsung-tizen/features/switches.html

LeBrunton commented 1 year ago

I tried exactly that before I posted the issue. I added the following to the config:

"switches": [ { name": "Pause Tv", "command": "KEY_PAUSE" } ],

But it doesn't appear to work, or at least do anything I can tell 🤔

vick-elias commented 1 year ago

Hi

@LeBrunton i tried to use this KEY_PLAY_BACK and added it as a switch like this and it works maybe you could try

"switches": [
                        {
                            "name": "Pause TV",
                            "power": true,
                            "command": [
                                "KEY_PLAY_BACK"
                            ]
                        },
                        {
                            "name": "Mute TV",
                            "power": true,
                            "mute": true
                        }
                    ]

by default an accessory appears in the Home App with the name of the tv and the name of the switch and then I say for example, Hey Siri TV Lounge Pause TV and Siri performs the action