|
|
|
|
|
DomoSwitchOff (Function) In french: DomoEteint Switches off one or more electrical devices compatible with the X10 protocol. These devices have been switched on by DomoSwitchOn or DomoSend. Note For the X10 powerline protocol to work properly, electrical continuity must be maintained between devices. For example, the transmission cannot pass through an insulation transformer.
IDConnexion is int
IDConnexion = DomoOpen("COM4", "A")
DomoSwitchOn(IDConnexion, "A3 A4")
...
DomoSwitchOff(IDConnexion, "A3 A4")
Syntax
<Result> = DomoSwitchOff(<Connection ID> , <Address>)
<Result>: Boolean - True if the electrical devices have been switched off,
- False otherwise (transmission error, device did not respond, etc.). If an error occurs, use ErrorInfo with the errMessage constant to get more details on the error.
<Connection ID>: Integer Identifier of the connection to use. This identifier is defined by DomoOpen. <Address>: Character string Address of the electrical devices (compatible with the X10 protocol) that must be switched off.The address format is as follows: <House code><Module code> Where: - <House code> corresponds to a letter found between A and P.
- <Module code> corresponds to a number found between 1 and 16.
For example: "A1", "B14". To specify several addresses, the addresses must be separated by a space character. For example: "A1 A3 B15".
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|