hstamas 179 Posted December 2, 2018 Posted December 2, 2018 (edited) Posted this in the specific plugin discussion with no response so thought I’d post it here as a general help question just in case more will see it and might be able to help? Mods, feel free to remove if I’m cross posting too much. I was wondering if someone could help me with what I suspect is just a syntax error Im having trying to get this plugin to trigger an IFTTT event? I set up IFTTT webhooks service to trigger a Philips Hue scene. All works fine when I test it on IFTTT. When I copy and past the webhook URL into the URL section of the plugin and start a movie nothing happens. This is the URL that IFTTT is providing me which I copied and pasted into the URL section of the plugin: maker.ifttt.com/trigger/{event}/with/key/xxxxxxxxxxxxxx Ive tried all combinations of filling in that {event} place holder with no luck so far. I assume I replace that with the event name I have set up in IFTTT? In this case its called "Play" so it would look like this?: maker.ifttt.com/trigger/Play/with/key/xxxxxxxxxxxxxx Also in the plugin it indicates putting in the URL and also the port? Ive tried putting in my local port number which did nothing. Any help would be greatly appreciated . Edited December 2, 2018 by hstamas
Luke 42079 Posted December 2, 2018 Posted December 2, 2018 i think the plugin needs a compatibility update for the latest version of the server.
hstamas 179 Posted December 2, 2018 Author Posted December 2, 2018 Thanks for the info Luke. Sadly it looks like the developer hasn’t been active here since March so my guess is this add on is dead. Any chance of rolling webhook functionality into Emby to facilitate things like this? My desire to control Hue lights with Emby has hit yet another brick wall I’m afraid.
Luke 42079 Posted December 2, 2018 Posted December 2, 2018 Any chance of rolling webhook functionality into Emby to facilitate things like this? It is planned for the future, yes.
Keo 3 Posted December 27, 2018 Posted December 27, 2018 It is planned for the future, yes. Any idea when we will see this future web hook? The plugin currently has limited data and I don't know the language it's written in.
Keo 3 Posted December 27, 2018 Posted December 27, 2018 What other data would you like to see? Client IP Any extra tags that are added to a movie.
hstamas 179 Posted December 28, 2018 Author Posted December 28, 2018 Would it be possible to ad the functionality to choose which client triggers the webhook action? Right now if I watch a movie on my iPad in my bedroom the lights turn off in the living room when using webhooks to trigger Hue scenes.
Keo 3 Posted December 28, 2018 Posted December 28, 2018 (edited) Would it be possible to ad the functionality to choose which client triggers the webhook action? Right now if I watch a movie on my iPad in my bedroom the lights turn off in the living room when using webhooks to trigger Hue scenes. It looks like you can use the api to pull back the IP using the deviceId: http://${embyServerIp}:8096/emby/Sessions?DeviceId=${uuid}&api_key=${apiKey} So the webhook plugin sends uuid when the event happens. If you call the api after the webhook data is received you can pull back the ip Address of the device. Edited December 28, 2018 by Keo
GTerplan 0 Posted May 5, 2019 Posted May 5, 2019 It looks like you can use the api to pull back the IP using the deviceId: http://${embyServerIp}:8096/emby/Sessions?DeviceId=${uuid}&api_key=${apiKey} So the webhook plugin sends uuid when the event happens. If you call the api after the webhook data is received you can pull back the ip Address of the device. Thanks for the feedback. Are there any updates on adding webhooks into Emby?
pir8radio 1312 Posted May 25, 2019 Posted May 25, 2019 What other data would you like to see? Would it be possible to ad the functionality to choose which client triggers the webhook action? Right now if I watch a movie on my iPad in my bedroom the lights turn off in the living room when using webhooks to trigger Hue scenes. Yea the ability to only fire off a webhook if the XXXX = XXXX like DeviceId = 2893hd89s or Username = Pir8radio
pir8radio 1312 Posted May 29, 2019 Posted May 29, 2019 @Luke this feature is probably way out... But most people would be using this for control of their home automation... So a cool start could be on the client side, maybe a feature built in the Emby Theater client that lets you set three webhooks (movie play, movie pause, movie stop) or something? I just want to tie this last step in so when i hit play on a move my lights slowly dim, my walkway hue lights turn to a dim blue so you can still find the bathroom and snacks.... lol 1
hstamas 179 Posted May 30, 2019 Author Posted May 30, 2019 @@pir8radio this topic might be of interest to you. The plugin is not finished but a member is actively forking it and makin a workin version available soon. https://emby.media/community/index.php?/topic/44781-plugin-for-controlling-hue-light/?p=743034
pir8radio 1312 Posted May 30, 2019 Posted May 30, 2019 @@pir8radio this topic might be of interest to you. The plugin is not finished but a member is actively forking it and makin a workin version available soon. https://emby.media/community/index.php?/topic/44781-plugin-for-controlling-hue-light/?p=743034 Yea I've seen that one, the problem is that ANY user on ANY device that "plays a movie" will send a webhook... so If i have 1000 users playing, and pausing movies throughout the day, my home theater lights will be going off like a disco...... but if a simple feature is added to the actual client, only that client playing will send the webhooks... This also means that my parents could use the webhooks at their house to control their lights without needing to mess with server side settings.
pir8radio 1312 Posted May 31, 2019 Posted May 31, 2019 (edited) @@Luke ill make an emby theater plugin at this point if someone gets me started..... And its even possible.... Android TV Nevermind not sure why i was thinking ATV app was theater... Edited May 31, 2019 by pir8radio
Luke 42079 Posted October 22, 2019 Posted October 22, 2019 There will be a new webhooks plugin with the upcoming Emby Server 4.3: https://emby.media/community/index.php?/topic/77969-new-webhooks-plugin/
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