Conditions¶
In the ZDM conditions are used in devices to notify some particular situations. A condition can be opened and then closed.
List of commands:
List conditions¶
To get all the conditions of a device use the command:
zdm workspace condition all workspace_id tag
where workspace_id
is the uid of the workspace and tag is the tag of the conditions
device_id
is the uid of the device
threshold
is the min duration of the conditions in seconds
You can also filter condition on status [open, closed], device_id, or duration:
--status
--device_id
--threshold