General question about the architecture of webhooks

Hi - just started playing with webhooks to link media play events to my home automation system. A couple of questions/observations that I can’t find documented or talked about in forums.

  1. Is the triggering of a webhook a purely local event or does my server talk back to “plex central” and then plex central decides what to fire - I am not sure why this would be a required or even desirable thing and in my case - all my home automation stuff is local and I don’t want/need to go outside my network.

  2. Some events seems very slow to propagate - the (1st event) seems instant - sometimes the 2nd (imagine media play, media pause) about 30 secs apart for testing - i then stop playing - the media stop event seems to take up to 2 minutes to be issued - but if I play something again in the intervening two minutes then the pending stop sometimes is issued and the new play event is the one that is “waiting”.

Number 2 is not very scientific I realise - but the behaviour seems random and is possibly linked to 1 - and could therefore be explained by internet response time or load at “plex central”

Any thoughts or insights gratefully received.

Thanks

Hi
I have the same questions than you: very slow webhook to do automation.

Have you new informations since last year?
Regards

Chiming in on this discussion - any luck? :stuck_out_tongue: I just tried to get Webhooks working with NodeJS and the first 2-3 events fire fine, then they just…don’t seem to show up.