ph_zwaveget PowerHome formula function
Description
Queues a request with the Z-Wave controller
to retrieve the current status of the specified
Z-Wave device
Syntax
ph_zwaveget ( as_id )
Argument | Description |
as_id | String. The ID of the Z-Wave device whose
status you would like the controller to request |
Return value
Integer. Returns 0 if the
request was successfully queued in the associated Z-Wave controller.
Returns -100 if the Z-Wave ID
is invalid. Returns -1 if the associated controller is not active.
Returns -51 if the command is not supported. Returns -52, -53, -54 if internal
parameters for the command are
out of range
Usage
Use
this function to have a Z-Wave controller
request the current status for a Z-Wave
device.
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_zwaveget("FRONTDOOR") - Returns 0
if the request for status for the Z-Wave device identified by FRONTDOOR is
successfully queued in the controller. It is up to the controller as to when
this request is actually realized as Z-Wave commands being transmitted to
request
status