This function sets the base house code of the CP290 and it is used to define the house code of the 8 buttons on the interface. The command format is as follows:
}ID0 HouseCode
HouseCode is any one of the sixteen valid X-10 house codes: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O or P.
The Comm Engine will return the following data: {XX }ID0 {Y
Where:
XX = 0 if there was no error.
XX = 1 unsupported or illegal command.
XX = 5 command can't be executed because engine is offline.
XX = 8 invalid data (house code).
XX = 11 if the CP290 is not responding.
Y = 0 if the status of the CP290 indicates no data.
Y = 1 if the status of the CP290 indicates that it has been programmed.
Example: Set base house code to A. Command:
rc = CLWritePipe( '}ID0 A' )
Reply:
{0 }ID0 {1