This tutorial shows how to use a scene in Voyager 5.0. This tutorial applies to Voyager only. Scenes in the Web visualization require the use of XLogic commans such as Scene, KNX_Scene and KNX_Set_Scene.
Basic information
A scene is a set of values for specific datapoints, the scene members. Following operations are possible for a scene
- create / edit: in the Scene Manager
- save: save current status of the scene members
- play: recall last saved status of the scene members
Creating the scene
Open the Scene Manager by clicking on the Scenes icon in Voyager's toolbar. This will open Scenes window which contains a list of all configured scenes. In the Scene Manager you can add, copy, delete or edit a scene.
Click the New scene button in the Scene Manager's toolbar.
TODO: A better example would be some Candlelight dinner scene with specific lights off, on, dimmed.
Now we will create a new Scene Checkout, which will do the following:
- change the Room Checkout Status to 1
- change the Room Occupied Status to 0
- change the Room MUR to 1
Save On: The provided server item is compared to a static operand. If the condition is true then the current scene settings will be saved.
Play On: The provided server item is compared to a static operand. If the condition is true the scene will be played.
In this tutorial Play On is triggered if the server item NETx\VAR\Real\Item1 equals 1.
- set the operator to = (equals)
- set the static operand to 1
- click Select to pick the datapoint from the server's item tree
This all means if the selected item changed to 1 the scene will be triggered.
Click OK and the Checkout scene will appear in the Scene Manager.
Connecting a button with the scene
As next, from the Object catalog drag and drop a button (from the library or a picture button) onto the visualization page. Double-click the button will to raise the show the properties dialog.
In the Object tab configure a Toggle Down mode and send a 1 to the server item that was configured for the Play On event:
Now this button will set this item's value to 1 which in turn will trigger the Play On event of the scene CheckOut.