...
The actions we have to implement for the Tutorial: Setup a schedule are:
- turn on heating
- turn off heating
...
- Select the folder where to create the action and click Add > Action from the menu.
- In the form enter the name and the description of the action.
- In the form click the Add button to add some logic what to do in this action. Do not mix the Add button from the menu and the Add button in the form!
Repeat this step to add additional actions. - The XCommand sections appears
- Expand the XCommand list and select Item > Write
- Enter In the XCommand form browse the Item Tree to set the Output to NETx>VAR>Boolean>Item001.
- Set the Value, written to the Server Item and the values to write
, to ON. Set Write to bus to ON if the Value should be written to the bus. - Save the action
- To create the "turn off" action we will copy and paste the action created right now.
Select the TurnOnHeatingAction in the project tree on the left hand side and duplicate it (use copy and paste from the menu). - The new action will get the name "TurnOnHeatingAction (1)" - so we have to change its name, the description and . In the action what to dowe write the Value = OFF to the Server Item.
- Save the action
...