Explorer

Layout

The explorer window consists of three main areas:
The main menu bar at the top.
The menu allows the user to open additional explorer windows, open a log window, and set log levels.
The component tree on the left.
The component tree provides access to nodes, symbols, groups, devices and actions.
The information pane on the right.
This area shows information pertinent to the component selected in the component tree.

Creating a schedule

Initially domotcl starts with an almost empty schedule. It only has a local node defined. The first thing to do is to add some drivers and devices, and then create some actions.

Adding drivers

Drivers can be added by right-clicking on the 'Devices' category and selecting 'Add driver'. Select a driver for some piece of equipment you have. Then enter any parameters the driver may require. You may specify a name for the driver instance, if desired. If the name is left blank, the instance will take its name from the selected driver. Click 'Submit' to add the driver to the domotcl schedule. Some general drivers almost anybody will need are:
  • time (for generating time based events)
  • timer (for introducing delays)
  • event (for generating periodic events)
  • variable (for storing numbers)
  • string (for storing text)

Adding devices

Some drivers may automatically add a number of devices. Additional devices and subdevices can be added manually by right-clicking on a driver or device and selecting 'Add device'. Drivers may support multiple device types. Enter a name for the device, select the desired device type and enter the parameter values, if any. Then click 'Submit' to add the device to the domotcl schedule.

Creating actions

Devices usually generate events which can be used to trigger actions. To create a new action, right-click on the 'Actions' category in the component tree and select 'Add action'. Enter a name for the action, select whether the action should initially be enabled, and select 0 or more triggers for the action. Then click 'Submit' to add the action to the domotcl schedule.

When an action is selected in the component tree, the information pane will show the action code and provide buttons to modify the code. To change the triggers for an action, right-click on the action name in the component tree and select "Modify action".