Subscribing to measurements from all devices and sensors - Xweather Insight

Vaisala Xweather Observe API Reference

Document code
M212980EN
Revision
B
ft:locale
en-US
Product
Xweather Insight
Document type
Technical description

You can subscribe to the following channel to receive measurements from all the devices and sensors published by the service.

/measurement-stream

Provide your API key as the user and leave the password empty.

No parameters are required.

Message

Example

[
  {
    "observedTime": "2023-05-12T14:49:00Z",
    "value": 1021.1,
    "sourceId": "urn:dev:ops:16961-WXT530-S4131016",
    "quality": {
      "qualityValue": 8500,
      "checkLevel": 1,
      "checkedAt": "2023-05-12T14:49:00Z",
      "qualityReasons": [
        {
          "name": "Level0.Unknown",
          "description": "ACCEPTED by the measurement device."
        }
      ]
    },
    "measurementType": {
      "parameter": "AIR_PRESSURE",
      "unit": "HECTOPASCALS",
      "statistics": "MEAN",
      "period": "PT1M",
      "height": 2,
      "dataLevel": "LEVEL_TWO"
    }
  }
]