ISY Developers:API:V5:Appendix:Links

From Universal Devices, Inc. Wiki


ISY_Developers : API : V5 : Appendix : Links

Links

https://<isy>/rest/links/groups/38771

<groups>
   <group id="38771">
      <ctl id="ZW010_1">
         <rsp>
            <link type="default" node="ZW033_1"/>

            <link type="ignore" node="ZW017_1"/>

            <link linkdef="ZW_DIMMER" type="native" node="ZW099_1">
               <p id="OL">
                  <val uom="51" prec="0">85</val>
               </p>
               <p id="RR">
                  <val uom="25" prec="0">27</val>
               </p>
            </link>

            <link linkdef="ZW_CMD" type="native" node="ZW028_1" cmd="DON">
               <p id="OL">
                  <val uom="51" prec="0">85</val>
               </p>
               <p id="RR">
                  <val uom="25" prec="0">27</val>
               </p>
            </link>

            <link type="cmd" node="1 B7 32 1" cmd="DON">
               <p id="">
                  <val uom="51" prec="0">85</val>
               </p>
               <p id="RR">
                  <val uom="25" prec="0">27</val>
               </p>
            </link>
         </rsp>
      </ctl>
      ...
   </group>
</groups>
<group> id The node address of the ISY Group (scene)
<ctl> id The node address of the controller.
Note: can also be the group itself because it is also a controller.
<rsp> Contains all the responder links
<link> type The link type (native,cmd,default, or ignore)
node The ISY Address of the responder
linkdef The link definition (only for native links)
cmd The command (only for cmd links and native links using a command)
<p> id The parameter name
<val> uom The unit of measure of the value
prec The precision of the value (i.e. number of implied decimal places)