X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: BigDesert on January 02, 2009, 05:16:22 PM

Title: BVC & AHCMD combo question
Post by: BigDesert on January 02, 2009, 05:16:22 PM
Just started using these tools, and like the way I can have BVC speak certain status messages based on the triggers it seems.

However, when I turn on or off a device with AHCMD, BVC doesn't pick up on the trigger.  Running AHCMD and BVC on the same machine.

Any ideas?  I'm calling AHCMD from a batch file -- if this can't be done...  is there a command line TTS that I can call from the batch file to announce specific phrases that I would otherwise program through BVC if I can't get that to work in conjunction with AHCMD?

D
Title: Re: BVC & AHCMD combo question
Post by: -Bill- (of wgjohns.com) on January 04, 2009, 02:05:48 AM
Just started using these tools, and like the way I can have BVC speak certain status messages based on the triggers it seems.

However, when I turn on or off a device with AHCMD, BVC doesn't pick up on the trigger.  Running AHCMD and BVC on the same machine.

Any ideas?  I'm calling AHCMD from a batch file -- if this can't be done...  is there a command line TTS that I can call from the batch file to announce specific phrases that I would otherwise program through BVC if I can't get that to work in conjunction with AHCMD?

D


Interesting.

I just did a test by creating a batch file containing just the following:
Code: [Select]
ahcmd sendplc b1 on

A BVC listener set to listen for B1 ON and Power Line Commands Only then speak a custom phrase worked perfectly.

More info please!

What version of AHP, Windows, etc. are you using?
Title: Re: BVC & AHCMD combo question
Post by: Tuicemen on January 04, 2009, 09:59:47 AM
A lot of users have issues with AHCMD not working 100% of the time! ::) :'


BigDesert why not try X10wavplayer or PC Companion both will create TTS batch files that AHP can trigger even security modules can trigger via AHP(no extra PLC signals needed)!
The problem may not be AHCMD you don't say how your triggering the batch file. Are you using AHP to do this?
If so the Windows Command Bug in AHP  may be causing it not to fire! and if that is the case even X10wavplayer  (http://www.angelfire.com/in2/ontkoi/X10AHP/X10WavPlayer.html) or PC Companion (http://www.angelfire.com/in2/ontkoi/X10AHP/PcCompanion.html) batch files will fail!
However there is a work around for this Windows command bug! (http://www.x10community.com/forums/index.php?topic=15010.0)
You need to create a script which you use to start AHP every time. A how to do walk through is located at the link!
Since I've created my script start up I've never had a batch or exe windows command fail!
All programs will work nicely with BVC!
 >!