Jump to content


Photo

WebHooks


  • Please log in to reply
28 replies to this topic

#21 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4728 posts
  • Local time: 05:18 PM
  • LocationPeterborough, Canada

Posted 18 February 2020 - 09:12 PM

If it helps this request move forward I would love play and pause etc. broken out similar to how the Hue plugin works. I went through setting up Webhooks to get some automation for my Lutron lighting when I hit the same limitation I would imagine most others did. I would even be happy to pay for this plugin and I am sure others feel the same.


Link to lutron API please?
  • JustEric78 likes this

#22 JustEric78 OFFLINE  

JustEric78

    Advanced Member

  • Members
  • 128 posts
  • Local time: 04:18 PM
  • LocationDallas, TX.

Posted 18 February 2020 - 09:33 PM

Link to lutron API please?

Doing some searches and it appears that they do not release their API, there are a few github projects on it however. The link below is to an integration guide although, I do not know if it is accurate for the regular hub or just the pro hub. They do integrate with IFTTT however which was why I was pushing to have the current webhooks made more granular. I could just create a different webhooks applet for play, pause, resume, and stop. 

 

http://www.lutron.co...rary/040249.pdf



#23 JustEric78 OFFLINE  

JustEric78

    Advanced Member

  • Members
  • 128 posts
  • Local time: 04:18 PM
  • LocationDallas, TX.

Posted 18 February 2020 - 10:13 PM

I know it is not as much as the time that would go into it, but I have a $100 donation for the modification of the existing plugin to be broken down by event.



#24 AMMJ93 OFFLINE  

AMMJ93

    Member

  • Members
  • 10 posts

Posted 19 February 2020 - 06:22 AM

Yes, I meant it would be fairly simple for the developers to implement it (I think).

#25 JustEric78 OFFLINE  

JustEric78

    Advanced Member

  • Members
  • 128 posts
  • Local time: 04:18 PM
  • LocationDallas, TX.

Posted 25 February 2020 - 02:59 PM

Yes, I meant it would be fairly simple for the developers to implement it (I think).

 

I just posted a walk through on implementing this via a third party that was willing to set it all up for us.

 

https://emby.media/c...m-walk-through/



#26 pir8radio OFFLINE  

pir8radio

    NGINX

  • Members
  • 3519 posts
  • Local time: 04:18 PM
  • LocationChicago

Posted 12 March 2020 - 11:25 PM

Just trying to get more info on the webhooks plugin before I mess around with it...      Can it send webhooks based on emby notifications?    Like i would like to send a JSON string when "new media" is added that includes the message and media info.   The ability to use metadata fields to edit the JSON string however we want would be cool...  

 

something like:

{"content": "New Media Added: \n *mediaTitle* \n *mediaPrimary* \n *mediaOverview*"} 

New Media Added:

The 5th Wave

5e6afbd739e1b_Screenshotfrom202003122219

16-year-old Cassie Sullivan tries to survive in a world devastated by the waves of an alien invasion that has already decimated the population and knocked mankind back to the Stone Age.

 

 

 

So I can have it automatically post to my website, or facebook, or discord or whatever....


Edited by pir8radio, 12 March 2020 - 11:27 PM.


#27 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156809 posts
  • Local time: 05:18 PM

Posted 13 March 2020 - 01:55 AM

Not based on emby notifications, but rather based on the events you can choose in the webhook plugin settings.



#28 pir8radio OFFLINE  

pir8radio

    NGINX

  • Members
  • 3519 posts
  • Local time: 04:18 PM
  • LocationChicago

Posted 13 March 2020 - 09:12 PM

Not based on emby notifications, but rather based on the events you can choose in the webhook plugin settings.

 

Ok and that only fires a webhook right it doesnt send json data in the post with details?



#29 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156809 posts
  • Local time: 05:18 PM

Posted 13 March 2020 - 11:14 PM

Yes there is a json body with information about the event that happened.


  • pir8radio likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users