This function returns the status of the X10 interface. This can be used to determine if there is a connection or hardware problem with the configured X10 interface.
The status of other interface types may be obtained by calling the InterfaceStatus method on the interface object. See the plug-in collection object for more information.
None.
Return value: status
Type: integer
Description: This returns one of the following values:
0 = No Error.
1 = Error sending to the device, usually a timeout or no response from
the interface
.
2 = Init Error - the interface was not able to be initialized.
sub main()
dim status
status = hs.X10InterfaceStatus
hs.WriteLog "Info","The X10 Interface status is: "
& cstr(status)
end sub