Announcement

Collapse
No announcement yet.

switchlinc ramp rate

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

    switchlinc ramp rate

    Is there a way to set the event for different ramp rate of the switchlinc.
    IE: 7:00 AM the ramp rate of device E1 is 10 minute,
    2nd event set the ramp rate of device E1 to 1 second .

    Thanks
    P. Tran

    #2
    You could do this quite easily by setting your action to run the desired command from the scripts in this thread:

    http://board.homeseer.com/showthread.php?t=108063

    Comment


      #3
      I have never been successful in setting the Ramp rate on the switchlinc itself using homeseer, ive only ever been able to do it manually using an x-10 maxi controller.

      of course you could have a homeseer event that would ramp the brightness up over time on that particular switch.
      -Christopher
      PerfecTemp - the Most advanced HVAC system I've ever Built - and its in my House

      Comment


        #4
        Ehhh I still using ver 1.7 , the link point ke to HS 2.0
        will it work with HS 1.7 ?

        Comment


          #5
          Originally posted by ptran0
          Ehhh I still using ver 1.7 , the link point ke to HS 2.0
          will it work with HS 1.7 ?
          Unfortunately no, this will not work with 1.7.x.
          You can, however, write a script that sets the ramp rate for a device and then call that script from an event. Unfortunately, changing any setting on a 'Linc device is kind of a lengthy process. Here's a sample script that sets the ramp rate for device A1 to 2 seconds:
          Code:
          sub main()
             const Device = "A1"
             const Ramp = 27  'This is the preset dim level for a 2 sec ramp. See the 'Linc docs for details
          
          ' Send the 'Linc clear sequence
             hs.ExecX10 "O16", "No Cmd", 0, 1
             hs.ExecX10 "N16", "No Cmd", 0, 1
             hs.ExecX10 "M16", "No Cmd", 0, 1
             hs.ExecX10 "P16", "No Cmd", 0, 1
             hs.ExecX10 "M16", "No Cmd", 0, 1
          
          ' Set the device to a dim level equal to the desired ramp rate
             hs.ExecX10 Device, "Preset Dim", Ramp, 1  '2 seconds = 87% dim = Preset Dim of 27 (in HomeSeer)
          
          ' Send the "lock ramp rate" sequence to the device
             hs.ExecX10 "O16", "No Cmd", 0, 1
             hs.ExecX10 "P16", "No Cmd", 0, 1
             hs.ExecX10 "N16", "No Cmd", 0, 1
             hs.ExecX10 "M16", "No Cmd", 0, 1
             hs.ExecX10 "M16", "No Cmd", 0, 1
          
          ' The device will quickly blink (more like a wink) indicating that the command has been accepted
          
          end sub
          Best regards,
          -Mark-

          If you're not out on the edge, you're taking up too much room!
          Interested in 3D maps? Check out my company site: Solid Terrain Modeling

          Comment


            #6
            So Mark are you saying that the posted code only works with HS2.0?
            💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

            Comment


              #7
              The code sample posted by mfisher would work with HS 1.7.

              Its the standard switchlinc programming sequence.

              Steve C.

              Comment

              Working...
              X