Hello there,
I have installed openHab 2 on my linux server few days ago. I coupled my heating controllers as well as my philips hue system to openhab. Everything is working fine.
At the moment, I am working at telephone ringing events. I want to pause my sonos system (if it is playing) as well as my plex client in living room (if its playing) when someone is calling me. After that when the call is finished I want to resume the playback. For sonos it is working perfectly. But for Plex there is one problem I am facing at. I can see all the information of my Plex Client. What it is playing, if it is playing, the progress is also showing. But I have no possibilities to control the client. I my case I want to pause/stop the playback and then I want to resume it.
I assume that my plex.cfg is correct. I got my token and so on. I have all the items from the bindings wiki (Plex-Binding.
Dimmer PlexTVVolume "Volume" <video> {plex="2v7etrpwhanxxxxxxxxxx#playback/volume"}
Switch PlexTVPause "Pause" <video> {plex="2v7etrpwhanxxxxxxxxxx#playback/pause"}
Switch PlexTVPlay "Play" <video> {plex="2v7etrpwhanxxxxxxxxxx#playback/play"}
Switch PlexTVPlayPause "PlayPause" <video> {plex="2v7etrpwhanxxxxxxxxxx#playback/playpause"}
Switch PlexTVStop "Stop" <video> {plex="2v7etrpwhanxxxxxxxxxx#playback/stop"}
Frame label="Plexsteuerung" {
Switch item=PlexTVPlayPause
Switch item=PlexTVPlay
Switch item=PlexTVPause
Switch item=PlexTVStop
Slider item=PlexTVVolume
}
But when I am triggering for example the PlexTVPause Switch, nothing happens. And after a few seconds the switch is triggered again to its previous state. So I think with that logic I am not able to control my Plex Client.
What can I do to control my Plex Client? Has anybody a working solution for me?
With best regards from Germany