Announcement

Collapse
No announcement yet.

PCS Light switch device type?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PCS Light switch device type?

    I have five PCS SS1L/S light switches that I am testing. I want to use the micro/preset dimming functions they support. Which device type do I use in HS?

    AMD XP1800, Asus A7V333 MB, 1Gb DDR RAM, (2) WD 100Gb Special Edition HD, Five channel Digital Audio. JDS TimeCommander & IR-XP2. And a buncha HA stuff.

    #2
    There isn't an exsisting switch type defined in HS, but you can create one. In the device set-up panel, select (x) X10 Dim Support & (x) Pre-Set Dim.

    FYI, I have attached a zipfile containing a table I created for Preset dim codes that you can use in scripts. Also included is a PCS technote about micro-dimming. The following script illustrates how to use it. This is for demo purposes but you can adapt it for sunrise / sunset dimming or other purposes.

    sub main()
    dim x
    dim DimCmd
    dim DimLvl

    DimCmd="Hail Ack"
    ' DimCmd="Hail Request"
    ' DimCmd="Preset Dim"
    DimLvl=200

    hs.WaitSecs 10
    hs.ExecX10 "B11","Preset Dim",0,0

    for x=1 to DimLvl
    hs.ExecX10 "B11","No Cmd"
    hs.ExecX10 "B11",DimCmd,0,0
    hs.WaitSecs 1
    next
    hs.Speak "All Done"
    end sub

    Regards,
    Rick
    Attached Files

    Comment

    Working...
    X