The code I have is here:
I thought it best to start another thread (I hope that was right), as it seemed non-related.
Thanks for the orig. code though, that works a treat now.
Just a quick heads up on what I am trying to do:
Some time ago I wrote a Python TCP/IP listener (although in hindsight I could have used NetCat) that would listen for commands sent to it and execute commands that would turn on/off a series of relays that in turn would turn on/off lights/tv/amplifier/open the front door etc....
With the advent of me putting XBMC on the machine (and we use it for live TV, music etc... all the time), I was hoping to have it notify me on screen when anything is turned on or off, and also have a pop-up or slide-in on a button press when I want to turn something on/off from the TV no matter where I am.
Hence why I wanted to have the notification and a screen that isn't full screen (that can pop up or slide in over the top of video etc...) so I can simply cursor down to say, "Front Room Light" and select "Off".