azure-iot-explorer icon indicating copy to clipboard operation
azure-iot-explorer copied to clipboard

[BUG] PnP Telemetry with semantic type geopoint not recognized

Open rido-min opened this issue 3 years ago • 1 comments

Using a PnP interface with a telemetry schema geopoint and temperature:

{
        "@type": [
            "Telemetry",
            "Location"
        ],
        "name": "location",
        "schema": "geopoint"
},
{
          "@type": [
                "Telemetry",
                "Temperature"
            ],
            "name": "temperature",
            "schema": "double",
            "unit": "degreeCelsius"
}

Raw data shows the received payload

{
  "body": {
    "location": {
      "lat": -114.0298,
      "lon": 34.5574,
      "alt": 657.8799
    },
    "temperature": 23
  },
  "enqueuedTime": "Tue Jan 04 2022 11:32:34 GMT-0800 (Pacific Standard Time)"
}

When trying to see the modeled events shows the error message:

This telemetry 'location' is not in the model. You may consider modeling it.

image

rido-min avatar Jan 04 '22 19:01 rido-min

Relates to #433

YingXue avatar Jul 26 '22 17:07 YingXue