|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
EventGhost ROCKS!!!!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|