[Webhook] Player connect/disconnect

I was looking through the webhook documentation, but couldn’t find the correct webhook.

I want to send a webhook when a certain device opens/ closes the plex client. This way I can automatically start moodlights.

I think that I can see if a device connects with “device.new”, But I can’t find a webhook for closing a client. “media.stop” doesn’t work, because if you watch the next episode the light would go on and off again

Thanks in advance

Anyone?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.