Jump to content

80 high bay lights with Qubino, how to structure program ?


Recommended Posts

Posted

Hello,  I am going to set up 80 high bay lights with Qubino 0-10v dimmers and about 10 motion detectors for sections of lights.  I would like the lights to be on dim,  the if there is motion detected go to 100% for 10 minutes.  If motion is detected in the 10 minutes,  I want the 10 minutes to be restarted.

 Can someone give me guidance how they would structure such a program ?  do I create 10 programs with 80 lines to turn each light on,  then wait 10 minutes,  then 80 more lines to dim them ?

thanks for any help. bill

Posted (edited)

if there are 10 zones, it sounds like you would need 10 programs, however it seems that those 10 programs would work to brighten and dim, and not turn on or off.

Something like this should work:  
 

If

    Motion zone1

then

    Set Zone1_Scene to 100%

    $sTimer_Zone1 = 10

    repeat while $sTimer_Zone1 > 0

        wait 1 min

        $sTimer_Zone1 -= 1

    Set Zone1_Scene to 10%

else

(nothing)

The above assumes the lights are already turned on to 10%, if there's motion it turns them up to 100%, starts a timer counting down, if there is more motion the timer will be interrupted and start over again, only turning the lights down again if the timer actually runs out.

Edit to add:  after thinking about this a few minutes there's an even simpler version of the same program:

 

If

    Motion zone1

then

    Set Zone1_Scene to 100%
    wait 10 min
    Set Zone1_Scene to 10%

else

(nothing)

No variable actually required.   The wait will restart with each new motion detection.

Edited by MrBill
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37.1k
    • Total Posts
      371.5k
×
×
  • Create New...