Re: x10 interface plugin (cm11a)
Posted: Fri Nov 23, 2007 12:00 pm
Is there any interest in a bidirectional plugin for the CM15A?
Thx,
Dean
Thx,
Dean
Hi Collin, where did you find the support for the CM15, I haven't been able to find anything about it by searching the forums. Do you mean as in an EG plugin?CollinR wrote:I did find support for the CM15 (newer USB version IIRC with RF) python support however I don't have one to play with.
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="908">
<Macro Name="MasterLightsOn" Expanded="True">
<Event Name="TCP.MasterLightsOn">
</Event>
<Action>
EventGhost.Wait(0.010000000000000011)
</Action>
<Action>
System.Execute(u'C:\\Program Files\\Home Control\\X10com32.EXE', u'f1 off', 3, False, 2, u'')
</Action>
<Action>
EventGhost.Wait(0.010000000000000011)
</Action>
<Action>
System.Execute(u'C:\\Program Files\\Home Control\\X10com32.EXE', u'f1 on', 3, False, 2, u'')
</Action>
</Macro>
</EventGhost>
Code: Select all
System.Execute(u'C:\\Program Files\\Home Control\\ahcmd.exe', u'sendplc m1 on', 3, False, 2, u'')
No polling this is one-way transmit only solution.specter333 wrote:Ok, that works very well. So one event triggers the macro and it polls the x10 module to see if it's on or off then sends the opposite code. Is that correct? Only thing is sometimes it turns it on then off again at once.
Something odd is happening with your install, I don't get anything back from the PLC and you shouldn't either. Possibly you have an x10 remote reciever that is picking up RF commands???specter333 wrote: Two questions, EG is now logging my palmpad remote which I don't think it was doing before but it only logs "X10.On" or "X10.Off" but not the unit codes. So with 16 buttons on the keypad I can only make two triggers. Ok that's not a question but a statement. Next one is a question.
You may need to rethink your EventGhost deployment, I install it on each PC in my home and under every user account on each PC. All posses the network sender and reciever plugins, so they can coordinate actions.specter333 wrote: I noticed you used TCP for triggers, I think TCP means "Task Create Plugin". How do you create TCP event from other applications, for instance what did you use to trigger this event?
specter333 wrote: By the way, I made a Desktop Remote from a picture of a palm pad and posted it in the Feature Request forum. Since you do X10 you may want to check it out.
Thanks again. Rich
The Palm Pad is an RF remote, it's not picking up events from the plc in the code. I was just wondering why it was only on or off for every button.CollinR wrote:
Something odd is happening with your install, I don't get anything back from the PLC and you shouldn't either. Possibly you have an x10 remote reciever that is picking up RF commands???
Ok, I do use the Network Event Sender/Receiver plugins already. My Cm15A is on this computer and my USBUIRT is on another computer. So to control my X10 modules with my remote, which includes lights, powering on my projector and lowering/raising the video screen, everything is sent with this plugin.CollinR wrote: You may need to rethink your EventGhost deployment, I install it on each PC in my home and under every user account on each PC. All posses the network sender and reciever plugins, so they can coordinate actions.
TCP mean the network reciever plugin caught that event.Using the TCP plugin will allow EventGhost to talk PC to PC or user to user on the same PC.
You should definately sped some time playing with this.