Documentation
LCN_RequestStatus
boolean LCN_RequestStatus (int $InstanceID)
Parameters
InstanceID | ID of the module to query |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Queries the status of all outputs, relays and binary sensors of the module with ID InstanceID.
Example
// Get all the statuses of the module with ID 12345
LCN_RequestStatus(12345);