mpbzh / homebridge-plex

Plex plugin for homebridge: https://github.com/nfarina/homebridge
MIT License
58 stars 6 forks source link

2 Plex playes #4

Closed alexsalex closed 6 years ago

alexsalex commented 6 years ago

I have 2 Apple TV, and I want to add 2 HB-Plex. My config:

    "accessories": [
        {
            "accessory": "Plex",
            "name": "Living Room Plex",
            "host": "192.168.1.3",
            "plex_token": "123qweasdzxc",
            "filter": [
                {
                    "user": "Alex",
                    "player": "Apple TV LR"
                }
            ]
        },
        {
            "accessory": "Plex",
            "name": "Bedroom Plex",
            "host": "192.168.1.3",
            "plex_token": "123qweasdzxc",
            "filter": [
                {
                    "user": "Alex",
                    "player": "Apple TV BR"
                }
            ]
        }
    ],

The problem is if I watching Plex in Living Room both of the sensor is enabled. And if I start watching the Plex in Bedroom, both of sensors in Apple HomeKin works. How can I fix it?

alexsalex commented 6 years ago

[1/17/2018, 6:33:37 AM] [Bedroom Plex] Getting current state... [1/17/2018, 6:33:37 AM] [Bedroom Plex] There is one active session:

[1/17/2018, 6:33:37 AM] [Bedroom Plex] Plex is playing. [1/17/2018, 6:33:43 AM] [Living Room Plex] Getting current state... [1/17/2018, 6:33:44 AM] [Living Room Plex] There is one active session:

[1/17/2018, 6:33:44 AM] [Living Room Plex] Plex is playing.

mpbzh commented 6 years ago

This should not happen – thanks for reporting! I'll look into that.

mpbzh commented 6 years ago

@alexsalex, could you install v1.1.5 and confirm that this still is an issue?

alexsalex commented 6 years ago

So far so good. Testing, but looks like everything is good! Thank you!

mpbzh commented 6 years ago

Perfect! Feel free to reopen if the issues return.