Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-14418

FIWARE.Question.Tech.Orion CB output regarding provisioned device.

    Details

      Description

      Created question in FIWARE Q/A platform on 17-07-2018 at 14:07
      Please, ANSWER this question AT https://stackoverflow.com/questions/51381033/orion-cb-output-regarding-provisioned-device

      Question:
      Orion CB output regarding provisioned device

      Description:
      I have noticed that upon querying Orion CB, while it is working with provisioned devices and having IoT Agent receive HTTP and MQTT messages, it will always output all the values written in the quotation marks:

      {
      "id": "sensor_data",
      "type": "Sensor",
      "ActiveTime": {
      "type": "Seconds",
      "value": "17703",
      "metadata": {
      "TimeInstant":

      { "type": "ISO8601", "value": "2018-07-04T13:32:27.357Z" }

      }
      },
      "Distance": {
      "type": "Number",
      "value": "312",
      "metadata": {
      "TimeInstant":

      { "type": "ISO8601", "value": "2018-07-04T13:32:27.413Z" }

      }
      }
      }

      However, if to work with only entities in Orion CB, it is possible to receive actual values (like in the example in the manual):

      {
      "id": "Room1",
      "pressure": {
      "metadata": {},
      "type": "Integer",
      "value": 720
      },
      "temperature": {
      "metadata": {},
      "type": "Float",
      "value": 23
      },
      "type": "Room"
      }

      Sometimes, I need to receive the actual value from my sensor in order to format it and use in further applications, but they are in quotation marks, which makes it a little difficult.
      Is it possible to somehow change?(maybe in device provisioning), or it really should be that way regarding devices?
      Thanks in advance!

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2018-07-17 15:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-07-17 15:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-07-19 00:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-07-19 00:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-07-19 03:06|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-07-19 03:06|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            jmcantera Jose Manuel Cantera
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: