Polisy Developers:ISY:API:Appendix:Link Definitions

From Universal Devices, Inc. Wiki


Polisy_Developers : ISY : API : Appendix : Link Definitions

Link Definitions

<linkdefs>
  <linkdef id="I_TSTAT" protocol="I_STD">
     <p id="CLISPH" editor="I_CLISPH_DEG"><init val="70.0" uom="F" /></p>
     <p id="CLISPC" editor="I_CLISPC_DEG"><init val="74.0" uom="F" /></p>
     <p id="CLIFS"  editor="I_TSTAT_FAN_MODE"><init val="0" uom="99" /></p>
     <p id="CLIMD"  editor="I_TSTAT_MODE"><init val="74.0" uom="98" /></p>
  </linkdef>
  ...
</linkdefs>
<linkDef> id Name of this link definition
protocol Name used to correlate compatibility between controllers and responders
<p> id Name of the link parameter.
editor The id of the editor to use for this parameter
<init> val The initial value to use for an new link
uom The unit of measure of the initial value
 <linkdefs>
    <linkdef id="ASSOC_CMD" protocol="ASSOC_CMD" cmd="true" />
    ...
 </linkdefs>
<linkDef> id Name of this link definition
protocol Name used to correlate compatibility between controllers and responders
cmd [True/False] If true then parameters cannot be specified, instead, the link contains a

native command defined in the <accepts> section of the node definition.