Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: How to monitor DoorOpens/DoorCloses on a PC?  (Read 2218 times)

frogblender

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 1
How to monitor DoorOpens/DoorCloses on a PC?
« on: February 05, 2009, 10:46:02 PM »

Hi... I have a door on my house which I want to monitor.  Whenever the door opens or closes, I want my always-on PC to write the timestamp to a textfile.

What hardware do I need?  I'm a reasonable software programmer, so I can read serialports and whatnot.

Any help would be appreciated!
Logged

-Bill- (of wgjohns.com)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: How to monitor DoorOpens/DoorCloses on a PC?
« Reply #1 on: February 06, 2009, 01:39:53 AM »

Hi... I have a door on my house which I want to monitor.  Whenever the door opens or closes, I want my always-on PC to write the timestamp to a textfile.

What hardware do I need?  I'm a reasonable software programmer, so I can read serialports and whatnot.

Any help would be appreciated!


Unless you really want to get "down and dirty" with a serial port and serious coding, I would suggest the CM15A USB computer interface which comes with Active Home Pro (AHP) software.

The AHP software has a built in event log ("Activity Monitor").

You can also write your own software easily using the AHP SDK.

 >!
Logged
-Bill- (of wgjohns.com)
bill@wgjohns.com

In the real world, the only constant is change.

When I'm online you can find me in the Home Automation Chat Room!

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 174
  • Posts: 7089
Re: How to monitor DoorOpens/DoorCloses on a PC?
« Reply #2 on: February 06, 2009, 10:39:23 AM »

.... Whenever the door opens or closes, I want my always-on PC to write the timestamp to a textfile.

It is often advantageous... to look at what the technology has to offer.. before deciding what to do. I would also use the AHP (and CM15A) as Bill. But I would consider email notification (and maybe include pics).
Logged
Home Automation is an always changing technology

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 277
  • Posts: 10315
  • I don't work for X10, I use it successfuly!
    • Tuicemen Forum
Re: How to monitor DoorOpens/DoorCloses on a PC?
« Reply #3 on: February 06, 2009, 12:51:47 PM »

frogblender
Doing what you want is a very simple task. Unless your using a security sensor to monitor the door!
If your using a security sensor you'll need the AHP all plug-ins kit(includes OnAlert for monitoring security sensors)
If you monitor it with a non Security motion sensor  and you have the CM19A you can download the AHP SDK which will allow you to write a logging program.
If you have the old CM11A and plan on using a non security sensor you can still write something your self but it is a little more difficult.
you'll need to download the X10 protocol
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Find extra info @ My forum
 

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