Bmoney003 0 Posted March 17, 2021 Share Posted March 17, 2021 Hi everyone, I noticed the webhook plugin. I would like to create a webhook where when I press play, the lights go off (a scene already setup in the lutron hub) and when i pause/stop a movie the lights turn on (again a scene already created in the lutron hub/app) can someone help me figure out how to do this? I would greatly appreciate any help! thanks Brian Link to comment Share on other sites More sharing options...
Bmoney003 0 Posted March 17, 2021 Author Share Posted March 17, 2021 Hi everyone, I noticed the webhook plugin. I would like to create a webhook where when I press play, the lights go off (a scene already setup in the lutron hub) and when i pause/stop a movie the lights turn on (again a scene already created in the lutron hub/app) can someone help me figure out how to do this? I would greatly appreciate any help! thanks Brian Link to comment Share on other sites More sharing options...
Luke 37118 Posted March 23, 2021 Share Posted March 23, 2021 @chef have you tried this? Link to comment Share on other sites More sharing options...
BillOatman 502 Posted March 25, 2021 Share Posted March 25, 2021 (edited) I am actually in the middle of doing this for the Phillips hue system using a self hosted C# application. I have it getting the raw message from Emby Webhooks, but not in the "FromBody" nicer way yet. Using Python or Go or Java instead of C# would make it runnable on more than just Windows systems. Basically you need to create a webservice endpoint and configure Emby Webhooks to call it for playback events. Your endpoint will get a message with a large json payload like this { "Event": "playback.start", "User": { "Name": "EmbyUserName", . . . "Session": { "RemoteEndPoint": "192.168.50.40", "Client": "AndroidTv", "DeviceName": "LivingRoom", . . . } } Based on the event, and the devicename you would set the scene in your lutron hub. Edited March 25, 2021 by BillOatman Link to comment Share on other sites More sharing options...
Jguertini13 0 Posted March 25, 2021 Share Posted March 25, 2021 Oof. That is Greek to me. Maybe you could help walk me through it Link to comment Share on other sites More sharing options...
BillOatman 502 Posted March 25, 2021 Share Posted March 25, 2021 If you arent a programmer it will be difficult for you, but a good learning experience Look around for examples of creating a web service endpoint and take it from there. Link to comment Share on other sites More sharing options...
Jguertini13 0 Posted March 25, 2021 Share Posted March 25, 2021 Ok I will Link to comment Share on other sites More sharing options...
chef 3746 Posted March 25, 2021 Share Posted March 25, 2021 (edited) What we need is the http request for lutron that turns on and off the lights. Then, we need to send that On 3/17/2021 at 8:36 AM, Bmoney003 said: Hi everyone, I noticed the webhook plugin. I would like to create a webhook where when I press play, the lights go off (a scene already setup in the lutron hub) and when i pause/stop a movie the lights turn on (again a scene already created in the lutron hub/app) can someone help me figure out how to do this? I would greatly appreciate any help! thanks Brian Hey Brian @Bmoney003, what is the name of the hub from Lutron? Probably get that working for ya Use the @chef <-- when you respond... I seem to miss a whole lot of messages unless users '@' me. We'll swap some Lutron code into Vera or the Smarthings plugin, or at least try. Edited March 25, 2021 by chef Link to comment Share on other sites More sharing options...
Jguertini13 0 Posted March 25, 2021 Share Posted March 25, 2021 (edited) 7 minutes ago, chef said: Edited March 25, 2021 by Jguertini13 Link to comment Share on other sites More sharing options...
Bmoney003 0 Posted March 25, 2021 Author Share Posted March 25, 2021 Awesome thank you @chef Awesome it’s Lutron caseta wireless smart bridge thanks for the help! Link to comment Share on other sites More sharing options...
chef 3746 Posted March 25, 2021 Share Posted March 25, 2021 (edited) Just now, Jguertini13 said: Awesome it’s Lutron caseta wireless smart bridge thanks for the help! Okay I found something... https://www.lutron.com/TechnicalDocumentLibrary/040249.pdf but... I need to read the document, and make sure we can command the bridge through http. I don't know what TelNet is... soo.... EDIT: Also this is mentioned: "...The "Pro" version of the smart bridge is the only one that supports third party integration...." Edited March 25, 2021 by chef Link to comment Share on other sites More sharing options...
RCogburn 0 Posted May 20, 2022 Share Posted May 20, 2022 Chef, I can say for certain I have the non pro Lutron bridge running commands from my google max without installing the Lutron app. I am not sure if this helps or not, but google assistant is a third party app. Link to comment Share on other sites More sharing options...
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