X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: ssl on August 21, 2008, 12:07:56 PM

Title: develop a C# program for CM15A
Post by: ssl on August 21, 2008, 12:07:56 PM
Hi
I have CM15A receiver and Door Sensor DS10A. I installed active home pro software, created a room and added a module of type security from which I added door Sensor. The sensor works fine, whenever the door is opened I see an animation on the screen showing door opened.

Now i want to develop my own C# program in which I can trigger an event whenever the door is opened. I checked the SDK but wans't that helpful. If any one has done this please send me the code or direction on how to do that.

Thanks for your help

SSL
Title: Re: develop a C# program for CM15A
Post by: Dan Lawrence on August 21, 2008, 02:27:00 PM
Do you mean the door in the Room you created?  That's part of AHP's programming.   To turn it off go to Tools/Preferences and uncheck Use Animated Icons.  No more waving doors.
Title: Re: develop a C# program for CM15A
Post by: dks99 on August 21, 2008, 03:53:57 PM
From what I understand, the X10 SDK currently doesn't support receiving events the security sensors (such as the DS10A)
I *think* someone suggested a workaround by creating a macro in AHP that would fire an event whenever the DS10A was tripped.
that event could then be monitored for via the SDK.

I've never tried the suggestions so I'm not 100% sure.
Also you would have to make sure that the AHP is running all the time...

everyone is waiting for X10 to upgrade their SDK. :(

dks
Title: Re: develop a C# program for CM15A
Post by: ssl on August 21, 2008, 03:55:33 PM
Thanks for your reply. I added a door sensor(which AHP calls a module) to the room I created using AHP software. The door sensor SD10A send a signal to the receiver when door opens. All of this works fine using AHP software.

I need to develop my own custom application (C# preferred), in which I can capture the signal sent by the Door Sensor(SD10A) to the Reveiver (CM15A). I dont want to use the AHP software. I will be using the application for only one door.

SSL

Title: Re: develop a C# program for CM15A
Post by: Tuicemen on August 21, 2008, 04:33:50 PM
ssl :  
Don't hold your breath for the SDK to get the ability to see the security devices!
x10 isn't about to release the ability for one to see the info from a security sensor as it would make there system more venerable than it is now! :(  ::)
 -:) How ever you could mod a motion sensor  which would send a signal when ever the door was opened. This signal would be seen by the SDK!  ;)
Title: Re: develop a C# program for CM15A
Post by: Charles Sullivan on August 22, 2008, 10:19:33 AM
ssl:
If your C# programming skills extend to reading binary data from an RS232 serial port (or USB-Serial adapter), you might want to consider getting a W800RF32A RF receiver (http://www.wgldesigns.com).  This can receive both X10 standard and X10 security RF transmissions.