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

Publish observations as REC observations #8

Open
baardl opened this issue Jun 8, 2023 · 0 comments
Open

Publish observations as REC observations #8

baardl opened this issue Jun 8, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@baardl
Copy link
Contributor

baardl commented Jun 8, 2023

See https://github.com/RealEstateCore/rec/blob/main/API/Edge/edge_message_edge-to-cloud_example.json

{
  "format": "rec3.3",
  "deviceId": "https://recref.com/device/64b65a99-a53c-47f5-b959-1c7a641d82d8",
  "observations": [
    {
      "observationTime": "2019-05-27T20:07:44Z",
      "value": 16.1,
      "quantityKind": "https://w3id.org/rec/core/Temperature",
      "sensorId" : "https://recref.com/sensor/e0d5120b-90f1-48d6-a47f-f8ccd7727b04"
.....additional ObservationMessage data...
    }
  ],

Then challenge is how to align this with IoT Hub Telemetry Message

Will be implemented in https://github.com/Cantara/realestate-azure-client-lib/blob/main/src/main/java/no/cantara/realestate/azure/AzureObservationDistributionClient.java - publish method

@baardl baardl added the help wanted Extra attention is needed label Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant