1. An apparatus for controlling a system comprising: at least one intelligent controller; a local intelligent gateway in communication with the intelligent controller; a cloud computing network in communication with the local intelligent gateway; and a local device that is operative to communicate through the cloud computing network to the intelligent controller.