1. A method for controlling one or more electronic devices, comprising: detecting an end user command associated with the one or more electronic devices; determining one or more device instructions for communicating with the one or more electronic devices based on the end user command; determining one or more coded light pulses associated with the one or more device instructions; and projecting a sequence of light patterns originating from an active illumination depth camera into an environment, the sequence of light patterns includes the one or more coded light pulses associated with the one or more device instructions.