Jump to content

Webhook information?


BillOatman

Recommended Posts

adminExitium

That won't work since -d "{"id":0, "on":true} implies body of the request which Emby doesn't allow customising. It's not part of the URL.

Link to comment
Share on other sites

Stan Guiseppe
13 minutes ago, adminExitium said:

That won't work since -d "{"id":0, "on":true} implies body of the request which Emby doesn't allow customising. It's not part of the URL.

Thanks for that info. How would I package it as one URL?

I can do this in a browser with a GET request but Luke has said the Emby won't send a GET... 

Link to comment
Share on other sites

adminExitium

I don't think that's possible right now. Emby needs to allow you to change the request type or customise the body.

Link to comment
Share on other sites

Stan Guiseppe
1 hour ago, adminExitium said:

I don't think that's possible right now. Emby needs to allow you to change the request type or customise the body.

Ok thanks. 

So how do other people get this to work? Through another third party app?

I can see through wireshark that no requests make it to the IP address of the dimmer device when I try to actuate through Emby. There is no communication between emby server IP and the dimmer IP.

However when I use a browser on a PC I get the following:

image.png.1f4f6f8c7dbf271c06668b1d64f0db10.png

image.png.4a4c6470591ee5fea0b07aa6aea26c8d.png

 

 

and the dimmer reacts accordingly.

 

Is it possible to make a feature request?

 

To have an option similar to the webhooks, but when an event takes place Emby will 'ping' a user typed IP eg:

192.168.0.70/light/0?turn=on&brightness=50

to control devices directly? Or is there a plugin that might do this already?

 

Thanks again

 

 

Edited by Stan Guiseppe
Link to comment
Share on other sites

Stan Guiseppe

Hi all, I was able to use Scripter X plugin to get this to work.

In there you can define a web GET and set up the trigger.

Thanks all for your help

  • 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...