主权项 |
1. A method for controlling a plurality of devices in a home automation system, comprising:
providing, by a home automation controller, a device proxy for a device connected to the home automation system; setting, by the home automation controller, a new value in a value box of the device proxy, wherein the value box corresponds to at least one of a sensor, control, and metadata of the device; determining, by the home automation controller, one or more rules associated with the device proxy; and running, by the home automation controller, the determined one or more rules, wherein the determined one or more rules are indicative of interactive relationships between the device proxy and one or more other device proxies corresponding to one or more other devices connected to the home automation system. |