Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Details of events ghost's "http interface" to intepret Media

If you have a question or need help, this is the place to be.
Post Reply
jksmurf
Posts: 18
Joined: Sun Aug 19, 2007 12:49 am

Details of events ghost's "http interface" to intepret Media

Post by jksmurf »

In this GBPVR forum thread http://forums.gbpvr.com/showthread.php? ... post218535 I described I was after the ability for Eventghost to intercept a command from a remote control sending a signal to a PC.
I need is the MVP to carry the signal to Eventghost, so EG can control the USBUIRT, which zaps the DSL box. GBPVR would not be involved. I am not sure how this would work or if it possible, as it seems like GBPVR is "in control", but if EG can intercept that one button press, that's what I'd like.
The author of mvpmc, a dongle used in the Hauappage MediaMVP, reckons he may be able to helpo if he knows more about the Eventghost "http interface" as follows:
Find out more about the http interface and I can probably help.... This type of solution uses tcpip and not IR technology and assuming it can all be done by passing one url encoded string I probably can do this in 6 lines of code.
I have no idea what he needs, but it seems to hing on the "http interface". Can anyone offer any help with this?

Ta

k.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Details of events ghost's "http interface" to intepret Media

Post by Bitmonster »

Create an empty page for the webserver (lets say emptypage.html) and call it this way:
http://localhost/emptypage.html?MyEvent

"MyEvent" is the event you get.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
jksmurf
Posts: 18
Joined: Sun Aug 19, 2007 12:49 am

Re: Details of events ghost's "http interface" to intepret Media

Post by jksmurf »

Thanks I'll let the MVP guy know.

Cheers

k.
jksmurf
Posts: 18
Joined: Sun Aug 19, 2007 12:49 am

Re: Details of events ghost's "http interface" to intepret Media

Post by jksmurf »

Bitmonster wrote:Create an empty page for the webserver (lets say emptypage.html) and call it this way:
http://localhost/emptypage.html?MyEvent

"MyEvent" is the event you get.
Sorry I'm a bit new to this, when you say "call it this way" ... what do you mean?

I created the page, but ummm.. what do I do now? Is the next step to get EG to run that page when I press a certain remote button i.e. assign an IR call to the USBUIRT to the page?

Cheers

k.
jksmurf
Posts: 18
Joined: Sun Aug 19, 2007 12:49 am

Re: Details of events ghost's "http interface" to intepret Media

Post by jksmurf »

OK Yippee, I have it running with MyEvent. If I change the name to mvpmcEvent, it doesn't work. MUST it be MyEvent?

k.
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Details of events ghost's "http interface" to intepret Media

Post by krambriw »

MUST it be MyEvent?
MyEvent is the sample name of an event you might have created in EG.

If you have events named anything else you add that name instead

Like .....?AnyEventNameYouHaveDefined

and that will start execution of the macro the event belongs to
jksmurf
Posts: 18
Joined: Sun Aug 19, 2007 12:49 am

Re: Details of events ghost's "http interface" to intepret Media

Post by jksmurf »

Thank you, I have it working beautifully now!

btw I see the GPVR plugin (I don't use it though) is still in the latest beta. Presumably these are just pre-defined Keyboard commands associated with strokes e.g. {Ctrl=W} etc so you don't have to set these? If so it should still work OK.

k.
Post Reply