ph_getx10stat PowerHome formula function
Description
Retrieves the current status of the specifed X10 Device ID.
Syntax
ph_getx10stat ( s )
Argument Description
s A string representing the X10 Device ID from which you wish to retrieve the level.
Return value
Integer. Returns the status associated with the specified X10 Device ID that PowerHome currently has stored. Valid values are 0 for Unknown, 1 for Off, and 2 for On. This is the equivalent of the system variable X10STAT## where ## is the house/unit code of the X10 device.