Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Following the detection of its non-renewal, it is positioned to "questionable" and the "OldData" detail is positioned in the gateway flag is to true and sent to the controlling centers only once through the north service.

When a new measured value is received again from the station, the measured value is then sent with its new value with the corresponding quality and ts. It's the reception of the first message for a measured value that triggers the non-renewal monitoring functionalitytimestamp.

Measured values cycling OK:

...

Measured values cycling failed:

Configuration

AttributeDescriptionExpected valuesMandatory
check_periodcycling check period, in secondsdefault = 30Yes

Configuration JSON structure

Code Block
languagejs
{
   "check_period":{
      "description":"cycling check period in seconds.",
      "type":"stringinteger",
      "default":"30",
      "order":"1",
      "displayName":"Check period"
   }
}

...

It uses the identification (attribute "PIVOTTMPIVOT.GTIM.Identifier") of the datapoint to obtain the context of the measured value in order to :

  • Update the date of reception of the measured value,
  • Know which measured value to read again in order to send the non-renewal message at the end of the timer.

The module uses the data PIVOTTMPIVOT.GTIM.Cause.stVal (at "cyclic") to determine if the measured value is configured as cyclic.

...

In case of non-renewal detection, the last measured value received by the module is re-read and the following values are overwritten :

  • PIVOTTMPIVOT.GTIM.MvTyp.q.DetailQuality.oldData is set to "true"
  • PIVOTTMPIVOT.GTIM.MvTyp.q.Validity is set to "questionable"
  • PIVOTTMPIVOT.GTIM.MvTyp.q.Source is set to "substituted"
  • PIVOTTMPIVOT.GTIM.MvTyp.t.SecondSinceEpoch is set to current gateway timestamp
  • PIVOTTMPIVOT.GTIM.MvTyp.t.TimeQuality FractionOfSecond is set to the quality fraction of the timestamp of the gateway (optional). current gateway second
  • PIVOTPIVOTTM.GTIM.TmOrg is set to "substituted"PIVOTTM
  • PIVOT.GTIM.TmValidity.stVal is set to to the quality of the timestamp "valid"
  • PIVOT of the gatewayPIVOTTM.GTIM.Cause.stVal is set to "3" (Spontaneous)


If it's impossible to obtain timestamp quality the timestamp of the gateway from Fledge :is unreliable then:

  • PIVOT.GTIM.MvTyp.t.TimeQuality.clockFailure is set to "true"
  • PIVOT.GTIM.TmValidity is set to "invalid"


If the timestamp of the gateway is is not synchronized with the external UTC time then:

  • PIVOT
  • The value valid is used for PIVOTTM.GTIM.TmValidity.stVal,
  • PIVOTTM.GTIM.MvTyp.t.TimeQualityattribute are not used..clockNotSynchronized is set to "true"
  • PIVOT.GTIM.TmValidity is set to "invalid"