X10 Community Forum

🖥️ActiveHome Pro => SDK => Third Party Add-Ons & Software => Topic started by: jtykal on March 03, 2009, 06:23:11 PM

Title: X10 Door Monitor (aka, "The Curfew Cop")
Post by: jtykal on March 03, 2009, 06:23:11 PM
First of all, thanks to Tuicemen for the motivation -- his X10SW add-on inspired me to create an app that monitors and responds to specific X10 traffic.

My X10 Door Monitor app has the option of logging all X10 RF and PLC traffic or just the dummy modules assigned to my DS10A door sensors. It also displays the current status of each door, and a timestamp of the last time each door was opened.

I also have a "Lock Down" checkbox that, when checked, will flash a light in my bedroom (in addition to logging the event) when a monitored door is opened. This checkbox can be set/cleared from the app itself, or via a monitored RF command (so I can turn it on/off via remote from upstairs.) I'm thinking of changing the name on my App to the "Curfew Cop" and marketing it to fellow parents of teenagers!  ;)

This is my first attempt at VB programming, but I'm encouraged by the fact that I was able to do this from start to finish (including installing VB 8 Express!) in about 6 hours. (Right now, lots of stuff is "hard-coded". If I can figure out how to make this app more useful by allowing the housecodes, door names, etc. to be configurable, then I'll post the app for general consumption. (Ideas and examples from the X10 community brain-trust are most certainly welcome and appreciated!  :)% See my related question in the SDK forum regarding how to add some of this specific flexibility...)

I've attached a screenshot of what I have so far. Let me know what you think...

Title: Re: X10 Door Monitor (aka, "The Curfew Cop")
Post by: Tuicemen on March 04, 2009, 06:58:58 PM
jtykal  #:)
It is always nice to hear I motovated someone  ;)
Title: Re: X10 Door Monitor (aka, "The Curfew Cop")
Post by: Rabbit on May 11, 2009, 05:54:44 PM
First of all, thanks to Tuicemen for the motivation -- his X10SW add-on inspired me to create an app that monitors and responds to specific X10 traffic.

My X10 Door Monitor app has the option of logging all X10 RF and PLC traffic or just the dummy modules assigned to my DS10A door sensors. It also displays the current status of each door, and a timestamp of the last time each door was opened.

I also have a "Lock Down" checkbox that, when checked, will flash a light in my bedroom (in addition to logging the event) when a monitored door is opened. This checkbox can be set/cleared from the app itself, or via a monitored RF command (so I can turn it on/off via remote from upstairs.) I'm thinking of changing the name on my App to the "Curfew Cop" and marketing it to fellow parents of teenagers!  ;)

This is my first attempt at VB programming, but I'm encouraged by the fact that I was able to do this from start to finish (including installing VB 8 Express!) in about 6 hours. (Right now, lots of stuff is "hard-coded". If I can figure out how to make this app more useful by allowing the housecodes, door names, etc. to be configurable, then I'll post the app for general consumption. (Ideas and examples from the X10 community brain-trust are most certainly welcome and appreciated!  :)% See my related question in the SDK forum regarding how to add some of this specific flexibility...)

I've attached a screenshot of what I have so far. Let me know what you think...



Perhaps you could use an excel spreadsheet like I used in my X10 project.

Cheers! Rabbit