Patent ID: 7221984

Claim:
A method for programming an automation system which includes at least one programmable device and a programmable controller, the method comprising: (a) at the programmable controller, placing the programmable controller in a training mode, sensing occurrence of a trigger event at the programmable controller; (b) upon detection of a changing state of a switch as the trigger event, recording information about the trigger event in the programmable controller; (c) upon detection of a broadcast message at the programmable controller, recording the broadcast message in the programmable controller, the recorded broadcast message including instructions for the programmable controller; (d) when the programmable controller is no longer in the training mode, terminating programming; (e) if, at step (a), the programmable controller is not in a training mode, sensing the occurrence of a changing state of a switch as the trigger event; (f) upon detection of the trigger event, recalling a program stored in the programmable controller; (g) broadcasting on a communication link a message including the program; (h) at other programmable controllers in communication with the communication link, sensing occurrence of a broadcast message; (i) upon detection of the broadcast message at another programmable controller, determining if the broadcast message has instructions for the other programmable device, and, if so, receiving the instructions at the other programmable device.