maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Universal Remote via EventGhost (https://talk.maemo.org/showthread.php?t=21789)

jjchambers 2008-07-22 16:31

Re: Universal Remote via EventGhost
 
Thanks for the quick reply. I'll give that a shot tonight.

Have you implemented any x10/Insteon thru Eventghost and your USB-UIRT?? If so what hardware did you have to buy?

Thanks,

J

jjchambers 2008-07-22 23:48

Re: Universal Remote via EventGhost
 
Quote:

Originally Posted by MysticKatDaddy (Post 205712)
So, you want EventGhost to send a command to your xbox to turn it on and then turn on the reciever and switch it to the correct input? I'd program a macro in eventghost to do all 3 things.

I did that. That's the event I called HTTP.REC_PWRON_DVD

Quote:

Originally Posted by MysticKatDaddy (Post 205712)
If you actually need to navigate to the xbox page use the onclick event to call the eventghost page with your eventghost command and then use javascript to navigate the page to the xbox page.

e.g....

onclick="clickbutton('index.html?HTTP.REC_PWRON_DV D');window.location.href='http://192.168.1.6/default.asp'"

I thought it would be easy but I'm totally clueless when it comes to java. The onclick event I bolded above, is that in Eventghost or html/java code? Where exactly does this code go? Does it all go in my href=" line?
Here's the code for that button that just sends the IR commands. Can you show me where your code would go?

<div style="position: absolute; top: 270px; left: 30px;"><a
href="index.html?HTTP.REC_PWRON_DVD"><img
style="border: 0px solid ; width: 350px; height: 80px;"
alt="listen to music" src="images/button_listen_music.png"></a><br>
</div>

If I'm using Java don't I need to add something in the <head> part of my page? I did a search on java and onclick and get something different on every link.

Thanks,

J

jjchambers 2008-07-24 02:53

Re: Universal Remote via EventGhost
 
I got it figured out (with some help from someone I work with) in case anyone else is following. Here's the code for sending the commands to Eventghost and then opening an external page:

<div style="position: absolute; top: 270px; left: 30px;">
<INPUT type="image" src="images/button_listen_music.png"
onclick="location.href='index.html?HTTP.REC_PWRON_ DVD';
location.href='http://192.168.1.6/default.asp'"><br>
</div>

But after messing around with it I decided I wanted the 192.168 link to open in it's own window so I put in a popup command instead. This still send the IR commands to eventghost and then open this popup window.

<div style="position: absolute; top: 170px; left: 31px;"><a
href="#"
onclick="location.href='index.html?HTTP.REC_PWRON_ DVD';
popup=window.open('http://192.168.1.6/default.asp?Action=music','Popup'); return false;"><img
style="border: 0px solid ; width: 350px; height: 80px;"
alt="listen music" src="images/button_listen_music.png"></a><br>
</div>

Now that I know how to use the popup feature I can put in reminders for other users to make sure certain things are on that I can't control by IR yet (my 3.5TB unraid server for example) before they continue to the next pages of control.

J

ubergeek7 2010-03-12 13:38

Re: Universal Remote via EventGhost
 
I know it has been a while since this post, i hope someone is able to respond. I am trying to set this up, but cannot get the files you hosted a while back to see your setup. I would really appreciate it if you could email or link to the files again.

jjchambers 2010-03-12 14:01

Re: Universal Remote via EventGhost
 
What files are you talking about? I just re-read through here and I don't think I posted anything. It's funny you brought this up, I just dug out my N800 last night and tried to mess with this again.

ubergeek7 2010-03-16 18:01

Re: Universal Remote via EventGhost
 
MysticKatDaddy placed a link to the files he had for his setup. The link is down and nobody on the internet has an example to work from except him.

ubergeek7 2010-03-16 18:03

Re: Universal Remote via EventGhost
 
and for some reason I cant PM anyone, but I can post. Thought that MysticKatDaddy would maybe see this and be able to relink

ubergeek7 2010-04-06 23:35

Re: Universal Remote via EventGhost
 
Quote:

Originally Posted by jjchambers (Post 565066)
What files are you talking about? I just re-read through here and I don't think I posted anything. It's funny you brought this up, I just dug out my N800 last night and tried to mess with this again.

Can you post your code and files? I am limited in javascript and need a reference e page to work from. I would really appreciate it.

ukaef 2011-02-15 15:50

Re: Universal Remote via EventGhost
 
OMG! I thought I was only one who is looking for that software! Im in the middle of developing layout for webserver plugin (eventghost) which will fit into n900 perfectly.


All times are GMT. The time now is 16:19.

vBulletin® Version 3.8.8