Next: , Previous: , Up: Inputs, Outputs, and Bindings   [Contents]


6.8.2 output

Declare under <outputs>. Each entry becomes an STOutput. Attributes match <input> (see input); the only extra child is optional <override-timeout>.

<outputs>
  <output name="KitEastLight:switch"
          description="Kitchen east light"
          unit="onoff" min="0" max="1" step="1" val="0">
    <override-timeout>60s</override-timeout>
  </output>
</outputs>
name

Required. Unique among outputs.

description

Optional (default empty).

unit

Required. See unit attribute.

min / max / step / val

Required. Same meaning as on <input>.

flags

Optional. See flags attribute.

override-timeout

Optional child element (not an attribute). Duration after which a MANUAL_OVERRIDE on this output is cleared if the plant value still disagrees. Bare integer = milliseconds; or 60s / 5m / 1h / 1000ms. 0 or omitted = never auto-clear (see Command and Feedback). At most one such child; other children are rejected.