Had Customization: Advanced Customization Table - Universal Devices ISY-994i User Manual

Home automation
Hide thumbs Also See for ISY-994i:
Table of Contents

Advertisement

Then, you have to use processPgmButtons in UDFpgmLoaded in order to create buttons to
control the variable.
function UDFpgmLoaded(pgmdata, vars1def, vars2def, devdata)
{
...
// For each typeControl=Program: Updates the buttons when needed
processPgmButtons(pgmdata, vars1def, vars2def);
...
}
The logic behind this is that it takes too long to wait for all rest calls to complete. So the
page gets rendered as soon as /rest/nodes is finished with dummy buttons (in
UDFdevLoaded). Then, when programs and vars definitions are loaded, the buttons are
created in the background with the appropriate onclick.

21.4.3.3HAD Customization: Advanced customization table

21.4.3.3.1Custom device table options
• location: Name for a group of devices. (It does not have any relationship with ISY
folders)
• List:
o name: Name of the device. Has to match an ISY device name. (Required,
unless refreshOpt=="Pgm" or "Var")
o displayname: Use to override the device name displayed. (Default: name)
o control: Use to override the device to control. Can be a scene or another
device. (Default: name).
o refreshOpt: Use to control the refresh after a change.
▪ "Yes": Update only current item. (Default for devices)
▪ "All": Refresh all devices. (Default for scenes)
▪ "Pgm": If typeControl=="Pgm", you can use refreshOpt to display the
▪ "Var": If typeControl=="Pgm", you can have a variable be displayed
▪ "No": Do not refresh.
o typeControl: Can be "Dev", "Pgm" or "Var".
o if typeControl=="Dev", this means this is a device or Scene.
103
(Universal Devices)
Status of the pgm instead of a device. (Default for programs)
instead
103
Page | 554

Advertisement

Table of Contents
loading

Related Products for Universal Devices ISY-994i

Table of Contents