In this release

 

New functionality

Device Coordinates

Devices (and subclasses Actuator and Sensor) have a new property hasGeoReferenceOrigo to store its coordinates. In case of large devices, the coordinate should mark the south western corner of the device. The property accepts three coordinates (latitude, longitude, altitude above sea level) separated with `;` and is not mandatory.

Delta Stream message improvement

The Delta Stream message is expanded with a new timestamp property operationCompleteTime – that indicates the time when a twin mutation operation (create/update/delete) is completed.

Delta Stream message example:

{
  “iris”:[“https://proptechos.com/api/realestate/25b7cf22-82bb-4415-95a9-e36965986226″,”<iri2>“,”<iri3>“],
  “operation”: “create”,
  “operationCompleteTime”: “2022-03-24T21:26:14.219Z
}

Sensor telemetry distribution

ProptechOS builds a statistical model of each sensor and how often it sends observations, to determine its edge status (not started, warming up, ok, warning, error).

ProptechOS now expose the distribution parameters (in seconds) of that statistical model:

  • distribution: The distribution, e..g “log-normal”
  • mu: The mu (𝜇) parameter of the distribution (in seconds)
  • sigma: The sigma (𝜎) parameter of the distribution (in seconds)
  • mean: The mean interval between observations (in seconds)

GET /api/sensor/{id}/telemetrydistribution
GET /api/json/sensor/{id}/telemetrydistribution

Breaking changes

None

Fixes and minor updated

None