Azure / Azure/azure-iot-explorer
[BUG] PnP Telemetry with semantic type geopoint not recognized
- Dominant language
- TypeScript
- Stars
- 252
- Forks
- 85
- Avg merge
- 3h 32m
- Merged PRs (30d)
- 2
Description
Using a PnP interface with a telemetry schema `geopoint` and temperature:
```json
{
"@type": [
"Telemetry",
"Location"
],
"name": "location",
"schema": "geopoint"
},
{
"@type": [
"Telemetry",
"Temperature"
],
"name": "temperature",
"schema": "double",
"unit": "degreeCelsius"
}
```
Raw data shows the received payload
```json
{
"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.`

Contributor guide
Research direction
Reproduce the issue in the modeled events view using the supplied PnP model and raw payload. Trace how the `geopoint` telemetry named `location` is matched to the model, then verify that the modeled event recognizes it without showing the unmodeled-telemetry error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100