X10 Community Forum
💬General Category => General Discussion => Topic started by: adagio on July 06, 2008, 01:34:22 AM
-
New X10 user here. Just installed a system to measure the weight of my septic pipe and shut off the water if a plug occurs. I wrote a program using VB5 to send the commands to the CM15A.
All is working well, but what I want to do is set a watchdog timer in the CM15A so if the program or PC dies, the CM15A will shut off the water after a time period. I've heard that the CM15A can run without a PC, so I know it can do it, but I can not find any information on how to program timers via a programming language.
Anyone know of any documentation that would help?
Thanks.
-
At present, there is no way to write to the CM15A except using Active Home Pro.
Many are trying however.
-
You mean no way to write timers and such, right? Because I am writing On, Off, Dim, etc. commands with no problems.
-
...Just installed a system to measure the weight of my septic pipe and shut off the water if a plug occurs....
Creative solution that I, as a city dweller, didn't realize was a common problem for septic tanks.
-
You mean no way to write timers and such, right? Because I am writing On, Off, Dim, etc. commands with no problems.
Correct, no way to save timers, macros, settings, etc. as AHP does.
-
............I want to do is set a watchdog timer in the CM15A so if the program or PC dies, the CM15A will shut off the water after a time period.
IF...."your program" could be set to turn Off a monitored code/device. The CM15A could certainly be "taught" to turn the monitored code/device (real or imaginary) ON and then delay and later react with the same devices ON condition being a condition within the macro. So as long as "your program" turned the monitored code/device OFF before the end of the delay... there would be no further action (automatic water shut-off).
In other words: watchdog timer in the CM15A so if the program or PC dies, the CM15A will shut off the water after a time period
-
Yes, that is what I want to do. So how do I program the CM15A with a timer? You mean use AHP to do that part? (Haven't actually used AHP yet.)
-
You mean use AHP to do that part? (Haven't actually used AHP yet.)
Yep.... thats what I meant. The ONLY way to get the CM15A to remember ANYTHING... is via the AHP. So mixing and matching of the AHP and your program will be required.
-
Hmmm. Looks like someone needs to reverse-engineer AHP. :'
-
Hmmm. Looks like someone needs to reverse-engineer AHP. :'
Any takers? :'
-
Hmmm. Looks like someone needs to reverse-engineer AHP. :'
Any takers? :'
Well I certainly should have stayed out of this thread! Bill- (of wgjohns.com) has done more with the CM15A and AHP his BVC (http://www.x10community.com/forums/index.php?topic=15753.0) software than maybe anyone else (although there ARE OTHERS THAT HAVE DONE MUCH). I am a big fan of BVC (http://davesdomainonline.com/bvc/bvc.htm) and have found it to work VERY well with the AHP.