DEGoodrich Posted February 22, 2008 Posted February 22, 2008 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')
Mark Sanctuary Posted February 22, 2008 Posted February 22, 2008 Thank goodness for the folder tree for the programs because all these programs add up to 105 of them.
DEGoodrich Posted February 22, 2008 Author Posted February 22, 2008 I have discovered a fast way to "Batch" generate theese programs! Export the tree, use an XML editor, use "Find & Replace", save as the new tree, then import. Over 500 and counting! I hope this thing does not BLOW UP
DEGoodrich Posted February 23, 2008 Author Posted February 23, 2008 OK, I am done with IR stuff for now! Now I am working on Voice Commands!!
Recommended Posts