CashMoney 94 Posted February 25, 2020 Posted February 25, 2020 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 4
JustEric78 24 Posted February 25, 2020 Posted February 25, 2020 (edited) 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 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 February 25, 2020 by JustEric78 1
ebr 15433 Posted February 26, 2020 Posted February 26, 2020 This is a suggestion for the plug-in, correct? 1
JustEric78 24 Posted February 26, 2020 Posted February 26, 2020 This is a suggestion for the plug-in, correct? Yes it is @@ebr, there are a few posts floating around asking for the same. 1
CashMoney 94 Posted February 27, 2020 Author Posted February 27, 2020 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. 1
Anthony Musgrove 205 Posted May 19, 2020 Posted May 19, 2020 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%. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now