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.