Embodiments relates to method of performing operation associated with command for an electronic device of a plurality of electronic devices connected in a network. The method comprises receiving a command from a remote controller by a proximate electronic device of the plurality of electronic devices which is within Infrared (IR) range of the remote controller. The proximate electronic device either forwards the command to a network controller when the proximate electronic device is unable to process the received command or validates the command. The proximate electronic device either executes the operation associated with command when received command is intended for proximate electronic device or forwards command to the network controller when proximate electronic device is unable to execute command. The network controller performs operation associated with the command. Figure 8a