Terminology - Macros 8
Macros
Macros are used to organize interaction between the different devices in the home installation.
A macro consists of events and commands. When an event happens the commands will be executed in order. In other words, the Macro is
triggered wether it is physical (e.g. a button) or virtual (on a user interface).
Macros are assigned to zones where the event takes place, even when it is physical or virtual.
Events
Events are represented by a code for each row of the event list (any code start with: ‘area’/’zone’/’type’/’name’ followed by a value or an action.
An event is either of the three types:
- Resource event, matching a specific event on a specific resource.
Example: LIGHT 3 was pressed on the TV in the dining room.
- Generic event, apply to a set of similar events throughout the house. (more zones).
Example: a button named PARTY was pressed on any zone, any area.
- System event, include calendar and astronomical clock events, front panel button events and system connectivity events.
Commands
Commands are the actions executed whenever a macro is triggered.
Commands can be either of the four types:
- Generic commands apply to any area or zone, with the option to select the same area or zone where the event was generated.
- Resource commands apply to a specific resource.
- System commands act directly on the systems that support them.
- Macro commands call other macros, or act on other macros.