SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-10-2006, 08:22 AM
jhh jhh is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: BE
Posts: 196
Webserver and home automation / cgi-bin tricks

Hi,

I'm using XBMC as a client and I think I can get my python skills up to the level where XBMC sends a webrequest to Nielm's webserver.

I've seen on the webserver documentation that it can execute cgi-bin stuff. That was a bit over my head but I think that could help me in what I want to do: I want to send IR from the webserver to an IR receiver so I can control the lights in my home.

I can send IR commands with the USB-UIRT through a .bat so it's the bit in the middle I need to tie up. I've tried both .bat and .py script in the cgi-bin directory but get unexpected error running servlet Acme.Serve.CgiServlet: Java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 0. This does not mean anything to me I'm afraid.

As an alternative I've looked into Girder - the Internet Event server thing sounded good initially but it is hardly documented and does not seem to be much talked about on the fora.

All thoughts, directions are very welcome,
Jan
Reply With Quote
  #2  
Old 11-10-2006, 01:13 PM
jhh jhh is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: BE
Posts: 196
I've been looking on the USBUIRT forum and found EventGhost:

http://www.eventghost.org/wiki/EventGhost:About

add USBUIRT plugin, activate web plugin - you specify folder and port and off you go.

call the webserver:

http://localhost:8081/index.html?name_of_the_event

and it executes whatever you like.

It can live next to Nielms webserver because it has a different port - maybe not so bad the new port is not forwarded on my router/firewall. Then its a bit more difficult to open the garagedoor from the internet.

Jan
Reply With Quote
  #3  
Old 05-17-2007, 12:28 PM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
EventGhost ROCKS!!!!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.