Please login or register.

Login with username, password and session length
Pages: 1 [2]

Author Topic: Command Line control with activehome PRO and CM15A  (Read 41039 times)

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10523
  • I don't work for X10, I use it successfuly!
Re: Command Line control with activehome PRO and CM15A
« Reply #15 on: May 14, 2006, 04:04:54 PM »


THAT WORKED!!!!!

I  presume that will also work with ahcmd in it's regular location, since it worked fine in the C:/Test location.
Yes! you have to tell the command prompt to go to the folder location where ahcmd.exe is Guess I wasn't clear enough about that! :-[
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

roger1818

  • Hero Member
  • *****
  • Helpful Post Rating: 28
  • Posts: 1072
  • Roger H.
Re: Command Line control with activehome PRO and CM15A
« Reply #16 on: May 15, 2006, 04:19:14 PM »

One question if you don’t mind.  I understand that sendplc is send power line command,  sendrf is send radio frequency command but what is sendrawplc?

The thread Powerline Commands Applied to Many X10 Addresses!? gives a brief description of this command.

I'm understanding the on, off, dim and bright commands but I'm not understading the presetdim command.  For instance what would be the presetdim command for a1 to 50%?

Check out Using Pre-Set Dim.  X10 never supported this command in any of their modules.  The 2-way lamp module uses an Extended Dim instead.
Logged

specter333

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 23
Re: Command Line control with activehome PRO and CM15A
« Reply #17 on: May 15, 2006, 10:37:11 PM »

Ok maybe I’m not looking at this the correct way.  As I understand it the dim (or bright) command dims by what percentage you assign it.  So if the command is dim 25% and the light is on full then it will dim to 75%.  If you use the command again the light will dim to 50% and so on. 


How do you send a command to dim or bright the light to 50% regardless of the current value?   So if the light is at 20% percent it brights to 50% or if the light is at 90 percent it dims to 50%.  Or do I have to set a relative value of 0% or 100% first in order to get the light to go to exactly 50% every time?

I've tried sending the code sendplc A3 ExtCode 31 1F to a lamp module but it does nothing.

I hope I'm making sense, i'm new to the programing side of this.  Thanks for the help.
« Last Edit: May 15, 2006, 10:46:35 PM by specter333 »
Logged

billy

  • Sr. Member
  • ****
  • Helpful Post Rating: 7
  • Posts: 110
Re: Command Line control with activehome PRO and CM15A
« Reply #18 on: May 15, 2006, 11:26:20 PM »


specter333,

You are correct the % is incremental from the current level. So my guess is you turn the light on to 100% then dim to 50%.
So your application would have to keep track of the light level.

Lamp modules do not use extended codes.


Logged
"I would rather live my life as if there is a God and die to find out there isn't, than live my life as if there isn't and die to find out there is."  Albert Camus

billy

  • Sr. Member
  • ****
  • Helpful Post Rating: 7
  • Posts: 110
Re: Command Line control with activehome PRO and CM15A
« Reply #19 on: May 15, 2006, 11:30:32 PM »

Also the Dim ??% seems to be a PLC command only.
Light does not change using sendrf A1 Dim 50
Probably the same with the Bright command.
Logged
"I would rather live my life as if there is a God and die to find out there isn't, than live my life as if there isn't and die to find out there is."  Albert Camus

specter333

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 23
Re: Command Line control with activehome PRO and CM15A
« Reply #20 on: May 16, 2006, 12:39:47 AM »

That’s disappointing but not the worst thing.  Weird thing I have noticed with what I hoped would be a temporary work around. 

I set my lights off command to dim 100% instead of off so it will fade up to 50% instead of going full and then dimming down.  Then if I want my lights at 50% I say lights to half when they are off and dim lights when they are on.  When I fade up from 0% to 50% my lights are quite a bit brighter than when I fade down from 100%.   To counter this I just dim up to 40%. 

Thanks for your help.
Logged

specter333

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 23
Re: Command Line control with activehome PRO and CM15A
« Reply #21 on: May 16, 2006, 12:42:37 AM »

Something I just thought of, does Bill’s X10 voice command do the dim/bright to 50% like we’ve been discussing?
Logged

roger1818

  • Hero Member
  • *****
  • Helpful Post Rating: 28
  • Posts: 1072
  • Roger H.
Re: Command Line control with activehome PRO and CM15A
« Reply #22 on: May 16, 2006, 09:44:42 AM »

You are correct the % is incremental from the current level. So my guess is you turn the light on to 100% then dim to 50%.
So your application would have to keep track of the light level.

Lamp modules do not use extended codes.

Billy is correct on both accounts.  It is a limitation of the cheap lamp modules (you get what you pay for).  That is why ActiveHome Pro will brighten the module to 100% first and then dim by the appropriate amount.  Most other brands of lamp modules will support either the old PresetDim or the new Extended Dim (and as I said earlier the X10 brand 2-way modules support the Extended Dim).
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: Command Line control with activehome PRO and CM15A
« Reply #23 on: June 09, 2006, 12:36:57 AM »

Something I just thought of, does Bill’s X10 voice command do the dim/bright to 50% like we’ve been discussing?
Yes, BXVC does.  The way I chose to do it is as follows:
1) Always issue dim 100
2) If the requested level is 0 (zero) you're done
3) If the requested level is greater than 0 (zero) issue bright (requested level)

So to set module A1 to 50% brightness, issue:
A1 dim 100
A1 bright 50

Hope that helps;
-Bill-
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!
Pages: 1 [2]
 

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