xPL
xPL
i have written a plugin that adds 2 way xPL control to event ghost. it is a first release w/ some testing so it's probably rough around the edges. more details & dl here: http://doghouselabs.blogspot.com/2008/1 ... _7732.html
updated download link: http://www.doghouselabs.com/downloads/eg-xPL-0.2.1.zip
updated download link: http://www.doghouselabs.com/downloads/eg-xPL-0.2.1.zip
Last edited by damage on Mon Sep 21, 2009 8:56 pm, edited 2 times in total.
Re: xPL plugin
This is freaking awesome, thank you much!
Also stick around! This is a great group and great software as I'm sure you have noticed. You would be a valueable addition to the knowledge base.
Also stick around! This is a great group and great software as I'm sure you have noticed. You would be a valueable addition to the knowledge base.
Windows XP Pro sp3 - Several Machines usually latest beta but who knows.
Inputs: TCP / IR (USBUIRT) / RF(X10 Remote) / CLI-Batch / CCTV Motion / Ocelot
Outputs: TCP / IR (USBUIRT) / SageTV / SageTV Clients / YAC CallerID / HAL v3.7.3 / Ocelot
Inputs: TCP / IR (USBUIRT) / RF(X10 Remote) / CLI-Batch / CCTV Motion / Ocelot
Outputs: TCP / IR (USBUIRT) / SageTV / SageTV Clients / YAC CallerID / HAL v3.7.3 / Ocelot
Re: xPL plugin
i uploaded a new version. i forgot to add message type to the send message dialog.
Re: xPL plugin
I corrected the link in your first posting.
Just wondering what xPL is
Just wondering what xPL is

Re: xPL plugin
thanks. i didn't notice a problem with the link. in any case, xPL is a simple network protocol used for home automation. a more complete write up of xPL can be found here http://wiki.xplproject.org.uk/index.php/FAQ and you can go over to the xPL forum ( http://www.xpl-home.org/forums/index.php ) as well (although right now the forum is down for some reason)
some examples of things you can do with xPL:
- squeeze center ( http://www.slimdevices.com ) has an xPL plugin allowing you to control individual squeezeboxes and receive their status via sending/receiving xPL messages
- medianet ( http://www.xplhal.com/medianet.htm ) is another music server allowing similar control
- bluetooth presence detection - ( http://www.xplhal.com/xpl_software.htm ) - respond to xPL messages when a bluetooth device comes into range (you come home from work - the pc detects your bt enabled cellphone and via TTS tells you the doorbell rang, the mailbox was opened and kicks off some relaxing music on your family room squeezebox)
- send xPL messages from one event ghost pc to another and have that other pc perform some action (like TTS or launch zoom player, etc)
- various other applications http://wiki.xplproject.org.uk/index.php ... ed_Devices
some examples of things you can do with xPL:
- squeeze center ( http://www.slimdevices.com ) has an xPL plugin allowing you to control individual squeezeboxes and receive their status via sending/receiving xPL messages
- medianet ( http://www.xplhal.com/medianet.htm ) is another music server allowing similar control
- bluetooth presence detection - ( http://www.xplhal.com/xpl_software.htm ) - respond to xPL messages when a bluetooth device comes into range (you come home from work - the pc detects your bt enabled cellphone and via TTS tells you the doorbell rang, the mailbox was opened and kicks off some relaxing music on your family room squeezebox)
- send xPL messages from one event ghost pc to another and have that other pc perform some action (like TTS or launch zoom player, etc)
- various other applications http://wiki.xplproject.org.uk/index.php ... ed_Devices
Re: xPL plugin
Hi,
thank you for your effort.
I can't get this plugin to load. I created a xPL dir inside eg's plugin directory.
When I check the code (I don't know Py) it seems very different than other plugins (info part + import eg that no other plugin does).
How can I debug this?
Thanks.
thank you for your effort.
I can't get this plugin to load. I created a xPL dir inside eg's plugin directory.
When I check the code (I don't know Py) it seems very different than other plugins (info part + import eg that no other plugin does).
How can I debug this?
Thanks.
eg 0.3.7.1076
Vista, x32, SP1
Vista, x32, SP1
Re: xPL plugin
i used an existing plugin to help me get started & there are 'import eg' and info sections in those as well (such as the x10 plugin). i just installed it on my work pc & it came right up. did you restart eventghost after creating the xpl directory?
Re: xPL plugin
Hi,
thank you for your reply.
I created the xPL sub-dir before starting EG.
I get an xpl (i) icon on the log.
My release of x10 doesn't look like your plugin code, what release of EG do you use?
It has an eg.registerplugin with all the info.
You are right about import eg though.
Thank you.
thank you for your reply.
I created the xPL sub-dir before starting EG.
I get an xpl (i) icon on the log.
My release of x10 doesn't look like your plugin code, what release of EG do you use?
It has an eg.registerplugin with all the info.
You are right about import eg though.
Thank you.
eg 0.3.7.1076
Vista, x32, SP1
Vista, x32, SP1
Re: xPL plugin
are you running any other xPL apps? what exactly do you mean by 'info sections'? also, i do not have any vista machines so i have not tested on vista...
Last edited by damage on Mon Feb 16, 2009 8:37 pm, edited 1 time in total.
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: xPL plugin
@damage
You have written the plugin for the outdated 0.3.5c.
0.3.6 (that nearly everybody is using) has a slightly changed plugin interface. I recommend you read http://www.eventghost.org/wiki/Writing_Plugins first.
And another tip: don't use "global" in Python. You nearly never need it. Use instance variables instead.
You have written the plugin for the outdated 0.3.5c.
0.3.6 (that nearly everybody is using) has a slightly changed plugin interface. I recommend you read http://www.eventghost.org/wiki/Writing_Plugins first.
And another tip: don't use "global" in Python. You nearly never need it. Use instance variables instead.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Re: xPL plugin
i guess that explains it. i downloaded from the sourceforge link. is that going to get updated?
Re: xPL plugin
Unfair...I was really looking forward in driving Squeezecenter 7 through xPL+EG.
I also use the CM15 plugin.
Would that be too difficult to update the script for the latest EG build?
Anyway thank you and tell me if I can help with some SC7 testing if you find some time to recode.
I also use the CM15 plugin.
Would that be too difficult to update the script for the latest EG build?
Anyway thank you and tell me if I can help with some SC7 testing if you find some time to recode.
eg 0.3.7.1076
Vista, x32, SP1
Vista, x32, SP1
Re: xPL plugin
i have updated the plugin. use the same dl link per my first post
Re: xPL plugin
That was quick...although nothing changed!!!
I guess you uploaded the wrong files.
Thank you nevertheless
I guess you uploaded the wrong files.
Thank you nevertheless

eg 0.3.7.1076
Vista, x32, SP1
Vista, x32, SP1
Re: xPL plugin
actually you didn't clear your cache...