主权项 |
1. A node arranged for use in an automation system for providing automatic control of one or more devices in an environment, the automation system including a central server and a hub paired with the one or more devices, the node being selected from the group consisting of the central server and the hub, the node comprising:
a processor; a memory coupled with the processor; an automation application at least partially installed on the node and configured to execute in response to the receipt of a normalized event message from a source device and to issue a normalized command in response to the normalized event message; and a first device-type handler installed on the node, the first device-type handler configured to receive the normalized command and to generate a device specific command to a target device among the one or more devices paired with the hub; and wherein the memory is configured to provide the processor with instructions which when executed cause the processor to: receive a normalized event message, the normalized event message received from a second event handler associated with a source device, the normalized event message being generated based on a device-specific message from the source device; in response to the normalized event message, execute the automation application on the node to cause the automation application to issue a normalized command in response to the normalized event message; use the first device-type handler installed at the node, to generate a device-specific command based on the normalized command; and send the device-specific command to the target device. |