Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
indigo_2025.1_documentation:variable_class [2026/02/12 14:12] – [Create] davel17indigo_2025.1_documentation:variable_class [2026/03/03 19:26] (current) davel17
Line 8: Line 8:
 |//''id''// integer  |the unique id of the variable, assigned on creation by IndigoServer| |//''id''// integer  |the unique id of the variable, assigned on creation by IndigoServer|
 |//''folderId''// integer  |the unique id of the folder this variable is in (0 if it's not in a folder) - use //''moveToFolder()''// method to change| |//''folderId''// integer  |the unique id of the folder this variable is in (0 if it's not in a folder) - use //''moveToFolder()''// method to change|
-|//''name''// string  |the name of the variable - no two variable can have the same name|+|//''name''// string  |the name of the variable - no two variable can have the same name and the name cannot contain whitespace|
 |//''readOnly''// string  |is the variable read only - currently only the //''isDaylight''// variable is read only| |//''readOnly''// string  |is the variable read only - currently only the //''isDaylight''// variable is read only|
 |//''remoteDisplay''// boolean  |should this variable be displayed in remote clients (IWS, Indigo Touch, etc)| |//''remoteDisplay''// boolean  |should this variable be displayed in remote clients (IWS, Indigo Touch, etc)|
Line 55: Line 55:
 ^  Parameters  ^^^^ ^  Parameters  ^^^^
 ^  Parameter  ^  Required  ^  Type  ^  Description  ^ ^  Parameter  ^  Required  ^  Type  ^  Description  ^
-|//''name''//|  Yes  |  string  |the name of the variable|+|direct parameter|  Yes  |  string  |the name of the variable|
 |//''value''// No  |  string  |the value of the variable| |//''value''// No  |  string  |the value of the variable|
 |//''folder''// No  |  integer  |id or instance of the folder in which to put the newly created device - defaults to 0 (no folder)| |//''folder''// No  |  integer  |id or instance of the folder in which to put the newly created device - defaults to 0 (no folder)|
Line 87: Line 87:
  
 ^  Command Syntax Examples  ^ ^  Command Syntax Examples  ^
-|<code>depDict = indigo.variable.getDependencies(123)</code>|+|<code>indigo.variable.getDependencies(123)</code>|
  
 ^  Parameters  ^^^^ ^  Parameters  ^^^^
  • /www/perceptive/wiki/data/attic/indigo_2025.1_documentation/variable_class.1770905579.txt.gz
  • Last modified: 2026/02/12 14:12
  • by davel17