/
Datapoint Monitor

Datapoint Monitor

Datapoints can be monitored by an IAP server so that the server can maintain a snapshot of the current state of all monitored datapoints. This snapshot can be used to quickly get the current state for a set of datapoints to be displayed on a web page, to be analyzed by an analytics application, or to be evaluated for a control application.

Datapoint values can be periodically polled, or can be received by event-driven delivery for protocols that support event-driven updates. 

URI Definition

Method       

URI and Fields

GET/iap/devs/{id}/if/{block}/{block_index}/{datapoint_name}/monitor

Returns the monitoring configuration for the specified datapoints. 

The following fields are returned: 

rateRequested monitoring rate for the specified datapoint. The value can be "none", "slow", "normal", "fast", "auto", or a number representing the requested monitoring interval, in seconds. Defaults to "slow" for non-property output datapoints, and "none" for property datapoints and input datapoints. If "slow", "normal", "fast", or a number is specified the edge protocol processor chooses an appropriate rate based the edge protocol, aggregate polling activity, and available resources. The "auto" setting requests the edge protocol processor to capture values automatically without frequent and periodic polling. The method used depend on the edge protocol. For example, for LON output datapoints, the LON protocol processor creates a LON connection to the protocol processor if