Do you use an Ocelot in your HA setup?

Boy, that's got to be a scary computing experience...leisurely reading a thread and then getting to the last post, saying that I'm currently reading the thread! I'm literally laughing to tears! ;)

Those who know me, know my enthusiasm for the Ocelot and other ADI modules. I share the same comment as someone else's I saw in another post: "I've been using the Ocelot for x years and NO LOCKUPS!", except that in my case, x = 4. Its just been a very reliable little unit, period. As has been mentioned by others, any questions are always welcome on the ADI support forum. I also realize that most new users are often a bit put back by the ladder logic programming model, so a lot of questions involve the implementation of logical algorithms into ladder logic. That's ok; the best way to learn is by asking and then doing...

Anyway I do plan on wiewing this and other forums periodically but since a lot of the user names I see here already look familiar, you know where to come for any pressing questions!
 
I second that.

I have "silently" learned so much from reading Guy's responses to others questions, and his many programing examples, heck I don't need to ask Ocelot questions on the ADI forums, just do a search. I think Guy has already answered everything I have questions about.

Yes Guy, you have my most appreciated respect for you talents and willingness to help.
 
One way I use my Ocelot/SECU16I combination is to enhance the programming flexibility of my Caddx NX8E alarm security system.

The Caddx system does not have the complex programming capability I needed for my garage door scenario. Since I purchased the relay expansion board with it I just connected a few of these relays to the inputs of my SECU16I. I can program these relays to close on certain situations that the alarm system is in such as, Garage Door, Laundry Door, Armed, Armed in Away, Armed in Stay, Any Alarm.

I can now program the Ocelot to act on these inputs. If I had an SECU16 (anyone want to trade an SECU16I for an SECU16?) I could then use its relay outputs and connect them to a zone on the security system.

For example, I wanted to alarm the garage door. We have the keypad inside our Laundry Room. The laundry room leads to the garage door (via the Laundry Door). I first have the laundry room door closed, arm the system with the keypad, open laundry door, open the garage, close the garage, THEN have the system look for the next garage door open and treat it as an alarm.

When the garage door opens again in this "armed" condition I sound an alarm and turn on all the lights (after a long entry time so the car can pull in, get out of the car, open the laundry door, and disarm the alarm).

I also discern between armed in Stay or Away modes. When armed in Stay, the garage door will sound the alarm after a 30 second entry time.

