iharosi / homebridge-plex-webhooks

Plex Webhooks Server plugin for Homebridge
GNU Affero General Public License v3.0
48 stars 6 forks source link

Cannot make it work #32

Closed LaurentCole closed 1 year ago

LaurentCole commented 1 year ago

Hi, I have installed the plug-in and configured it. Webhook in Plex is also configured.

I have Homebridge on a Mac with every other plug-ins working fine.

Is there something I do wrong.

Thx for your help.

Laurent

Here's my configuration :

{
    "name": "Plex Webhooks Platform",
    "sensors": [
        {
            "name": "Plex actif",
            "filters": [
                [
                    {
                        "path": "user",
                        "operator": "===",
                        "value": "laurentcole"
                    }
                ]
            ]
        }
    ],
    "server": {
        "port": 32401,
        "address": "192.168.1.43"
    },
    "verbose": true,
    "_bridge": {
        "username": "0E:07:39:94:AE:D9",
        "port": 59415
    },
    "platform": "PlexWebhooks"
}
LaurentCole commented 1 year ago

You're talking about Payloads, is there a file I choose create and put somewhere with the Plex Payloads or is it included in your plug-in ? Thx

iharosi commented 1 year ago

Could you please share some log from homebridge? We need to find out if the plugin can reach your Plex server.

LaurentCole commented 1 year ago

Hi, here's the log :

[7/19/2023, 7:03:26 AM] [Plex Webhooks Platform] Initializing PlexWebhooks platform...
[7/19/2023, 7:03:26 AM] [Plex Webhooks Platform] Found 1 accessory, Plex actif in config.
[7/19/2023, 7:03:26 AM] [Plex Webhooks Platform] Updating accessory [Plex actif] (9b2388d6-25da-43ea-82d5-333fb8b11d2e)
[7/19/2023, 7:03:26 AM] [Plex Webhooks Platform] Server is listening at http://192.168.1.43:32401
iharosi commented 1 year ago

Updated your comment, I removed what's not relevant for us. It would be better if you could turn on debug mode for this particular plugin and do a start/pause sequence with your Plex player and then copy that part of your log here. You can find timestamp in the log which can help you identify which part is relevant for us. With that maybe we can solve your issue.

LaurentCole commented 1 year ago

Sorry, but I'm a newbie, how do I turn on debug mode. Thx

LaurentCole commented 1 year ago
Capture d’écran 2023-07-20 à 19 52 46

Is this correct ?

LaurentCole commented 1 year ago

Hi, I have only these entries in Homebridge console in Debug mode My Plex Webhooks is properly configured with http://198.168.1.43:32401

[7/21/2023, 11:34:47 AM] [Plex Webhooks Platform] Initializing PlexWebhooks platform... [7/21/2023, 11:34:47 AM] [Plex Webhooks Platform] Found 1 accessory, Plex actif in config. [7/21/2023, 11:34:47 AM] [Plex Webhooks Platform] Updating accessory [Plex actif] (9b2388d6-25da-43ea-82d5-333fb8b11d2e) [7/21/2023, 11:34:48 AM] [Plex Webhooks Platform] Server is listening at http://192.168.1.43:32401

LaurentCole commented 1 year ago

My BIG mistake, I forgot to check the box under network in Plex to activate Webhooks. Working fine now. Thx anyway for your answers. I'll get back to you if I need for more other help. Cheers.

iharosi commented 1 year ago

Cool, thanks for letting me know. Have fun!