A method for configuring a first remotely-controlled device from a plurality of remotely-controlled devices to execute a function in response to a signal from a remote-controller by executing a set of steps at the first remotely-controlled device, wherein said set of steps comprises power cycling said first remotely-controlled device, said power cycling initiating a pairing period, during said pairing period, receiving, from said remote-controller, a first signal, wherein said first signal includes a first security code, and storing said first security code, said method further comprising, after said pairing period, receiving a second signal, said second signal carrying a second security code, comparing said second security code with said first security code, and, in response to said comparison, selecting an action selected from the group consisting of ignoring said second signal and carrying out said function in response to said second signal.