I also turn on all of my lights in the house for an alarm condition, as well as turn on a robo-dog (please don't laugh) in the garage.

Below is the attached code (I just came up with) and am still in the process of testing. I think it all works as I want, just have to test it thoroughly.

The code can be optimized, just wanted to get it working first. Please feel free to give your comments!

Code:
0263 - IF Module #1   -SECU16-I Any_Armed Turns OFF         // Caddx System Armed in Stay or Away Mode
 0264 -   AND Module #1   -SECU16-I Armed_Stay Is ON         // And System NOT Armed in Stay Mode
 0265 -     THEN Timer #6 = 1                                // Start Timer #6
 0266 - IF Module #1   -SECU16-I Laundry_Door Turns OFF      // If Laundry Door Opens
 0267 -   AND Timer #6 is < 30                               // While Timer #6 is Less Than 30 Secs
 0268 -   AND Module #1   -SECU16-I Any_Armed Is OFF         // and still armed in Stay or Away Mode
 0269 -   AND Module #1   -SECU16-I Armed_Stay Is ON         // And System NOT Armed in Stay Mode
 0270 -     THEN Exit_Variable = 1                           // Set Exit Variable to 1, Defined "EXIT" Mode
 0271 - IF Module #1   -SECU16-I Garage_Door Turns ON        // When Garage Door Closes
 0272 -     THEN Timer #6 = 0                                // Reset Timer #6
 0273 -     THEN Exit_Variable = 0                           // Reset Exit Variable to 0
 0274 - IF Module #1   -SECU16-I Garage_Door Turns OFF       // If Garage Door Opens
 0275 -   AND Exit_Variable is = 0                           // And NOT in Exit Mode
 0276 -   AND Module #1   -SECU16-I Armed_Away Is OFF        // And armed in AWAY mode
 0277 -     THEN Timer #7 = 1                                // Start Timer #7
 0278 - IF Timer #7 becomes > 100                            // If 100 Seconds Go By (Entry Time)
 0279 -   AND Module #1   -SECU16-I Armed_Away Is OFF        // And still armed in AWAY mode
 0280 -     THEN Garage_Warning_Variable = 1                 // Set Garage Alarm Warning Variable (20 sec left)
 0281 - IF Timer #7 becomes > 20                             // If 20 More Seconds Go By
 0282 -   AND Module #1   -SECU16-I Armed_Away Is OFF        // And still armed in AWAY mode
 0283 -     THEN Garage_Alarm_Variable = 1                   // Set Garage Alarm Variable (Garage Alarm)
 0284 -                                                      // If I had an SECU16  would Alarm a Caddx Zone
 0285 -     THEN Robo_Dog_In_Garage, Turn ON                 // Robo Dog ON
 0286 -     THEN Transmit X10,  C - All Lights ON  (18)      // Turn ALL Lights on for Alarm Condition
 0287 -     THEN Transmit X10,  A - 1                        //  
 0288 -     THEN Transmit X10,  A - 2                        //  
 0289 -     THEN Transmit X10,  A - 3                        //  
 0290 -     THEN Transmit X10,  A - 4                        //  
 0291 -     THEN Transmit X10,  A - ON  (19)                 //  
 0292 -     THEN Transmit X10,  D - 3                        //  
 0293 -     THEN Transmit X10,  D - 4                        //  
 0294 -     THEN Transmit X10,  D - 7                        //  
 0295 -     THEN Transmit X10,  D - 8                        //  
 0296 -     THEN Transmit X10,  D - ON  (19)                 //  
 0297 - IF Timer #7 becomes =  120                            // Only have Robo Dog On for a couple minutes
 0298 -     THEN Robo_Dog_In_Garage, Turn OFF                //  
 0299 -     THEN Garage_Warning_Variable = 0                 // Reset Garage Warning Variable
 0300 -     THEN Garage_Alarm_Variable = 0                   // Reset Garage Alarm Variable
 0301 -     THEN Timer #7 = 0                                // Reset Timer #7
 0302 - IF Module #1   -SECU16-I Armed_Away Turns ON         // If Caddx is Disarmed from Away Mode
 0303 -   OR Module #1   -SECU16-I Armed_Stay Turns ON       // If Caddx is Disarmed from Stay Mode
 0304 -     THEN Robo_Dog_In_Garage, Turn OFF                // Turn off Robo Dog
 0305 -     THEN Garage_Warning_Variable = 0                 // Reset Garage Warning Variable
 0306 -     THEN Garage_Alarm_Variable = 0                   // Reset Garage Alarm Variable
 0307 -     THEN Timer #7 = 0                                // Reset Timer #7
 0308 -     THEN Exit_Variable = 0                           // Reset Exit Variable to 0
 0309 -     THEN Timer #6 = 0                                // Reset Timer #6
 0310 -     THEN Timer #8 = 0                                // Reset Timer #8
 0311 - IF Module #1   -SECU16-I Garage_Door Turns OFF       // If Garage Door Opens
 0312 -     THEN Garage, Turn ON                             // Turn on Garage Light
 0313 - IF Module #1   -SECU16-I Garage_Door Turns OFF       // If Garage Door Opens
 0314 -   AND Module #1   -SECU16-I Armed_Stay Is OFF        // and Armed in Stay Mode
 0315 -     THEN Timer #8 = 1                                // Start Timer #8
 0316 - IF Timer #8 becomes =  30                            // After 30 Second Entry Time
 0317 -     THEN Robo_Dog_In_Garage, Turn ON                 // Turn Robo Dog ON
 0318 -     THEN Garage_Alarm_Variable = 1                   // Set Garage Alarm Variable
 0319 -     THEN Transmit X10,  C - All Lights ON  (18)      // Turn ALL Lights on for Alarm Condition
 0320 -     THEN Transmit X10,  A - 1                        //  
 0321 -     THEN Transmit X10,  A - 2                        //  
 0322 -     THEN Transmit X10,  A - 3                        //  
 0323 -     THEN Transmit X10,  A - 4                        //  
 0324 -     THEN Transmit X10,  A - ON  (19)                 //  
 0325 -     THEN Transmit X10,  D - 3                        //  
 0326 -     THEN Transmit X10,  D - 4                        //  
 0327 -     THEN Transmit X10,  D - 7                        //  
 0328 -     THEN Transmit X10,  D - 8                        //  
 0329 -     THEN Transmit X10,  D - ON  (19)                 //  
 0330 - IF Timer #8 becomes =  120                           //  
 0331 -     THEN Garage_Alarm_Variable = 0                   // Reset Garage Alarm Variable
 0332 -     THEN Robo_Dog_In_Garage, Turn OFF                // Turn Off Robo Dog after 100 Secs
 0333 -     THEN Timer #8 = 0                                // Reset Timer #8
 0334 - End Program                                          //  
 
Another thing the Ocelot is great for is this:

I have two of these KeypadLinc 8's and several of these Mini-controllers (for three bucks you can't beat this deal).

