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


6.8.5 bind

Declare under <bindings>. Each datapoint may appear in at most one bind. An input may be bound once. An output may have at most one command bind and one feedback bind.

<bindings>
  <bind datapoint="temp-rounded" input="EX:temp"/>
  <bind datapoint="out-setpoint" output="EX:setpoint"/>
  <bind datapoint="out-mode-fb" output="EX:mode"
        role="feedback" settle-delay="5s"/>
</bindings>
datapoint

Required. Id of an existing datapoint.

input

Bind datapoint → STInput. Exactly one of input or output must be set.

output

Bind datapoint ↔ STOutput (command and/or feedback).

role

Optional on output binds: command (default) or feedback. role=feedback requires output= (not input=).

settle-delay

Only with role=feedback. Ignore command/feedback mismatches for this duration after a command write. Duration syntax matches override-timeout (bare ms, or s/m/h/ms suffix). Default 5s when omitted; 0 disables the settle window. see Command and Feedback.