Jump to content

Webhooks - seperate events


CashMoney

Recommended Posts

CashMoney

Webhooks are currently limited*. The events are grouped rather than being usable as separate events within a group.

For example you can create a webhook based on playback events (plural) as opposed to "a" playback event (singular) such as 'playback start'.

 

My scenario for this would be to dim my lights during playback events, say 20% on Playback Start/Resume, 50% on Playback Pause, 100% on Playback Stop. But without Emby providing hooks into those individual events this isn't possible without plugins which are usually tailored for specific home automation systems.

 

Hence I'm posting here; I've noticed more than one post about this in more than one thread in the past few days of my limited searching for info in regards to automation. Rather than a few random posts within other threads, I thought I'd make a feature request post so you can see how much interest their may (or may not) be for this.

 

 

*unless I'm not understanding, in which case ignore/delete this :P

  • Like 4
Link to comment
Share on other sites

JustEric78

Webhooks are currently limited*. The events are grouped rather than being usable as separate events within a group.

For example you can create a webhook based on playback events (plural) as opposed to "a" playback event (singular) such as 'playback start'.

 

My scenario for this would be to dim my lights during playback events, say 20% on Playback Start/Resume, 50% on Playback Pause, 100% on Playback Stop. But without Emby providing hooks into those individual events this isn't possible without plugins which are usually tailored for specific home automation systems.

 

Hence I'm posting here; I've noticed more than one post about this in more than one thread in the past few days of my limited searching for info in regards to automation. Rather than a few random posts within other threads, I thought I'd make a feature request post so you can see how much interest their may (or may not) be for this.

 

 

*unless I'm not understanding, in which case ignore/delete this :P

 

I saw your like on my thread in home automation so I am assuming you are walking through that setup. Hit me up if you need any help getting it working, I have been very happy with it so far and have not seen any kind of delay. 

 

edit: adding a link to that thread in case anyone is searching for a solution to this in the future. 

 

https://emby.media/community/index.php?/topic/82998-webhooks-free-method-to-trigger-different-ifttt-applets-using-httpssequematiccom-walk-through/

Edited by JustEric78
  • Like 1
Link to comment
Share on other sites

JustEric78

This is a suggestion for the plug-in, correct?

 Yes it is @@ebr, there are a few posts floating around asking for the same. 

  • Like 1
Link to comment
Share on other sites

CashMoney

 Yes it is @@ebr, there are a few posts floating around asking for the same. 

With services like Sequematic (thanks @@JustEric78, never even knew about Sequemtic till now!) and IFTTT, and programs like Tasker on android and others, if we had access to separate individual events to call on, in theory you wouldn't need individual plugins to create automated responses for different automation systems. The webhooks plugin is great/a great idea; it just needs expanded functionality for real use IMHO.

  • Like 1
Link to comment
Share on other sites

  • 2 months later...
Anthony Musgrove

Sorry to butt in on this one, but it gave me inspiration for further webhook functionality; so this is configured to submit a webhook call when a playback item is more than 90% complete.  To prevent it sending multiple, you could add another condition for less than 92% complete as well, so it would only submit the hook when playback progress is between 90 and 92%.

 

5ec3d85fbd02e_PlaybackProgressWebHook.pn

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...