I then have these units in various in our home. I can now custom each key for any lighting/control situation I would like to have in that room.

For example, in my Master Bedroom I have a mini-controller by my bed. I have one button set to dim the lights, one to turn the lights off after a minute, one to turn on the hot water pump for a while, etc...

In the kitchen I have a KeypadLinc 8 turn on a group of lights, turn the announcements on/off, etc...

I also have outdoor floodlights (four total) plus a side garage light for our backyard. The floodlights locations only had power available. I used an inline X-10 module to control them. I know needed a convienient way of turning them on and off so I put a KeypadLinc 8 switch at the patio door and now have total control over any outdoor lighting scenario I want.

The advantage to using the Ocelot is you don't have to clog up Homeseer for these special events and don't have to rely on the computer for them to work.

Some of the CMax code for this is listed below (again, this code can be optimized).

Code:
 0001 - IF Time of Day becomes = Sunset offset -20 minutes   // Twenty Minutes Before Sunset Turn Lights ON
 0002 -     THEN Den-Cans, Turn ON                           //  
 0003 -     THEN Kitchen-Cans, Turn ON                       //  
 0004 -     THEN George, Turn ON                             //  
 0005 -     THEN Master-Cans, Turn ON                        //  
 0006 -     THEN Hutch, Turn ON                              //  
 0007 -     THEN Playroom, Turn ON                           //  
 0008 -     THEN Kitchen-Ropes, Turn ON                      //  
 0009 - IF Time of Day becomes = 23:55                       // At Midnight Turn All Lights OFF
 0010 -     THEN George, Turn OFF                            // (Except for the Kitchen Rope Lights & Hutch)
 0011 -     THEN All_Floods, Turn OFF                        //  
 0012 -     THEN Single_Car_Garage, Turn OFF                 //  
 0013 -     THEN Garage, Turn OFF                            //  
 0014 -     THEN Playroom, Turn OFF                          //  
 0015 -     THEN Laundry, Turn OFF                           //  
 0016 -     THEN Kitchen-Ropes, Turn ON                      //  
 0017 -     THEN Hutch, Turn ON                              //  
 0018 -     THEN Garage_Side_Door, Turn OFF                  //  
 0019 -     THEN Kitchen-Cans, Turn OFF                      //  
 0020 -     THEN Kitchen-Counter, Turn OFF                   //  
 0021 -     THEN Kitchen-Nook, Turn OFF                      //  
 0022 -     THEN Family-Cans, Turn OFF                       //  
 0023 -     THEN Lamp, Turn OFF                              //  
 0024 -     THEN Patio-Cans, Turn OFF                        //  
 0025 -     THEN Chandelier, Turn OFF                        //  
 0026 -     THEN Dine-Cans, Turn OFF                         //  
 0027 -     THEN Front-Door, Turn OFF                        //  
 0028 -     THEN Entry, Turn OFF                             //  
 0029 - IF Remote-Master,  ON Command Pair                   // Remote Master ON (G House Code)
 0030 -     THEN Master-Cans, Turn ON                        //  
 0031 - IF Remote-Master,  OFF Command Pair                  // Remote Master OFF (G House Code)
 0032 -     THEN Timer #3 = 1                                // Start Timer #3
 0033 - IF Timer #3 becomes =  40                            //  
 0034 -     THEN Master-Cans, Turn OFF                       //  
 0035 -     THEN Timer #3 = 0                                //  
 0036 - IF Remote-Master-Dim,  ON Command Pair               // Remote Master DIM (G House Code)
 0037 -     THEN Transmit X10,  C - 13                       //  
 0038 -     THEN Transmit X10,  C - Dim  (21), 9 time(s)     //  
 0039 - IF Remote-Master-Dim,  OFF Command Pair              // Remote Master DIM OFF (G House Code)
 0040 -     THEN Master-Cans, Turn OFF                       //  
 0041 - IF Remote-Dine-Kitchen,  ON Command Pair             // Remote Dine & Kitchen ON (G House Code)
 0042 -     THEN Dine-Cans, Turn ON                          //  
 0043 -     THEN Dine-Cans, Turn ON                          //  
 0044 -     THEN Kitchen-Cans, Turn ON                       //  
 0045 -     THEN Kitchen-Cans, Turn ON                       //  
 0046 - IF Remote-Dine-Kitchen,  OFF Command Pair            // Remote Dine & Kitchen OFF (G House Code)
 0047 -     THEN Dine-Cans, Turn OFF                         //  
 0048 -     THEN Dine-Cans, Turn OFF                         //  
 0049 -     THEN Kitchen-Cans, Turn OFF                      //  
 0050 -     THEN Kitchen-Cans, Turn OFF                      //  
 0051 - IF Hot-Water-Pump,  ON Command Pair                  // Turn Hot Water Pump ON (G4 Command)
 0052 -     THEN Timer #0 = 1                                // Start Timer #0
 0053 -     THEN Pump_App_Module, Turn ON                    //  
 0054 -     THEN Pump_App_Module, Turn ON                    //  
 0055 - IF Timer #0 becomes =  300                           // Five Minute Delay
 0056 -     THEN Pump_App_Module, Turn OFF                   //  
 0057 -     THEN Pump_App_Module, Turn OFF                   //  
 0058 -     THEN Pump_App_Module, Turn OFF                   //  
 0059 -     THEN Timer #0 = 0                                // Reset Timer #0
 0060 - IF Receive X10,  G - All Lights ON  (18)             // G House Code, All Lights ON
 0061 -     THEN Transmit X10,  C - 13                       //  
 0062 -     THEN Transmit X10,  C - Dim  (21), 8 time(s)     //  
 0063 -     THEN Transmit X10,  A - 1                        //  
 0064 -     THEN Transmit X10,  A - 2                        //  
 0065 -     THEN Transmit X10,  A - 3                        //  
 0066 -     THEN Transmit X10,  A - 4                        //  
 0067 -     THEN Transmit X10,  A - ON  (19)                 //  
 0068 -     THEN Transmit X10,  C - 1                        //  
 0069 -     THEN Transmit X10,  C - 3                        //  
 0070 -     THEN Transmit X10,  C - 4                        //  
 0071 -     THEN Transmit X10,  C - 7                        //  
 0072 -     THEN Transmit X10,  C - 8                        //  
 0073 -     THEN Transmit X10,  C - 9                        //  
 0074 -     THEN Transmit X10,  C - 10                       //  
 0075 -     THEN Transmit X10,  C - 11                       //  
 0076 -     THEN Transmit X10,  C - 15                       //  
 0077 -     THEN Transmit X10,  C - ON  (19)                 //  
 0078 -     THEN Transmit X10,  D - 3                        //  
 0079 -     THEN Transmit X10,  D - 7                        //  
 0080 -     THEN Transmit X10,  D - 8                        //  
 0081 -     THEN Transmit X10,  D - ON  (19)                 //  
 0082 - IF Receive X10,  G - All Units OFF  (17)             // G House Code, All Units OFF
 0083 -     THEN Transmit X10,  A - 1                        //  
 0084 -     THEN Transmit X10,  A - 2                        //  
 0085 -     THEN Transmit X10,  A - 3                        //  
 0086 -     THEN Transmit X10,  A - 4                        //  
 0087 -     THEN Transmit X10,  A - OFF  (20)                //  
 0088 -     THEN Transmit X10,  C - 1                        //  
 0089 -     THEN Transmit X10,  C - 3                        //  
 0090 -     THEN Transmit X10,  C - 4                        //  
 0091 -     THEN Transmit X10,  C - 7                        //  
 0092 -     THEN Transmit X10,  C - 8                        //  
 0093 -     THEN Transmit X10,  C - 9                        //  
 0094 -     THEN Transmit X10,  C - 10                       //  
 0095 -     THEN Transmit X10,  C - 11                       //  
 0096 -     THEN Transmit X10,  C - 13                       //  
 0097 -     THEN Transmit X10,  C - 15                       //  
 0098 -     THEN Transmit X10,  C - OFF  (20)                //  
 0099 -     THEN Transmit X10,  D - 3                        //  
 0100 -     THEN Transmit X10,  D - 7                        //  
 0101 -     THEN Transmit X10,  D - 8                        //  
 0102 -     THEN Transmit X10,  D - OFF  (20)                //  
 0103 - IF X-10 House J / Unit 1,  ON Command Pair           // Kitchen Pad J-1 On (Kitchen-Family Lights)
 0104 -     THEN Transmit X10,  C - 1                        //  
 0105 -     THEN Transmit X10,  C - 2                        //  
 0106 -     THEN Transmit X10,  C - 3                        //  
 0107 -     THEN Transmit X10,  C - 4                        //  
 0108 -     THEN Transmit X10,  C - 5                        //  
 0109 -     THEN Transmit X10,  C - 6                        //  
 0110 -     THEN Transmit X10,  C - 16                       //  
 0111 -     THEN Transmit X10,  C - ON  (19)                 //  
 0112 - IF X-10 House J / Unit 1,  OFF Command Pair          // Kitchen Pad J1-Off (Kitchen-Family Lights)
 0113 -     THEN Transmit X10,  C - 1                        //  
 0114 -     THEN Transmit X10,  C - 2                        //  
 0115 -     THEN Transmit X10,  C - 3                        //  
 0116 -     THEN Transmit X10,  C - 4                        //  
 0117 -     THEN Transmit X10,  C - 5                        //  
 0118 -     THEN Transmit X10,  C - 6                        //  
 0119 -     THEN Transmit X10,  C - OFF  (20)                //  
 0120 - IF X-10 House J / Unit 2,  ON Command Pair           // Kitchen Pad J2-On (Dining-Living Lights)
 0121 -     THEN Transmit X10,  C - 8                        //  
 0122 -     THEN Transmit X10,  C - 9                        //  
 0123 -     THEN Transmit X10,  C - 14                       //  
 0124 -     THEN Transmit X10,  C - 15                       //  
 0125 -     THEN Transmit X10,  C - ON  (19)                 //  
 0126 - IF X-10 House J / Unit 2,  OFF Command Pair          // Kitchen Pad J-2 Off (Dining-Living Lights)
 0127 -     THEN Transmit X10,  C - 8                        //  
 0128 -     THEN Transmit X10,  C - 9                        //  
 0129 -     THEN Transmit X10,  C - 14                       //  
 0130 -     THEN Transmit X10,  C - 15                       //  
 0131 -     THEN Transmit X10,  C - OFF  (20)                //  
 0132 - IF X-10 House J / Unit 4,  ON Command Pair           // Kitchen Pad J-4 On (Pump)
 0133 -     THEN Hot-Water-Pump, Turn ON                     //  
 0134 - IF X-10 House J / Unit 4,  OFF Command Pair          // Kitchen Pad J-4 Off (Kitchen/Dining OFF)
 0135 -     THEN Transmit X10,  J - 1                        //  
 0136 -     THEN Transmit X10,  J - 2                        //  
 0137 -     THEN Transmit X10,  J - OFF  (20)                //  
 0138 - IF X-10 House J / Unit 3,  ON Command Pair           // Kitchen Pad J-3 On (AM Wake)
 0139 -     THEN Kitchen-Cans, Turn ON                       //  
 0140 -     THEN Kitchen-Nook, Turn ON                       //  
 0141 -     THEN Transmit X10,  C - 4                        //  
 0142 -     THEN Transmit X10,  C - Dim  (21), 10 time(s)    //  
 0143 - IF X-10 House J / Unit 3,  OFF Command Pair          // Kitchen Pad J-3 Off (AM Exit)
 0144 -     THEN Dine-Cans, Turn ON                          //  
 0145 -     THEN Laundry, Turn ON                            //  
 0146 -     THEN Master-Cans, Turn ON                        //  
 0147 -     THEN Garage, Turn ON                             //  
 0148 -     THEN Timer #1 = 1                                // Start Timer #1
 0149 - IF Timer #1 becomes =  150                           // 2.5 Minute Delay
 0150 -     THEN Transmit X10,  J - 1                        //  
 0151 -     THEN Transmit X10,  J - 2                        //  
 0152 -     THEN Transmit X10,  J - OFF  (20)                //  
 0153 -     THEN Laundry, Turn OFF                           //  
 0154 -     THEN Master-Cans, Turn OFF                       //  
 0155 -     THEN Dine-Cans, Turn OFF                         //  
 0156 -     THEN Garage, Turn OFF                            //  
 0157 -     THEN Timer #1 = 0                                // Reset Timer #1
 0158 - IF All_Floods,  ON Command Pair                      // SW2 "All Floods ON" Command
 0159 -     THEN Transmit X10,  A - 1                        //  
 0160 -     THEN Transmit X10,  A - 2                        //  
 0161 -     THEN Transmit X10,  A - 3                        //  
 0162 -     THEN Transmit X10,  A - 4                        //  
 0163 -     THEN Transmit X10,  A - ON  (19)                 //  
 0164 -     THEN Patio-Cans, Turn ON                         //  
 0165 -     THEN Garage_Side_Door, Turn ON                   //  
 0166 - IF All_Floods,  OFF Command Pair                     // SW2 "All Floods OFF" Command
 0167 -     THEN Transmit X10,  A - 1                        //  
 0168 -     THEN Transmit X10,  A - 2                        //  
 0169 -     THEN Transmit X10,  A - 3                        //  
 0170 -     THEN Transmit X10,  A - 4                        //  
 0171 -     THEN Transmit X10,  A - OFF  (20)                //  
 0172 -     THEN Patio-Cans, Turn OFF                        //  
 0173 -     THEN Garage_Side_Door, Turn OFF                  //  
 0174 - IF Dim_All_Floods,  ON Command Pair                  // SW2 "DIM All Floods ON" Command
 0175 -     THEN Transmit X10,  A - 1                        //  
 0176 -     THEN Transmit X10,  A - 2                        //  
 0177 -     THEN Transmit X10,  A - 3                        //  
 0178 -     THEN Transmit X10,  A - 4                        //  
 0179 -     THEN Transmit X10,  A - Dim  (21), 10 time(s)    //  
 0180 - IF Dim_All_Floods,  OFF Command Pair                 // SW2 "DIM All Floods OFF" Command
 0181 -     THEN Transmit X10,  A - 1                        //  
 0182 -     THEN Transmit X10,  A - 2                        //  
 0183 -     THEN Transmit X10,  A - 3                        //  
 0184 -     THEN Transmit X10,  A - 4                        //  
 0185 -     THEN Transmit X10,  A - OFF  (20)                //  
 0186 - IF Kitchen_Family_Rm,  ON Command Pair               // SW2 "Kitchen/Family Rm ON" Command
 0187 -     THEN Transmit X10,  C - 1                        //  
 0188 -     THEN Transmit X10,  C - 2                        //  
 0189 -     THEN Transmit X10,  C - 3                        //  
 0190 -     THEN Transmit X10,  C - 4                        //  
 0191 -     THEN Transmit X10,  C - 16                       //  
 0192 -     THEN Transmit X10,  C - ON  (19)                 //  
 0193 - IF Kitchen_Family_Rm,  OFF Command Pair              // SW2 "Kitchen/Family Rm OFF" Command
 0194 -     THEN Transmit X10,  C - 1                        //  
 0195 -     THEN Transmit X10,  C - 2                        //  
 0196 -     THEN Transmit X10,  C - 3                        //  
 0197 -     THEN Transmit X10,  C - 4                        //  
 0198 -     THEN Transmit X10,  C - OFF  (20)                //  
 0199 - IF Time of Day becomes = Sunrise offset 0 minutes    //  
 0200 -     THEN Kitchen-Ropes, Turn OFF                     //  
 0201 -     THEN Hutch, Turn OFF                             //  
 0202 - IF Tommy_Keypad_1,  ON Command Pair                  // Tommy's Keypad Settings (K Housecode)
 0203 -     THEN Tommys_Bedroom, Turn ON                     //  
 0204 - IF Tommy_Keypad_1,  OFF Command Pair                 //  
 0205 -     THEN Tommys_Bedroom, Turn OFF                    //  
 0206 - IF Tommy_Keypad_2,  ON Command Pair                  //  
 0207 -     THEN Tommys_Lamp, Turn ON                        //  
 0208 - IF Tommy_Keypad_2,  OFF Command Pair                 //  
 0209 -     THEN Tommys_Lamp, Turn OFF                       //  
 0210 - IF Tommy_Keypad_3,  ON Command Pair                  // Dim Tommy's Bedroom
 0211 -     THEN Transmit X10,  D - 5                        //  
 0212 -     THEN Transmit X10,  D - 6                        //  
 0213 -     THEN Transmit X10,  D - Dim  (21), 8 time(s)     //  
 0214 - IF Tommy_Keypad_3,  OFF Command Pair                 //  
 0215 -     THEN Transmit X10,  D - 5                        //  
 0216 -     THEN Transmit X10,  D - 6                        //  
 0217 -     THEN Transmit X10,  D - OFF  (20)                //  
 0218 - IF Tommy_Keypad_4,  OFF Command Pair                 //  
 0219 -     THEN Timer #4 = 1                                // Start Timer #4
 0220 - IF Timer #4 becomes =  40                            //  
 0221 -     THEN Transmit X10,  D - 5                        //  
 0222 -     THEN Transmit X10,  D - 6                        //  
 0223 -     THEN Transmit X10,  D - OFF  (20)                //  
 0224 -     THEN Timer #4 = 0                                //  
 0225 - IF Tommy_Keypad_4,  ON Command Pair                  //  
 0226 -     THEN Transmit X10,  D - 5                        //  
 0227 -     THEN Transmit X10,  D - 6                        //  
 0228 -     THEN Transmit X10,  D - ON  (19)                 //  
 0229 - IF Receive X10,  K - All Lights ON  (18)             //  
 0230 -     THEN Transmit X10,  D - 5                        //  
 0231 -     THEN Transmit X10,  D - 6                        //  
 0232 -     THEN Transmit X10,  D - ON  (19)                 //  
 0233 - IF Receive X10,  K - All Units OFF  (17)             //  
 0234 -     THEN Transmit X10,  D - 5                        //  
 0235 -     THEN Transmit X10,  D - 6                        //  
 0236 -     THEN Transmit X10,  D - OFF  (20)                //  
 0237 - IF Anthony_Keypad_1,  ON Command Pair                // Anthony's Keypad F Housecode)
 0238 -     THEN Anthonys_Bedroom, Turn ON                   //  
 0239 - IF Anthony_Keypad_1,  OFF Command Pair               //  
 0240 -     THEN Anthonys_Bedroom, Turn OFF                  //  
 0241 - IF Anthony_Keypad_2,  ON Command Pair                //  
 0242 -     THEN Anthonys_Lamp, Turn ON                      //  
 0243 - IF Anthony_Keypad_2,  OFF Command Pair               //  
 0244 -     THEN Anthonys_Lamp, Turn OFF                     //  
 0245 - IF Anthony_Keypad_4,  ON Command Pair                //  
 0246 -     THEN Timer #5 = 1                                // Start Timer #5
 0247 -     THEN Transmit X10,  D - 1                        //  
 0248 -     THEN Transmit X10,  D - Dim  (21), 15 time(s)    //  
 0249 -     THEN Anthonys_Lamp, Turn OFF                     //  
 0250 - IF Timer #5 becomes =  3000                          //  
 0251 -     THEN Transmit X10,  D - 1                        //  
 0252 -     THEN Transmit X10,  D - Dim  (21), 2 time(s)     //  
 0253 -     THEN Timer #5 = 0                                //  
 0254 - IF Anthony_Keypad_4,  OFF Command Pair               //  
 0255 -     THEN Anthonys_Bedroom, Turn OFF                  //  
 0256 -     THEN Anthonys_Lamp, Turn OFF                     //  
 0257 - IF Receive X10,  F - All Lights ON  (18)             //  
 0258 -     THEN Anthonys_Bedroom, Turn ON                   //  
 0259 -     THEN Anthonys_Lamp, Turn ON                      //  
 0260 - IF Receive X10,  F - All Units OFF  (17)             //  
 0261 -     THEN Anthonys_Bedroom, Turn OFF                  //  
 0262 -     THEN Anthonys_Lamp, Turn OFF                     //  
 
BSR,

Who would laugh at a Robo dog? I have two of them in the garage! The nice thing is they do NOT bark in sync! Sounds like a whole bunch of dogs!! They are triggered by my driveway entry sensors.

Thanks for posting your code. Even though my applications may be different, I can always learn something new and "steal" portions of someones code to accomplish something else!!!!! So some of your code will now be in Chattanooga TN !
 
John,

I like those robo dogs too. They sound pretty realistic. I can't use them here though because they drive my real dogs nuts!
 
wait till I have my Ocelot trap mice, and announce it using the robo dog :D That will be twisted! HA Foodchain in action!
 
Back
Top