Jump to content

My Very Complicated IR Light Control


DEGoodrich

Recommended Posts

Here is a sample program tree to control 1 light.

Each light consists of 15 programs.

 

START SEQUENCE

(Allows selection of multiple lights before sending command.)

 

If
       IR '[12]' is Pressed

Then
       Wait  30 seconds
       Run Program 'IR Bed Left Start' (Else Path)

Else
  - No Actions - (To add one, press 'Action')



 

STOP SEQUENCE

 

If
       (
            IR '[0]' is Released
         Or IR '[10]' is Released
         Or IR '[50]' is Pressed
       )
   And Program 'IR Bed Left Start' is True

Then
       Set 'Bedroom Left' Fade Stop
       Run Program 'IR Bed Left Start' (Else Path)

Else
  - No Actions - (To add one, press 'Action')



 

LIGHT ON

 

If
       (
            Program 'IR Bed Left Start' is True
        And IR '[10]' is Pressed
       )
    Or (
            IR '[12]' is Held
        And Program 'IR Bed Left Start' is False
        And Status  'Bedroom Left' is Off
       )

Then
       Set 'Bedroom Left' On
       Run Program 'IR Bed Left Start' (Else Path)

Else
  - No Actions - (To add one, press 'Action')



 

LIGHT OFF

 

If
       (
            Program 'IR Bed Left Start' is True
        And IR '[0]' is Pressed
       )
    Or (
            IR '[12]' is Held
        And Program 'IR Bed Left Start' is False
        And Status  'Bedroom Left' is not Off
       )

Then
       Set 'Bedroom Left' Off
       Run Program 'IR Bed Left Start' (Else Path)

Else
  - No Actions - (To add one, press 'Action')



 

LIGHT BRIGHT

 

If
       Program 'IR Bed Left Start' is True
   And IR '[10]' is Held

Then
       Set 'Bedroom Left' Fade Up

Else
  - No Actions - (To add one, press 'Action')



 

LIGHT DIM

 

If
       Program 'IR Bed Left Start' is True
   And IR '[0]' is Held

Then
       Set 'Bedroom Left' Fade Down

Else
  - No Actions - (To add one, press 'Action')



 

LIGHT SET LEVEL (Repeat 8x (1-9))

 

If
       Program 'IR Bed Left Start' is True
   And IR '[1]' is Pressed

Then
       Set 'Bedroom Left' 10%
       Run Program 'IR Bed Left Start' (Else Path)

Else
  - No Actions - (To add one, press 'Action')



Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...