develop a C# program for CM15A

Started by ssl, August 21, 2008, 12:07:56 PM

Previous topic - Next topic

ssl

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

Dan Lawrence

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.
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

dks99

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

ssl

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


Tuicemen

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!  ;)
Please Read Topic:
General Forum Etiquette
Before you post!

Charles Sullivan

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.

Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org

SMF spam blocked by CleanTalk