Data Is Not Being Logged

Data Is Not Being Logged

The SmartServer data log is accessible through the CMS Datapoints widget, or through REST/WebSocket APIs. MQTT does not have access to the data log data.

If the SmartServer does not appear to be logging all data, then this usually means that you may be using the default logging setup. This setting is not correct and will usually mean gaps in log data. If you are using Value for Log Minimum Delta Value, then you must specify a numeric value.

Incorrect Setting Example

Default logging setup on the Datapoint Properties widget Monitoring and Logging Configuration tab (this configuration may result in gaps of data log data):

Correct Setting Example

Configuration for a numeric scalar datapoint (e.g, only logging temperature data if temperature value changes by one degree since the last logged data value):

Log Settings

  1. Structured datapoint – Log Minimum Delta Value must be changed to Always or On Any Change

  2. Scalar datapoints

    1. Number datapoint – Log Minimum Delta Value can be ValueAlways or On Any Change

      1. If you are using Value, then you must specify a numeric value as shown above.

        1. If you do not specify a numeric value, then you will get inconsistent or no log data.

    2. Enumerated datapoints (datapoints that are strings, such as HVAC_Auto) – Log Minimum Delta Value must be changed to Always or On Any Change