Torc
0.1
|
Torc is configured via an XML file. By design, the structure and format of this file is highly specific
All devices require a "<name>" tag that uniquely identifies that device. To that end, a name must be unique, must not be empty and for internal purposes can only contain alphanumeric characters (a-z, A-Z and 0-9) as well as '_' and '-',
Devices may also have "<username>" and "<userdescription>" tags. These do not affect the operation of the device and are used purely for a user friendly interface.
As well as the default device specifications, an input device must specify a default value and any type specific values (e.g. gpiopinnumber for a GPIO input).
Control devices provide the 'intelligence' to Torc's behaviour. They generally take one or more input values (from input devices or other control devices) and generate a different output value. Control devices can output to one or more other control devices , some notification devices and output devices.
Timer devices must have no inputs.
Transition devices must have exactly one input and must also specifiy a duration for the transition.