Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] PnP Telemetry with semantic type geopoint not recognized #484

Open
rido-min opened this issue Jan 4, 2022 · 1 comment
Open

[BUG] PnP Telemetry with semantic type geopoint not recognized #484

rido-min opened this issue Jan 4, 2022 · 1 comment
Labels
backlog DTDL enhancement New feature or request Plug and Play Feature: Plug and Play related

Comments

@rido-min
Copy link
Member

rido-min commented Jan 4, 2022

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 rido-min added bug Something isn't working needs review Review required by team member labels Jan 4, 2022
@YingXue YingXue added enhancement New feature or request and removed bug Something isn't working needs review Review required by team member labels Jul 26, 2022
@YingXue
Copy link
Contributor

YingXue commented Jul 26, 2022

Relates to #433

@YingXue YingXue added the Plug and Play Feature: Plug and Play related label Aug 30, 2022
@YingXue YingXue added the DTDL label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog DTDL enhancement New feature or request Plug and Play Feature: Plug and Play related
Projects
None yet
Development

No branches or pull requests

2 participants