Please login or register.

Login with username, password and session length
Advanced search  

News:

The Buster PiX10Hub is here! Created by the Community, for the Community.:)% #:)

Author Topic: develop a C# program for CM15A  (Read 10233 times)

ssl

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 2
develop a C# program for CM15A
« 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
Logged

Dan Lawrence

  • Hero Member
  • *****
  • Helpful Post Rating: 68
  • Posts: 3991
Re: develop a C# program for CM15A
« Reply #1 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.
Logged
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

dks99

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 1
Re: develop a C# program for CM15A
« Reply #2 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
Logged

ssl

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 2
Re: develop a C# program for CM15A
« Reply #3 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

Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 271
  • Posts: 10061
  • I don't work for X10, I use it successfuly!
    • Tuicemen Forum
Re: develop a C# program for CM15A
« Reply #4 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!  ;)
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Find extra info @ My forum

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: develop a C# program for CM15A
« Reply #5 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.

Logged
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
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.