Scenes

Scenes are a grouping of ‘Triggers’ and ‘Actions’. All AF s in a given scene have the same linkId

Although any one device’s AFT has no reference to the other devices in the same scene as it, scenes can be constructed as objects including all associated devices by parsing the AFTs of every device on a given site. By using linkId as the common index that relates AFs together, we are left with a clear description of both cause and effect of any event on the network.

The following is the way the Amatis app displays scenes for editing, but be aware that the elements that make up a given AF have been put through a filter that displays them in a more human centric way than they are stored in the devices’ ATFs

_images/scene_example.png

Here we see 7 different devices all connected by a common linkId (1952, which is shown underneath the name). Every device in this scene has a reference to linkId 1952 in its AFT.

This scene tells the following narrative:

“When Sensor 1 detects motion, the dimmers named Overhead Repair and Overhead Solder should go to 60% over a 2s fade period, and Fixtures 1-4 should go to 100% output over a 2s fade period. Once all these devices reach this target level, they should listen for daylight harvesting information to determine if they should be fading back down.”

As an example, the following image is a single AF from the AFT of the dimmer named Overhead Solder. You can see that linkId 1952 references the AF ‘Set Auto Duty(%,Fade)’ with a var1 of ‘60002’ which is the same information that was parsed to create the image above. See the section on action function rows (AFR) for more explanation on the meaning of this AFR.

_images/scene_example_af.png