Please login or register.

Login with username, password and session length

Author Topic: Support For 2-Way (Trans/Recv) Wall Switches?  (Read 2762 times)

john e.

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 1
Support For 2-Way (Trans/Recv) Wall Switches?
« on: January 31, 2006, 10:59:54 PM »

Is there any way to get AHP to work
correctly with 2-way wall switches such as
Smarthome's SwitchLincs? It looks like 2-
way lamp dimmer modules are supported, but
not 2-way wall switches.
Logged

roger1818

  • Hero Member
  • *****
  • Helpful Post Rating: 28
  • Posts: 1072
  • Roger H.
Re: Support For 2-Way (Trans/Recv) Wall Switches?
« Reply #1 on: February 02, 2006, 03:25:48 PM »

From AHP's perspective, there really is no
difference between a lamp modules and dimmer
wall switches.  However, the problem is that
the 2-way lamp module uses the new extended
dim command (which AHP supports) but all of
SmartHome's dimmers use the old PresetDim
command (which AHP does not support).  My
advice is to define the 2-way wall switch as
a 2-way appliance module so that you can turn
the module on and off and pole its status.

If you want to be able to change the
brightness from the AHP software, you can
also define a regular lamp (or wall switch)
module at the same address.  You can then use
the appropriate module to do the appropriate
function.

Alternately you can program scene addresses
in the wall switch for the different
brightnesses you want and define regular
appliance modules at those addresses.  This
approach also allows you to set the fade rate
to what you want it to be.

For programming the on-level and fade rates,
the SDK does allow you to send preset dim
commands, but you need to know the correct
codes for appropriate dim level.  I can post
them if you like.

If you are interested, I have written a
program to configure SmartHome modules using
the CM15A.  It doesn't program scenes yet,
but it will set the base address, on level
and fade rate.
Logged

arf1410

  • Hero Member
  • *****
  • Helpful Post Rating: 0
  • Posts: 270
Re: Support For 2-Way (Trans/Recv) Wall Switches?
« Reply #2 on: February 02, 2006, 04:41:32 PM »

Roger  - I am interested in what you have
done for the switchlincs ...

Also are you CERTAIN the polling function
works if the switchlincs are defined as 2
way appliance modules?
Logged

arf1410

  • Hero Member
  • *****
  • Helpful Post Rating: 0
  • Posts: 270
Re: Support For 2-Way (Trans/Recv) Wall Switches?
« Reply #3 on: February 02, 2006, 04:43:14 PM »

Roger  - I am interested in what you have
done for the switchlincs ...

Also are you CERTAIN the polling function
works if the switchlincs are defined as 2
way appliance modules?

Also - I attempted to create a macro to
send address only commands used to program
the switchincs.  The activity log showed
the macro was sending the signals as I
wanted, but for some reason I never had
success actually programming the switches
this way...
Logged

Scott T

  • Full Member
  • ***
  • Helpful Post Rating: 1
  • Posts: 28
Re: Support For 2-Way (Trans/Recv) Wall Switches?
« Reply #4 on: February 02, 2006, 04:55:34 PM »

Roger,
I'm interested in your work.  If you don't
post you work here, will you post it on
AccessX10_dot_com?
Logged

roger1818

  • Hero Member
  • *****
  • Helpful Post Rating: 28
  • Posts: 1072
  • Roger H.
Re: Support For 2-Way (Trans/Recv) Wall Switches?
« Reply #5 on: February 02, 2006, 05:04:23 PM »

Arf:  I am not certain that the polling
function will work if the switchlincs are
defined as 2 way appliance modules (I don't
have any to verify it) but in theory it
should work.

I will try to post my program tonight.  It is
written in LabVIEW so you probably won't be
able to look at the code, but I will compile
it so that you can run it.  It is a work in
progress so you will have to accept it as it is.
Logged
 

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