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.

Point and Click on-screen remote

If you have a question or need help, this is the place to be.
Post Reply
jlubin
Posts: 2
Joined: Fri Jul 07, 2006 6:31 pm

Point and Click on-screen remote

Post by jlubin »

I would like to make a simple on screen remote to send codes to the cable receiver.

I have created macros for each key on the DCT-2000 remote to transmit the IR code with the USB-UIRT. I can move up and down the tree and press F5 to transmit the code. That works great.

I downloaded http://www.eventghost.org/downloads/Webserver_Demo.zip
It looks like what I would like to do, but I have not been able to figure out how to modify it to transmit the codes I have in my Tree.

Here is part of my file:
<?xml version="1.0" encoding="UTF-8" ?>
- <EventGhost Name="Configuration Tree" Version="568">
- <Autostart Name="Autostart">
<Plugin File="USB-UIRT" Identifier="USB_UIRT">gAKIiImHcQAu</Plugin>
<Plugin File="Webserver" Identifier="Webserver">gAJYBAAAAEhUVFBxAEtQWAwAAABFOlx3ZWJzZXJ2ZXJxAYdxAi4=</Plugin>
<Plugin File="OSD" Identifier="OSD">gAIpLg==</Plugin>
</Autostart>
- <Folder Name="dct2000">
- <Macro Name="Power">
<Action>USB_UIRT.TransmitIR(u'0000 006B 0012 0002 015B 00AD 0014 0056 0013 00AE 0014 0056 0014 00AD 0014 0056 0014 0056 0013 0056 0014 0056 0013 0056 0014 0056 0013 0056 0014 0056 0013 0057 0014 00AD 0014 00AD 0014 0056 0014 04FE 015B 0056 0014 0D3C', 1, 0)</Action>
<Action>EventGhost.ShowOSD(u'Cable Power', None, (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0)</Action>
</Macro>
- <Macro Name="MenuUp">
<Action>USB_UIRT.TransmitIR(u'0000 006B 0012 0002 015B 00AD 0014 0056 0013 0057 0014 00AD 0014 0056 0014 00AD 0014 00AD 0014 0056 0013 0056 0014 0056 0013 0056 0014 0056 0013 0056 0014 00AD 0014 0056 0014 0056 0014 00AE 0013 04A7 015B 0056 0014 0D3C', 1, 0)</Action>
</Macro>
- <Macro Name="MenuDown">
<Action>USB_UIRT.TransmitIR(u'0000 006B 0012 0002 015B 00AD 0014 00AD 0014 0056 0014 00AD 0014 0056 0013 00AE 0013 00AE 0013 0056 0014 0056 0013 0056 0014 0056 0013 0057 0014 0056 0014 0056 0014 0056 0014 0056 0013 00AE 0013 04A7 015B 0056 0014 0D3C', 1, 0)</Action>
</Macro>
- <Macro Name="MenuLeft">
<Action>USB_UIRT.TransmitIR(u'0000 006B 0012 0002 015B 00AD 0014 0056 0013 00AE 0014 00AD 0014 0056 0013 00AE 0013 00AE 0013 0056 0014 0056 0013 0056 0014 0056 0013 0057 0014 0056 0014 00AD 0014 00AD 0014 00AD 0014 0056 0013 03F9 015B 0056 0014 0D3C', 1, 0)</Action>
</Macro>
- <Macro Name="MenuRight">
<Action>USB_UIRT.TransmitIR(u'0000 006B 0012 0002 015B 00AD 0014 00AD 0014 00AD 0014 00AD 0014 0056 0014 00AD 0014 00AD 0014 0056 0013 0056 0014 0056 0013 0057 0014 0056 0014 0056 0014 0056 0014 00AD 0014 00AD 0014 0056 0013 03F9 015B 0056 0014 0D3C', 1, 0)</Action>
</Macro>
- <Macro Name="OK">
<Action>USB_UIRT.TransmitIR(u'0000 006B 0012 0002 015B 00AD 0014 00AD 0014 0056 0014 0056 0014 0056 0014 00AD 0014 0056 0013 0056 0014 0056 0013 0056 0014 0056 0013 0057 0014 0056 0014 0056 0014 00AD 0014 00AE 0013 00AE 0013 04A7 015B 0056 0014 0D3C', 1, 0)</Action>
</Macro>
</Folder>
- <Folder Name="channels">
- <Macro Name="Science Chan">
<Action>EventGhost.ShowOSD(u'Change to Science Channel', None, (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0)</Action>
<Action>EventGhost.NewJumpIf(XmlIdLink(44), 2, True)</Action>
<Action>EventGhost.Wait(1.0)</Action>
<Action>EventGhost.NewJumpIf(XmlIdLink(54), 2, True)</Action>
<Action>EventGhost.Wait(1.0)</Action>
<Action>EventGhost.NewJumpIf(XmlIdLink(44), 2, True)</Action>
</Macro>
</Folder>
</EventGhost>
How do I make an on-screen remote where I can just click on it to send the "MenuUp" macro?

Click to send the "Science Chan" macro?

Any help and example would be apprciated!
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

Do you see the HTML-remote through your webrowser as http://localhost/ ?
Do you see the events in EG if you press a button?
Then you only have to drop the event to the appropriate macro and that's all.
jlubin
Posts: 2
Joined: Fri Jul 07, 2006 6:31 pm

Post by jlubin »

Bitmonster wrote:Then you only have to drop the event to the appropriate macro and that's all.
Got it! That was easy once you mentiond that step. :)

I just clicked on the button on the web page, the event showed in EG. Just click the event and dragged it to the macro. Clicked the button on the web page and it worked!

Thanks!
Post Reply