ph_getinsteonctrl PowerHome formula function
Description
Retrieves operating parameters for the Insteon SDM controller.
Syntax
ph_getinsteonctrl ( id, parm )
Argument |
Description |
id
|
String. The ID of the Insteon SDM controller.
|
parm
|
String. The parameter you wish to set.
|
Return value
Integer. Returns the value of the parameter if successful. Returns - 1 if the controller ID cannot be found, returns - 100 if the parm parameter is not valid.
Usage
Use this function to retrieve the current operating parameters of the specified Insteon SDM controller. Parameters must be a string (enclosed by single or double quotes). Valid parameters are:
pollinterval - Poll Interval. Returned value is the poll interval in seconds.
statusscan - Status Scan. Returned value is 0 for disabled and 1 for enabled.
lrxscan - Level / Ramprate / X10 Scan. Returned value is 0 for disabled and 1 for enabled.
lrxwrite - Level / Ramprate / X10 Write. Returned value is 0 for disabled and 1 for enabled.
linkscan - Link Scan. Returned value is 0 for disabled and 1 for enabled.
maxfailures - Max Failures. Returned value is the maximum number of failures allowed before a device is flagged as failed.
plcgroupcu - PLC Group Cleanup messages. Returned value is 0 for disabled and 1 for enabled.
ackupdate - Update on ACK's. Returned value is 0 for disabled and 1 for enabled.
linkspider - Allow Link Spidering. Returned value is 0 for disabled and 1 for enabled.
echofile - Echo raw log to File. Returned value is
0 for disabled and 1 for enabled.