X10 Community Forum

💬General Category => Mac/Linux & Open Source and the X10 Home => Topic started by: djg on March 23, 2012, 03:25:43 PM

Title: Mochad CM19A and powerhorn through TM751
Post by: djg on March 23, 2012, 03:25:43 PM
Hi,
 
I am trying to turn off PowerHorn through Mochad.  My TM751 is setup for "A" and my powerhorn is setup for "A2".

I can turn the TM751 outlet on with:
>>echo "rf a1 on" | nc localhost 1099

However, when I try to turn my PowerHorn on with:
>>echo "rf a2 on" | nc localhost 1099
It doesn't turn on.  Am I doing something wrong here?  I could connect my powerhorn directly to TM751 socket but I want to use that for something else.

Thanks in advance for any suggestions.

Title: Re: Mochad CM19A and powerhorn through TM751
Post by: Brian H on March 23, 2012, 03:44:47 PM
PH508 Large Powerhorn and SH10A Small Powerhorn do not respond to a single On or Off command.
They are triggered by a continuous, one second cycle, of On and Off or All Lights On and All Units off. Takes around four cycles to trigger them.
After the cycle stops. They continue to sound for around four more seconds.
So in your case. A cycle of A2 On, A2 Off would trigger a Powerhorn or a A All Lights On, A All Units Off is needed.
The rarely used All Lights Off can be used in place of the All Units Off.

http://www.x10pro.com/pro/pdf/ph508.pdf
Title: Re: Mochad CM19A and powerhorn through TM751
Post by: djg on March 23, 2012, 05:22:53 PM
Thanks for the help Brian. 

I used the following bash script and it worked fine for my ph508.  It didn't seem to work on my SH10 but then after troubleshooting found out that the unit was just dead.

while :
do
  echo "rf a2 on" | nc localhost 1099
  sleep 1
  echo "rf a2 off" | nc localhost 1099
  sleep 1
done
Title: Re: Mochad CM19A and powerhorn through TM751
Post by: Brian H on March 23, 2012, 06:08:05 PM
Glad it is working for you.