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

FIWARE.Question.Tech.Fiware ContextBroker Entity with Array.

    Details

      Description

      Created question in FIWARE Q/A platform on 23-04-2018 at 16:04
      Please, ANSWER this question AT https://stackoverflow.com/questions/49984023/fiware-contextbroker-entity-with-array

      Question:
      Fiware ContextBroker Entity with Array

      Description:
      Is it possible create an entity in Fiware, where a specific attribute will be send as an array? Something like that? Having multiple pressure sensors inside a room where I would like to receive them in one update?!

      So this is basically creating the Entity

      {
      "id": "Room1",
      "type": "Room",
      "temperature":

      { "value": 23, "type": "Float" }

      ,
      "pressure":

      { "value": 720, "type": "Integer" }

      }

      and I would like to receive updates in one update message with all pressure information inside this "Entity"

      {
      "id": "Room1",
      "type": "Room",
      "temperature":

      { "value": 23, "type": "Float" }

      ,
      "pressure": [

      { "value": 720, "type": "Integer" }

      ,

      { "value": 500, "type": "Integer" }

      ,
      ]
      }

      Thanks in advance!

      -pd

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2018-04-23 18:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-04-23 18:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-04-24 00:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

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

        2018-04-24 03:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-04-24 03:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: