Skip to main content

Module collect

Module collect 

Source
Expand description

Downstream meter polling and aggregation (СТО 34.01-5.1-013-2023, §10).

The ИВКЭ, acting as a DLMS client to the meters, reads their attributes and stores the results in its aggregation cache so they can be served upstream without re-polling.

Functions§

poll_meter
Polls attributes of a meter over its downstream session and stores the successfully read values in the registry’s aggregation cache. Returns the number of attributes read successfully.

Type Aliases§

AttributeRef
A meter attribute to poll: (class_id, logical_name, attribute_id).